gensrc.types.fulltype.FullType Class Reference
Inheritance diagram for gensrc.types.fulltype.FullType:
Collaboration diagram for gensrc.types.fulltype.FullType:

Public Member Functions

def value (self)
 public interface More...
 
def nativeType (self)
 
def superType (self)
 
def conversionSuffix (self)
 
def memberAccess (self)
 
def namespace (self)
 
def classname (self)
 
def objectReference (self)
 
def __init__ (self, dataType, superType)
 

Public Attributes

 value_
 
 nativeType_
 
 superType_
 
 conversionSuffix_
 
 memberAccess_
 
 objectReference_
 

Static Public Attributes

 namespace_ = None
 class variables
 
 classname_ = None
 
 RE_NAMESPACE = re.compile('(.*)::(.*)')
 

Detailed Description

A class to merge the properties of DataType and SuperType.

Where the same property is implemented in both DataType and SuperType,
the value in the SuperType object is taken as a default and the
corresponding value (if defined) in the DataType object as an override.

Constructor & Destructor Documentation

◆ __init__()

def gensrc.types.fulltype.FullType.__init__ (   self,
  dataType,
  superType 
)
Initialize the FullType object, deriving its properties from
the input DataType and SuperType objects.

Member Function Documentation

◆ classname()

def gensrc.types.fulltype.FullType.classname (   self)
Return the class of the specified datatype.

◆ conversionSuffix()

def gensrc.types.fulltype.FullType.conversionSuffix (   self)
Return the string which is to be suffixed to the variable name
after datatype conversion is performed.

◆ memberAccess()

def gensrc.types.fulltype.FullType.memberAccess (   self)
Return the operator used to access members
of variables of the specified type.

◆ namespace()

def gensrc.types.fulltype.FullType.namespace (   self)
Return the namespace for variables of the specified datatype.

◆ nativeType()

def gensrc.types.fulltype.FullType.nativeType (   self)
Return the native datatype.

◆ objectReference()

def gensrc.types.fulltype.FullType.objectReference (   self)
Return a boolean indicating whether or not variables of the
specified datatype comprise references to objects.

◆ superType()

def gensrc.types.fulltype.FullType.superType (   self)
Return the supertype.

◆ value()

def gensrc.types.fulltype.FullType.value (   self)

public interface

Return the type.

The documentation for this class was generated from the following file:
  • fulltype.py