The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cma.AssimCclasses.pyIntFrame Class Reference
Inheritance diagram for cma.AssimCclasses.pyIntFrame:
Collaboration diagram for cma.AssimCclasses.pyIntFrame:

Public Member Functions

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

Additional Inherited Members

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

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 842 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 847 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 859 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 864 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 868 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 878 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 872 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: