Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CPPTypeProxy Class Reference

#include <cppTypeProxy.h>

Inheritance diagram for CPPTypeProxy:

CPPType CPPDeclaration List of all members.

Public Member Functions

 CPPTypeProxy ()
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 void output_instance (ostream &out, int indent_level, CPPScope *scope, bool complete, const string &prename, const string &name) const
virtual void output (ostream &out, int indent_level, CPPScope *scope, bool complete) const
virtual SubType get_subtype () const
virtual CPPType * as_type ()
virtual CPPSimpleType * as_simple_type ()
virtual CPPPointerType * as_pointer_type ()
virtual CPPReferenceType * as_reference_type ()
virtual CPPArrayType * as_array_type ()
virtual CPPConstType * as_const_type ()
virtual CPPFunctionType * as_function_type ()
virtual CPPExtensionType * as_extension_type ()
virtual CPPStructType * as_struct_type ()
virtual CPPEnumType * as_enum_type ()
virtual CPPTBDType * as_tbd_type ()
virtual CPPTypeProxy * as_type_proxy ()

Public Attributes

CPPType * _actual_type

Constructor & Destructor Documentation

CPPTypeProxy::CPPTypeProxy (   ) 
 

Definition at line 29 of file cppTypeProxy.cxx.

References _actual_type, and NULL.


Member Function Documentation

CPPArrayType * CPPTypeProxy::as_array_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 279 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_array_type(), and NULL.

CPPConstType * CPPTypeProxy::as_const_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 292 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_const_type(), and NULL.

CPPEnumType * CPPTypeProxy::as_enum_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 344 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_enum_type(), and NULL.

CPPExtensionType * CPPTypeProxy::as_extension_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 318 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_extension_type(), and NULL.

CPPFunctionType * CPPTypeProxy::as_function_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 305 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_function_type(), and NULL.

CPPPointerType * CPPTypeProxy::as_pointer_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 253 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_pointer_type(), and NULL.

CPPReferenceType * CPPTypeProxy::as_reference_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 266 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_reference_type(), and NULL.

CPPSimpleType * CPPTypeProxy::as_simple_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 240 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_simple_type(), and NULL.

CPPStructType * CPPTypeProxy::as_struct_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 331 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_struct_type(), and NULL.

CPPTBDType * CPPTypeProxy::as_tbd_type (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 357 of file cppTypeProxy.cxx.

References _actual_type, CPPDeclaration::as_tbd_type(), and NULL.

CPPType * CPPTypeProxy::as_type (   )  [virtual]
 

Reimplemented from CPPType.

Definition at line 227 of file cppTypeProxy.cxx.

References _actual_type, and NULL.

CPPTypeProxy * CPPTypeProxy::as_type_proxy (   )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 370 of file cppTypeProxy.cxx.

string CPPTypeProxy::get_fully_scoped_name (   )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 137 of file cppTypeProxy.cxx.

References _actual_type, CPPType::get_fully_scoped_name(), and NULL.

string CPPTypeProxy::get_local_name (  CPPScope *  scope = NULL  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 123 of file cppTypeProxy.cxx.

References _actual_type, CPPType::get_local_name(), and NULL.

string CPPTypeProxy::get_preferred_name (   )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 155 of file cppTypeProxy.cxx.

References _actual_type, CPPType::get_preferred_name(), and NULL.

string CPPTypeProxy::get_simple_name (   )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 108 of file cppTypeProxy.cxx.

References _actual_type, CPPType::get_simple_name(), and NULL.

CPPDeclaration::SubType CPPTypeProxy::get_subtype (   )  const [virtual]
 

Implements CPPDeclaration.

Definition at line 217 of file cppTypeProxy.cxx.

References CPPDeclaration::ST_type_proxy.

string CPPTypeProxy::get_typedef_name (  CPPScope *  scope = NULL  )  const
 

Reimplemented from CPPType.

Definition at line 91 of file cppTypeProxy.cxx.

References _actual_type, CPPType::get_typedef_name(), and NULL.

bool CPPTypeProxy::has_typedef_name (   )  const
 

Reimplemented from CPPType.

Definition at line 76 of file cppTypeProxy.cxx.

References _actual_type, CPPType::has_typedef_name(), and NULL.

bool CPPTypeProxy::is_incomplete (   )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 169 of file cppTypeProxy.cxx.

References _actual_type, CPPType::is_incomplete(), and NULL.

bool CPPTypeProxy::is_tbd (   )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 60 of file cppTypeProxy.cxx.

References _actual_type, CPPType::is_tbd(), and NULL.

void CPPTypeProxy::output (  ostream &  out,
int  indent_level,
CPPScope *  scope,
bool  complete
)  const [virtual]
 

Implements CPPDeclaration.

Definition at line 202 of file cppTypeProxy.cxx.

References _actual_type, NULL, and CPPDeclaration::output().

void CPPTypeProxy::output_instance (  ostream &  out,
int  indent_level,
CPPScope *  scope,
bool  complete,
const string &  prename,
const string &  name
)  const [virtual]
 

Reimplemented from CPPType.

Definition at line 185 of file cppTypeProxy.cxx.

References _actual_type, NULL, and CPPType::output_instance().

CPPType * CPPTypeProxy::resolve_type (  CPPScope *  current_scope,
CPPScope *  global_scope
)  [virtual]
 

Reimplemented from CPPType.

Definition at line 44 of file cppTypeProxy.cxx.

References _actual_type, and NULL.


Member Data Documentation

CPPType* CPPTypeProxy::_actual_type
 

Definition at line 75 of file cppTypeProxy.h.

Referenced by as_array_type(), as_const_type(), as_enum_type(), as_extension_type(), as_function_type(), as_pointer_type(), as_reference_type(), as_simple_type(), as_struct_type(), as_tbd_type(), as_type(), CPPTypeProxy(), get_fully_scoped_name(), get_local_name(), get_preferred_name(), get_simple_name(), get_typedef_name(), has_typedef_name(), is_incomplete(), is_tbd(), output(), output_instance(), and resolve_type().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:34:55 2003 for DTool by doxygen1.3