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

CPPReferenceType Class Reference

#include <cppReferenceType.h>

Inheritance diagram for CPPReferenceType:

CPPType CPPDeclaration List of all members.

Public Member Functions

 CPPReferenceType (CPPType *pointing_at)
virtual bool is_fully_specified () const
virtual CPPDeclarationsubstitute_decl (SubstDecl &subst, CPPScope *current_scope, CPPScope *global_scope)
virtual CPPTyperesolve_type (CPPScope *current_scope, CPPScope *global_scope)
virtual bool is_tbd () const
virtual bool is_equivalent (const CPPType &other) const
virtual void output (ostream &out, int indent_level, CPPScope *scope, bool complete) const
virtual void output_instance (ostream &out, int indent_level, CPPScope *scope, bool complete, const string &prename, const string &name) const
virtual SubType get_subtype () const
virtual CPPReferenceType * as_reference_type ()

Public Attributes

CPPType_pointing_at

Protected Member Functions

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

Constructor & Destructor Documentation

CPPReferenceType::CPPReferenceType CPPType pointing_at  ) 
 

Definition at line 28 of file cppReferenceType.cxx.

Referenced by resolve_type(), and substitute_decl().


Member Function Documentation

CPPReferenceType * CPPReferenceType::as_reference_type  )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 173 of file cppReferenceType.cxx.

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

Implements CPPDeclaration.

Definition at line 163 of file cppReferenceType.cxx.

References CPPDeclaration::ST_reference.

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

Reimplemented from CPPDeclaration.

Definition at line 185 of file cppReferenceType.cxx.

References _pointing_at, assert, and NULL.

bool CPPReferenceType::is_equivalent const CPPType other  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 118 of file cppReferenceType.cxx.

References _pointing_at, CPPType::is_equivalent(), and NULL.

bool CPPReferenceType::is_fully_specified  )  const [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 43 of file cppReferenceType.cxx.

References _pointing_at, and CPPDeclaration::is_fully_specified().

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

Reimplemented from CPPDeclaration.

Definition at line 201 of file cppReferenceType.cxx.

References _pointing_at, assert, and NULL.

bool CPPReferenceType::is_tbd  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 104 of file cppReferenceType.cxx.

References _pointing_at, and CPPType::is_tbd().

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

Implements CPPDeclaration.

Definition at line 133 of file cppReferenceType.cxx.

References output_instance().

void CPPReferenceType::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 150 of file cppReferenceType.cxx.

References _pointing_at, and CPPType::output_instance().

Referenced by output().

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

Reimplemented from CPPType.

Definition at line 84 of file cppReferenceType.cxx.

References _pointing_at, CPPReferenceType(), current_scope, global_scope, CPPType::new_type(), and CPPType::resolve_type().

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

Definition at line 54 of file cppReferenceType.cxx.

References _pointing_at, CPPDeclaration::as_reference_type(), CPPDeclaration::as_type(), CPPReferenceType(), current_scope, global_scope, CPPType::new_type(), and CPPDeclaration::substitute_decl().


Member Data Documentation

CPPType* CPPReferenceType::_pointing_at
 

Definition at line 34 of file cppReferenceType.h.

Referenced by is_equal(), is_equivalent(), is_fully_specified(), is_less(), is_tbd(), output_instance(), resolve_type(), substitute_decl(), TypeManager::unwrap(), TypeManager::unwrap_const_reference(), TypeManager::unwrap_reference(), and ParameterRemapEnumToInt::unwrap_type().


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