The Assimilation Project  based on Assimilation version 1.1.2.1454953989
cma.AssimCclasses.pyIntFrame Class Reference
Inheritance diagram for cma.AssimCclasses.pyIntFrame:
Collaboration diagram for cma.AssimCclasses.pyIntFrame:

Public Member Functions

def __init__
 
def __int__ (self)
 
def __str__ (self)
 
def getint (self)
 
def setint (self, intval)
 
def intlength (self)
 
- Public Member Functions inherited from cma.AssimCclasses.pyFrame
def __init__
 
def frametype (self)
 
def framelen (self)
 
def framevalue (self)
 
def frameend (self)
 
def dataspace (self)
 
def isvalid (self)
 
def setvalue (self, value)
 
def dump (self, prefix)
 
def __str__ (self)
 
- Public Member Functions inherited from cma.AssimCclasses.pyAssimObj
def __init__
 
def cclassname (self)
 
def __str__ (self)
 
def __del__ (self)
 
def refcount (self)
 

Additional Inherited Members

- Static Public Member Functions inherited from cma.AssimCclasses.pyFrame
def Cstruct2Frame (frameptr)
 

Detailed Description

This class represents the Python version of our IntFrame C-class
- represented by the struct _IntFrame.
This class represents an integer of 1, 2, 3, 4 or 8 bytes.

Definition at line 1315 of file AssimCclasses.py.

Constructor & Destructor Documentation

def cma.AssimCclasses.pyIntFrame.__init__ (   self,
  frametype,
  initval = None,
  intbytes = 4,
  Cstruct = None 
)
Constructor for pyIntFrame object
- initial value should be something that looks a lot like an integer

Definition at line 1320 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, intframe_new(), _IntFrame.setint, _ConfigContext.setint, and cma.AssimCclasses.pyIntFrame.setint().

Here is the call graph for this function:

Member Function Documentation

def cma.AssimCclasses.pyIntFrame.__int__ (   self)
Return the integer value of this pyIntFrame. (implemented by the
underlying IntFrame object)

Definition at line 1332 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct, and cma.AssimCclasses.pyIntFrame.getint().

Here is the call graph for this function:

def cma.AssimCclasses.pyIntFrame.__str__ (   self)

Definition at line 1337 of file AssimCclasses.py.

References _FrameTypeToFrame.frametype, and cma.AssimCclasses.pyFrame.frametype().

Here is the call graph for this function:

def cma.AssimCclasses.pyIntFrame.getint (   self)

Definition at line 1341 of file AssimCclasses.py.

Referenced by cma.AssimCclasses.pyConfigContext.__getitem__(), and cma.AssimCclasses.pyIntFrame.__int__().

Here is the caller graph for this function:

def cma.AssimCclasses.pyIntFrame.intlength (   self)
Return the number of bytes in the integer underlying this pyIntFrame object.
   (implemented by underlying IntFrame object)

Definition at line 1351 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyIntFrame.setint (   self,
  intval 
)
Set the value of this pyIntFrame to the given integer value.
Note that this value is range checked by the underlying IntFrame implementation.

Definition at line 1345 of file AssimCclasses.py.

References cma.AssimCclasses.pyAssimObj._Cstruct.

Referenced by cma.AssimCclasses.pyIntFrame.__init__(), and cma.AssimCclasses.pyConfigContext.__setitem__().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: