ADTF  3.18.2
cTypeabstract

Base class for types. More...

Inheritance diagram for cType:
[legend]

Public Member Functions

virtual std::string GetName () const =0
 
virtual size_t GetSize () const =0
 
virtual size_t GetAlignment () const =0
 

Detailed Description

Base class for types.

Definition at line 85 of file type_reflection_legacy.h.

Member Function Documentation

◆ GetAlignment()

virtual size_t GetAlignment ( ) const
pure virtual
Returns
The default alignment of the type.

Implemented in structure< void >, cStructureType, cEnumerationType, and arithmetic_type< Type >.

◆ GetName()

virtual std::string GetName ( ) const
pure virtual
Returns
The name of the type.

Implemented in cStructureType, cEnumerationType, and arithmetic_type< Type >.

◆ GetSize()

virtual size_t GetSize ( ) const
pure virtual
Returns
The size of the type.

Implemented in structure< void >, cStructureType, cEnumerationType, and arithmetic_type< Type >.