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

CPPPointerType Class Reference

#include <cppPointerType.h>

Inheritance diagram for CPPPointerType:

CPPType CPPDeclaration List of all members.

Public Member Functions

 CPPPointerType (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 CPPPointerType * as_pointer_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

CPPPointerType::CPPPointerType CPPType pointing_at  ) 
 

Definition at line 30 of file cppPointerType.cxx.

Referenced by resolve_type(), and substitute_decl().


Member Function Documentation

CPPPointerType * CPPPointerType::as_pointer_type  )  [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 202 of file cppPointerType.cxx.

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

Implements CPPDeclaration.

Definition at line 192 of file cppPointerType.cxx.

References CPPDeclaration::ST_pointer.

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

Reimplemented from CPPDeclaration.

Definition at line 214 of file cppPointerType.cxx.

References _pointing_at, assert, and NULL.

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

Reimplemented from CPPType.

Definition at line 120 of file cppPointerType.cxx.

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

bool CPPPointerType::is_fully_specified  )  const [virtual]
 

Reimplemented from CPPDeclaration.

Definition at line 45 of file cppPointerType.cxx.

References _pointing_at, and CPPDeclaration::is_fully_specified().

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

Reimplemented from CPPDeclaration.

Definition at line 230 of file cppPointerType.cxx.

References _pointing_at, assert, and NULL.

bool CPPPointerType::is_tbd  )  const [virtual]
 

Reimplemented from CPPType.

Definition at line 106 of file cppPointerType.cxx.

References _pointing_at, and CPPType::is_tbd().

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

Implements CPPDeclaration.

Definition at line 135 of file cppPointerType.cxx.

References output_instance().

void CPPPointerType::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 169 of file cppPointerType.cxx.

References CPPFunctionType::_class_owner, CPPFunctionType::_flags, _pointing_at, CPPDeclaration::as_function_type(), CPPFunctionType::F_method_pointer, CPPIdentifier::get_fully_scoped_name(), NULL, and CPPType::output_instance().

Referenced by output().

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

Reimplemented from CPPType.

Definition at line 86 of file cppPointerType.cxx.

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

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

Definition at line 56 of file cppPointerType.cxx.

References _pointing_at, CPPDeclaration::as_pointer_type(), CPPDeclaration::as_type(), CPPPointerType(), current_scope, global_scope, CPPType::new_type(), and CPPDeclaration::substitute_decl().


Member Data Documentation

CPPType* CPPPointerType::_pointing_at
 

Definition at line 34 of file cppPointerType.h.

Referenced by InterrogateBuilder::define_wrapped_type(), CPPExpression::determine_type(), InterrogateBuilder::in_ignoreinvolved(), is_equal(), is_equivalent(), is_fully_specified(), is_less(), is_tbd(), output_instance(), resolve_type(), substitute_decl(), TypeManager::unwrap(), TypeManager::unwrap_pointer(), and ParameterRemapEnumToInt::unwrap_type().


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