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

CPPTypedef Class Reference

#include <cppTypedef.h>

Inheritance diagram for CPPTypedef:

CPPInstance CPPDeclaration List of all members.

Public Member Functions

 CPPTypedef (CPPInstance *instance, bool global)
virtual CPPDeclarationsubstitute_decl (SubstDecl &subst, CPPScope *current_scope, CPPScope *global_scope)
virtual void output (ostream &out, int indent_level, CPPScope *scope, bool complete) const
virtual SubType get_subtype () const
virtual CPPTypedef * as_typedef ()

Constructor & Destructor Documentation

CPPTypedef::CPPTypedef CPPInstance instance,
bool  global
 

Definition at line 35 of file cppTypedef.cxx.

References CPPInstance::_type, CPPType::_typedefs, assert, CPPInstance::get_local_name(), NULL, and CPPType::record_preferred_name_for().

Referenced by substitute_decl().


Member Function Documentation

CPPTypedef * CPPTypedef::as_typedef  )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 93 of file cppTypedef.cxx.

CPPDeclaration::SubType CPPTypedef::get_subtype  )  const [virtual]
 

Reimplemented from CPPInstance.

Definition at line 83 of file cppTypedef.cxx.

References CPPDeclaration::ST_typedef.

void CPPTypedef::output ostream out,
int  indent_level,
CPPScope scope,
bool  complete
const [virtual]
 

Reimplemented from CPPInstance.

Definition at line 72 of file cppTypedef.cxx.

References CPPInstance::output().

CPPDeclaration * CPPTypedef::substitute_decl SubstDecl subst,
CPPScope current_scope,
CPPScope global_scope
[virtual]
 

Reimplemented from CPPInstance.

Definition at line 54 of file cppTypedef.cxx.

References CPPDeclaration::as_instance(), CPPDeclaration::as_typedef(), assert, CPPInstance::CPPInstance(), CPPTypedef(), current_scope, global_scope, NULL, and CPPInstance::substitute_decl().


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