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

CPPTemplateScope Class Reference

#include <cppTemplateScope.h>

Inheritance diagram for CPPTemplateScope:

CPPScope List of all members.

Public Member Functions

 CPPTemplateScope (CPPScope *parent_scope)
void add_template_parameter (CPPDeclaration *param)
virtual void add_declaration (CPPDeclaration *decl, CPPScope *global_scope, CPPPreprocessor *preprocessor, const cppyyltype &pos)
virtual void add_enum_value (CPPInstance *inst)
virtual void define_extension_type (CPPExtensionType *type)
virtual void define_namespace (CPPNamespace *scope)
virtual void add_using (CPPUsing *using_decl, CPPScope *global_scope, CPPPreprocessor *error_sink=NULL)
virtual bool is_fully_specified () const
virtual string get_simple_name () const
virtual string get_local_name (CPPScope *scope=NULL) const
virtual string get_fully_scoped_name () const
virtual void output (ostream &out, CPPScope *scope) const
virtual CPPTemplateScope * as_template_scope ()

Public Attributes

CPPTemplateParameterList _parameters

Constructor & Destructor Documentation

CPPTemplateScope::CPPTemplateScope CPPScope parent_scope  ) 
 

Definition at line 32 of file cppTemplateScope.cxx.

References V_public.


Member Function Documentation

void CPPTemplateScope::add_declaration CPPDeclaration decl,
CPPScope global_scope,
CPPPreprocessor preprocessor,
const cppyyltype pos
[virtual]
 

Reimplemented from CPPScope.

Definition at line 44 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, CPPDeclaration::_template_scope, CPPScope::add_declaration(), assert, global_scope, and NULL.

void CPPTemplateScope::add_enum_value CPPInstance inst  )  [virtual]
 

Reimplemented from CPPScope.

Definition at line 58 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, CPPDeclaration::_template_scope, CPPScope::add_enum_value(), assert, and NULL.

void CPPTemplateScope::add_template_parameter CPPDeclaration param  ) 
 

Definition at line 105 of file cppTemplateScope.cxx.

References CPPClassTemplateParameter::_ident, CPPTemplateParameterList::_parameters, _parameters, CPPScope::_typedefs, CPPScope::_variables, CPPInstance::get_local_name(), CPPIdentifier::get_local_name(), NULL, and param.

void CPPTemplateScope::add_using CPPUsing using_decl,
CPPScope global_scope,
CPPPreprocessor error_sink = NULL
[virtual]
 

Reimplemented from CPPScope.

Definition at line 93 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, CPPScope::add_using(), assert, global_scope, and NULL.

CPPTemplateScope * CPPTemplateScope::as_template_scope  )  [virtual]
 

Reimplemented from CPPScope.

Definition at line 188 of file cppTemplateScope.cxx.

void CPPTemplateScope::define_extension_type CPPExtensionType type  )  [virtual]
 

Reimplemented from CPPScope.

Definition at line 70 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, assert, CPPScope::define_extension_type(), NULL, and type.

void CPPTemplateScope::define_namespace CPPNamespace scope  )  [virtual]
 

Reimplemented from CPPScope.

Definition at line 82 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, assert, CPPScope::define_namespace(), and NULL.

string CPPTemplateScope::get_fully_scoped_name  )  const [virtual]
 

Reimplemented from CPPScope.

Definition at line 164 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, assert, CPPScope::get_fully_scoped_name(), and NULL.

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

Reimplemented from CPPScope.

Definition at line 153 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, assert, CPPScope::get_local_name(), and NULL.

string CPPTemplateScope::get_simple_name  )  const [virtual]
 

Reimplemented from CPPScope.

Definition at line 142 of file cppTemplateScope.cxx.

References CPPScope::_parent_scope, assert, CPPScope::get_simple_name(), and NULL.

bool CPPTemplateScope::is_fully_specified  )  const [virtual]
 

Reimplemented from CPPScope.

Definition at line 132 of file cppTemplateScope.cxx.

void CPPTemplateScope::output ostream out,
CPPScope scope
const [virtual]
 

Reimplemented from CPPScope.

Definition at line 175 of file cppTemplateScope.cxx.

References _parameters, CPPTemplateParameterList::output(), and CPPScope::output().


Member Data Documentation

CPPTemplateParameterList CPPTemplateScope::_parameters
 

Definition at line 59 of file cppTemplateScope.h.

Referenced by add_template_parameter(), CPPScope::instantiate(), CPPInstance::instantiate(), CPPPreprocessor::nested_parse_template_instantiation(), output(), CPPStructType::output(), CPPInstance::output(), and CPPScope::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