Page History
...
Panel |
---|
Class TransitionIdPython wrapper for pdsdata/xtc/TransitionId class. C++ class does not define any data members or methods, it only defines single enum type. C++ cannot be instantiated in any meaningful way. Python class in addition to defining corresponding enum constants can also be instantiated, the instances are regular integer numbers with additional printing enhancements. Enum ValueUnlike other enum types which create separate new type inside original Python type, the enums in TransitionId class are defined directly in the class. Known enums:
ConstructionUsage: Arguments:
Method __str__Usage: Returns a name of the corresponding enum. Method __repr__Usage: Returns a string in the form "<TransitionId(num):name>" where num and name are the value and the name of the corresponding enum. |
...
Panel | ||
---|---|---|
Class TypeIdPython wrapper for pdsdata/xtc/TypeId class. In addition to methods described here the class also defines Enum TypeThis enum is an embedded type of
Construction
Arguments:
Method value()Usage: Returns the whole type ID number including version as integer number. Method id()Usage: Returns the type ID number without version as enum object of Method version()Usage: Returns the type ID version number as integer number. |
...
Panel |
---|
Class XtcPython wrapper for pdsdata/xtc/Xtc class. In addition to methods described below this class implements Python iterator interface. Instance can be used as iterator only when its ConstructionThis class cannot be instantiated directly, methods of other classes return instances of this type. Property damageUsage: Returns damage bitmask as an object of Property srcUsage: Returns data source object. Depending on the source level the type of the returned object will be one of Property containsUsage: Returns the type of the object contained in XTC as object od Property extentUsage: Returns the extent (total size) of the XTC. Method sizeofPayload()Usage: Returns the size of payload object. Method payload()Usage: Returns data object. If |