gensrc.types.datatype.DataType Class Reference
Inheritance diagram for gensrc.types.datatype.DataType:
Collaboration diagram for gensrc.types.datatype.DataType:
Public Member Functions | |
def | value (self) |
public interface More... | |
def | nativeType (self) |
def | defaultSuperType (self) |
def | serialize (self, serializer) |
serializer interface More... | |
def | postSerialize (self) |
Public Attributes | |
name_ | |
Static Public Attributes | |
string | groupName_ = 'DataTypes' |
class variables | |
Detailed Description
A class to contain all of the information that gensrc requires for a type such as a native C++ type or a user defined class.
Member Function Documentation
◆ defaultSuperType()
def gensrc.types.datatype.DataType.defaultSuperType | ( | self | ) |
Return the default supertype that is configured for this datatype.
◆ nativeType()
def gensrc.types.datatype.DataType.nativeType | ( | self | ) |
Return the underlying native type that corresponds to the given data type.
◆ postSerialize()
def gensrc.types.datatype.DataType.postSerialize | ( | self | ) |
Invoke any post serialization behavior that may be required.
◆ serialize()
def gensrc.types.datatype.DataType.serialize | ( | self, | |
serializer | |||
) |
serializer interface
Load/unload class state to/from serializer object.
◆ value()
def gensrc.types.datatype.DataType.value | ( | self | ) |
public interface
Return the data type.
The documentation for this class was generated from the following file:
- datatype.py