#include <cppType.h>
Inheritance diagram for CPPType:
Public Types | |
typedef vector< CPPTypedef * > | Typedefs |
Public Member Functions | |
CPPType (const CPPFile &file) | |
virtual CPPType * | resolve_type (CPPScope *current_scope, CPPScope *global_scope) |
virtual bool | is_tbd () const |
bool | has_typedef_name () const |
string | get_typedef_name (CPPScope *scope=NULL) const |
virtual string | get_simple_name () const |
virtual string | get_local_name (CPPScope *scope=NULL) const |
virtual string | get_fully_scoped_name () const |
virtual string | get_preferred_name () const |
virtual bool | is_incomplete () const |
virtual bool | is_equivalent (const CPPType &other) const |
void | output_instance (ostream &out, const string &name, CPPScope *scope) const |
virtual void | output_instance (ostream &out, int indent_level, CPPScope *scope, bool complete, const string &prename, const string &name) const |
virtual CPPType * | as_type () |
Static Public Member Functions | |
CPPType * | new_type (CPPType *type) |
void | record_preferred_name_for (const CPPType *type, const string &name) |
string | get_preferred_name_for (const CPPType *type) |
Public Attributes | |
Typedefs | _typedefs |
CPPTypeDeclaration * | _declaration |
Protected Types | |
typedef set< CPPType *, CPPTypeCompare > | Types |
typedef map< string, string > | PreferredNames |
Static Protected Attributes | |
Types | _types |
PreferredNames | _preferred_names |
|
|
|
|
|
|
|
Definition at line 37 of file cppType.cxx. References _declaration, and NULL. |
|
Reimplemented from CPPDeclaration. Reimplemented in CPPTypeProxy. Definition at line 221 of file cppType.cxx. |
|
Reimplemented in CPPExtensionType, CPPTBDType, and CPPTypeProxy. Definition at line 132 of file cppType.cxx. References get_local_name(). Referenced by CPPTypeProxy::get_fully_scoped_name(). |
|
|
Reimplemented in CPPSimpleType, and CPPTypeProxy. Definition at line 147 of file cppType.cxx. References get_local_name(), and get_preferred_name_for(). Referenced by CPPTypeProxy::get_preferred_name(). |
|
Definition at line 283 of file cppType.cxx. References _preferred_names, and type. Referenced by get_preferred_name(). |
|
Reimplemented in CPPExtensionType, CPPTBDType, and CPPTypeProxy. Definition at line 107 of file cppType.cxx. References get_local_name(). Referenced by CPPTypeProxy::get_simple_name(), and InterfaceMakerPythonObj::write_class_wrapper(). |
|
Reimplemented in CPPTypeProxy. Definition at line 90 of file cppType.cxx. References _typedefs. Referenced by CPPTypeProxy::get_typedef_name(). |
|
Reimplemented in CPPTypeProxy. Definition at line 78 of file cppType.cxx. References _typedefs. Referenced by CPPTypeProxy::has_typedef_name(). |
|
Reimplemented in CPPArrayType, CPPConstType, CPPExtensionType, CPPPointerType, and CPPReferenceType. Definition at line 177 of file cppType.cxx. References CPPDeclaration::get_subtype(), and CPPDeclaration::is_equal(). Referenced by CPPReferenceType::is_equivalent(), CPPPointerType::is_equivalent(), CPPExtensionType::is_equivalent(), CPPConstType::is_equivalent(), CPPArrayType::is_equivalent(), and CPPFunctionType::is_equivalent_function(). |
|
Reimplemented in CPPEnumType, CPPExtensionType, CPPStructType, and CPPTypeProxy. Definition at line 163 of file cppType.cxx. Referenced by CPPScope::define_extension_type(), and CPPTypeProxy::is_incomplete(). |
|
Reimplemented in CPPArrayType, CPPConstType, CPPExtensionType, CPPFunctionType, CPPPointerType, CPPReferenceType, CPPSimpleType, CPPTBDType, and CPPTypeProxy. Definition at line 65 of file cppType.cxx. Referenced by CPPTypeProxy::is_tbd(), CPPReferenceType::is_tbd(), CPPPointerType::is_tbd(), CPPFunctionType::is_tbd(), CPPConstType::is_tbd(), CPPArrayType::is_tbd(), and CPPParameterList::resolve_type(). |
|
|
Reimplemented in CPPArrayType, CPPConstType, CPPFunctionType, CPPPointerType, CPPReferenceType, and CPPTypeProxy. Definition at line 207 of file cppType.cxx. References CPPDeclaration::output(). |
|
|
Definition at line 266 of file cppType.cxx. References _preferred_names, and type. Referenced by CPPTypedef::CPPTypedef(). |
|
|
Definition at line 82 of file cppType.h. Referenced by CPPType(), and CPPTypeDeclaration::CPPTypeDeclaration(). |
|
Definition at line 24 of file cppType.cxx. Referenced by get_preferred_name_for(), and record_preferred_name_for(). |
|
Definition at line 47 of file cppType.h. Referenced by CPPTypedef::CPPTypedef(), get_typedef_name(), has_typedef_name(), CPPStructType::output(), CPPExtensionType::output(), and CPPEnumType::output(). |
|
Definition at line 23 of file cppType.cxx. Referenced by new_type(). |