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

CPPInstanceIdentifier Class Reference

#include <cppInstanceIdentifier.h>

List of all members.

Public Types

typedef vector< Modifier > Modifiers

Public Member Functions

 CPPInstanceIdentifier (CPPIdentifier *ident)
CPPType * unroll_type (CPPType *start_type)
void add_modifier (CPPInstanceIdentifierType type)
void add_func_modifier (CPPParameterList *params, int flags)
void add_scoped_pointer_modifier (CPPIdentifier *scoping)
void add_array_modifier (CPPExpression *expr)
CPPScope * get_scope (CPPScope *current_scope, CPPScope *global_scope, CPPPreprocessor *error_sink=NULL) const

Public Attributes

CPPIdentifier * _ident
Modifiers _modifiers

Private Member Functions

CPPType * r_unroll_type (CPPType *start_type, Modifiers::const_iterator mi)


Member Typedef Documentation

typedef vector<Modifier> CPPInstanceIdentifier::Modifiers
 

Definition at line 83 of file cppInstanceIdentifier.h.


Constructor & Destructor Documentation

CPPInstanceIdentifier::CPPInstanceIdentifier (  CPPIdentifier *  ident  ) 
 

Definition at line 87 of file cppInstanceIdentifier.cxx.

References _ident.


Member Function Documentation

void CPPInstanceIdentifier::add_array_modifier (  CPPExpression *  expr  ) 
 

Definition at line 137 of file cppInstanceIdentifier.cxx.

References _modifiers.

void CPPInstanceIdentifier::add_func_modifier (  CPPParameterList *  params,
int  flags
) 
 

Definition at line 122 of file cppInstanceIdentifier.cxx.

References _modifiers, and params.

void CPPInstanceIdentifier::add_modifier (  CPPInstanceIdentifierType  type  ) 
 

Definition at line 112 of file cppInstanceIdentifier.cxx.

References _modifiers, and type.

void CPPInstanceIdentifier::add_scoped_pointer_modifier (  CPPIdentifier *  scoping  ) 
 

Definition at line 127 of file cppInstanceIdentifier.cxx.

References _modifiers.

CPPScope * CPPInstanceIdentifier::get_scope (  CPPScope *  current_scope,
CPPScope *  global_scope,
CPPPreprocessor *  error_sink = NULL
)  const
 

Definition at line 147 of file cppInstanceIdentifier.cxx.

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

CPPType * CPPInstanceIdentifier::r_unroll_type (  CPPType *  start_type,
Modifiers::const_iterator  mi
)  [private]
 

Definition at line 162 of file cppInstanceIdentifier.cxx.

References CPPFunctionType::_class_owner, CPPInstanceIdentifier::Modifier::_expr, CPPFunctionType::_flags, CPPInstanceIdentifier::Modifier::_func_flags, CPPInstanceIdentifier::Modifier::_func_params, _modifiers, CPPInstanceIdentifier::Modifier::_scoping, CPPInstanceIdentifier::Modifier::_type, CPPFunctionType::F_method_pointer, IIT_array, IIT_const, IIT_func, IIT_paren, IIT_pointer, IIT_reference, IIT_scoped_pointer, CPPType::new_type(), NULL, and type.

Referenced by unroll_type().

CPPType * CPPInstanceIdentifier::unroll_type (  CPPType *  start_type  ) 
 

Definition at line 100 of file cppInstanceIdentifier.cxx.

References _modifiers, and r_unroll_type().

Referenced by CPPInstance::CPPInstance().


Member Data Documentation

CPPIdentifier* CPPInstanceIdentifier::_ident
 

Definition at line 68 of file cppInstanceIdentifier.h.

Referenced by CPPInstance::CPPInstance(), CPPInstanceIdentifier(), and get_scope().

Modifiers CPPInstanceIdentifier::_modifiers
 

Definition at line 84 of file cppInstanceIdentifier.h.

Referenced by add_array_modifier(), add_func_modifier(), add_modifier(), add_scoped_pointer_modifier(), r_unroll_type(), and unroll_type().


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