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

Public Member Functions

def __init__ (self, frametype, initval=None, intbytes=4, Cstruct=None)
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__ (self, initval, Cstruct=None)
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__ (self, Cstruct=None)
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 1335 of file

Constructor & Destructor Documentation

def cma.AssimCclasses.pyIntFrame.__init__ (   self,
  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 1340 of file

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 1352 of file

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 1357 of file

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 1361 of file

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 1371 of file

References cma.AssimCclasses.pyAssimObj._Cstruct.

def cma.AssimCclasses.pyIntFrame.setint (   self,
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 1365 of file

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: