CMS 3D CMS Logo

Public Member Functions | Private Member Functions

Types::uint32 Class Reference

List of all members.

Public Member Functions

def insertInto

Private Member Functions

def _isValid
def _valueFromString

Detailed Description

Definition at line 46 of file Types.py.


Member Function Documentation

def Types::uint32::_isValid (   value) [private]

Definition at line 48 of file Types.py.

00049                        :
00050         return ((isinstance(value,int) and value >= 0) or
                (isinstance(value,long) and value >= 0) and value <= 0xFFFFFFFF)
def Types::uint32::_valueFromString (   value) [private]
only used for cfg-parsing

Definition at line 52 of file Types.py.

00053                                :
00054         """only used for cfg-parsing"""
00055         if len(value) >1 and '0x' == value[:2]:
00056             return uint32(long(value,16))
        return uint32(long(value))
def Types::uint32::insertInto (   self,
  parameterSet,
  myname 
)

Definition at line 57 of file Types.py.

00058                                               :
00059         parameterSet.addUInt32(self.isTracked(), myname, self.value())
00060 
00061