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

CPPTBDType Class Reference

#include <cppTBDType.h>

Inheritance diagram for CPPTBDType:

CPPType CPPDeclaration List of all members.

Public Member Functions

 CPPTBDType (CPPIdentifier *ident)
virtual CPPTyperesolve_type (CPPScope *current_scope, CPPScope *global_scope)
virtual bool is_tbd () const
virtual string get_simple_name () const
virtual string get_local_name (CPPScope *scope=NULL) const
virtual string get_fully_scoped_name () const
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 CPPTBDType * as_tbd_type ()

Public Attributes

CPPIdentifier_ident

Protected Member Functions

virtual bool is_equal (const CPPDeclaration *other) const
virtual bool is_less (const CPPDeclaration *other) const

Private Attributes

bool _subst_decl_recursive_protect

Constructor & Destructor Documentation

CPPTBDType::CPPTBDType CPPIdentifier ident  ) 
 

Definition at line 31 of file cppTBDType.cxx.

References _subst_decl_recursive_protect.

Referenced by substitute_decl().


Member Function Documentation

CPPTBDType * CPPTBDType::as_tbd_type  )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 177 of file cppTBDType.cxx.

string CPPTBDType::get_fully_scoped_name  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 100 of file cppTBDType.cxx.

References _ident, and CPPIdentifier::get_fully_scoped_name().

string CPPTBDType::get_local_name CPPScope scope = NULL  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 89 of file cppTBDType.cxx.

References _ident, and CPPIdentifier::get_local_name().

string CPPTBDType::get_simple_name  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 77 of file cppTBDType.cxx.

References _ident, and CPPIdentifier::get_simple_name().

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

Implements CPPDeclaration.

Definition at line 167 of file cppTBDType.cxx.

References CPPDeclaration::ST_tbd.

bool CPPTBDType::is_equal const CPPDeclaration other  )  const [protected, virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 189 of file cppTBDType.cxx.

References _ident, assert, and NULL.

bool CPPTBDType::is_less const CPPDeclaration other  )  const [protected, virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 205 of file cppTBDType.cxx.

References _ident, assert, and NULL.

bool CPPTBDType::is_tbd  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 64 of file cppTBDType.cxx.

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

Implements CPPDeclaration.

Definition at line 157 of file cppTBDType.cxx.

References _ident.

CPPType * CPPTBDType::resolve_type CPPScope current_scope,
CPPScope global_scope
[virtual]
 

Reimplemented from CPPType.

Definition at line 47 of file cppTBDType.cxx.

References _ident, current_scope, CPPIdentifier::find_type(), global_scope, NULL, and type.

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

Definition at line 110 of file cppTBDType.cxx.

References _ident, _subst_decl_recursive_protect, CPPDeclaration::as_tbd_type(), assert, CPPTBDType(), current_scope, global_scope, CPPType::new_type(), NULL, CPPIdentifier::substitute_decl(), CPPDeclaration::substitute_decl(), and type.


Member Data Documentation

CPPIdentifier* CPPTBDType::_ident
 

Definition at line 59 of file cppTBDType.h.

Referenced by get_fully_scoped_name(), get_local_name(), get_simple_name(), is_equal(), is_less(), output(), resolve_type(), and substitute_decl().

bool CPPTBDType::_subst_decl_recursive_protect [private]
 

Definition at line 66 of file cppTBDType.h.

Referenced by CPPTBDType(), and substitute_decl().


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