DataTypePtr Class Reference

#include <datatypebase.h>

Public Member Functions

 DataTypePtr ()=default
 
MAXON_IMPLICIT DataTypePtr (const DataType &type)
 
 DataTypePtr (const DataTypeImpl *type)
 
 operator const DataType & () const
 
const DataTypeGet () const
 
const DataTypeImploperator-> () const
 
const DataTypeImplPrivateGetPointer () const
 
 operator Bool () const
 
Bool operator== (const DataTypePtr &other) const
 
Bool operator!= (const DataTypePtr &other) const
 
HashInt GetHashCode () const
 
void Reset ()
 

Private Attributes

const DataTypeImpl_ptr
 

Constructor & Destructor Documentation

◆ DataTypePtr() [1/2]

DataTypePtr ( )
default

◆ DataTypePtr() [2/2]

DataTypePtr ( const DataTypeImpl type)
explicit

Member Function Documentation

◆ operator const DataType &()

operator const DataType & ( ) const

◆ Get()

const DataType& Get ( ) const

◆ operator->()

const DataTypeImpl* operator-> ( ) const

◆ PrivateGetPointer()

const DataTypeImpl* PrivateGetPointer ( ) const

◆ operator Bool()

operator Bool ( ) const
explicit

◆ operator==()

Bool operator== ( const DataTypePtr other) const

◆ operator!=()

Bool operator!= ( const DataTypePtr other) const

◆ GetHashCode()

HashInt GetHashCode ( ) const

◆ Reset()

void Reset ( )

Member Data Documentation

◆ _ptr

const DataTypeImpl* _ptr
private