| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
declaration.declaration_t --+
|
scopedef.scopedef_t --+
|
class_t
describes class definition
| Nested Classes | |
|
Inherited from |
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
USE_DEMANGLED_AS_NAME = True
|
|
|
Inherited from |
|
| Properties | |
|
class_type describes class type |
|
|
bases list of base classes |
|
|
recursive_bases list of all base classes |
|
|
derived list of derived classes |
|
|
recursive_derived list of all derive classes |
|
|
is_abstract describes whether class abstract or not |
|
|
public_members list of all public members |
|
|
private_members list of all private members |
|
|
protected_members list of all protected members |
|
|
aliases List of aliases to this instance |
|
|
byte_size Size of this class in bytes @type: int |
|
|
byte_align Alignment of this class in bytes @type: int |
|
|
container_traits reference to container traits or None
|
|
|
Inherited from Inherited from |
|
| Method Details |
creates class that describes C++ class definition
|
Default __str__ method. This version just returns the decl_string and the class. Derived classes may override this method to provide more detailed information. A __str__ method for a declaration should always provide enough information so that it uniquely identifies the declaration and the user is able to find the declaration in his source code.
|
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.
|
returns list of members according to access type If access equals to None, then returned list will contain all members. You should not modify the list content, otherwise different optimization data will stop work and may to give you wrong results.
|
adds new declaration to the class
|
removes decl from members list
|
returns member access type
|
return list of all types and declarations the declaration depends on
|
| Property Details |
class_typedescribes class type
|
baseslist of base classes
|
recursive_baseslist of all base classes |
derivedlist of derived classes
|
recursive_derivedlist of all derive classes |
is_abstractdescribes whether class abstract or not
|
public_memberslist of all public members
|
private_memberslist of all private members
|
protected_memberslist of all protected members
|
aliasesList of aliases to this instance
|
byte_sizeSize of this class in bytes @type: int
|
byte_alignAlignment of this class in bytes @type: int
|
container_traitsreference to |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Oct 20 09:00:18 2008 | http://epydoc.sourceforge.net |