Trees | Indices | Help |
|
---|
|
object --+ | declaration.declaration_t --+ | enumeration_t
describes C++ enum
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
list |
values A list of tuples (valname(str), valnum(int)) that contain the enumeration values. |
byte_size Size of this class in bytes @type: int |
|
byte_align Alignment of this class in bytes @type: int |
|
Inherited from |
Method Details |
creates class that describes C++ enum declaration The items of the list 'values' may either be strings containing the enumeration value name or tuples (name, numvalue).
|
function will return true, if both declarations refers to the same object. This function could be implemented in terms of _get__cmp__data, but in this case it will downgrade performance. self.mangled property is not compared, because it could be chaned from one compilation time to an other.
|
Append another enumeration value to the enum. The numeric value may be None in which case it is automatically determined by increasing the value of the last item. When the 'values' attribute is accessed the resulting list will be in the same order as append_value() was called.
|
Check if this enum has a particular name among its values.
|
return list of all types and declarations the declaration depends on
|
Property Details |
valuesA list of tuples (valname(str), valnum(int)) that contain the enumeration values.
|
byte_sizeSize of this class in bytes @type: int
|
byte_alignAlignment of this class in bytes @type: int
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 20 08:51:05 2008 | http://epydoc.sourceforge.net |