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

CPPNameComponent Class Reference

#include <cppNameComponent.h>

List of all members.

Public Member Functions

 CPPNameComponent (const string &name)
bool operator== (const CPPNameComponent &other) const
bool operator!= (const CPPNameComponent &other) const
bool operator< (const CPPNameComponent &other) const
string get_name () const
string get_name_with_templ (CPPScope *scope=(CPPScope *) NULL) const
CPPTemplateParameterListget_templ () const
bool empty () const
bool has_templ () const
bool is_tbd () const
void set_name (const string &name)
void append_name (const string &name)
void set_templ (CPPTemplateParameterList *templ)
void output (ostream &out) const

Private Attributes

string _name
CPPTemplateParameterList_templ


Constructor & Destructor Documentation

CPPNameComponent::CPPNameComponent const string &  name  ) 
 

Definition at line 29 of file cppNameComponent.cxx.

References _templ, and NULL.


Member Function Documentation

void CPPNameComponent::append_name const string &  name  ) 
 

Definition at line 175 of file cppNameComponent.cxx.

References _name.

bool CPPNameComponent::empty  )  const
 

Definition at line 130 of file cppNameComponent.cxx.

References _name.

string CPPNameComponent::get_name  )  const
 

Definition at line 93 of file cppNameComponent.cxx.

References _name.

Referenced by CPPScope::get_simple_name().

string CPPNameComponent::get_name_with_templ CPPScope scope = (CPPScope *) NULL  )  const
 

Definition at line 103 of file cppNameComponent.cxx.

References _name, _templ, NULL, CPPTemplateParameterList::output(), and ostringstream::str().

Referenced by CPPScope::get_fully_scoped_name(), and CPPScope::get_local_name().

CPPTemplateParameterList * CPPNameComponent::get_templ  )  const
 

Definition at line 120 of file cppNameComponent.cxx.

References _templ.

Referenced by CPPStructType::substitute_decl().

bool CPPNameComponent::has_templ  )  const
 

Definition at line 140 of file cppNameComponent.cxx.

References _templ, and NULL.

Referenced by CPPStructType::substitute_decl().

bool CPPNameComponent::is_tbd  )  const
 

Definition at line 152 of file cppNameComponent.cxx.

References _templ, CPPTemplateParameterList::is_tbd(), and NULL.

bool CPPNameComponent::operator!= const CPPNameComponent &  other  )  const
 

Definition at line 64 of file cppNameComponent.cxx.

bool CPPNameComponent::operator< const CPPNameComponent &  other  )  const
 

Definition at line 74 of file cppNameComponent.cxx.

References _name, _templ, and NULL.

bool CPPNameComponent::operator== const CPPNameComponent &  other  )  const
 

Definition at line 41 of file cppNameComponent.cxx.

References _name, _templ, and NULL.

void CPPNameComponent::output ostream out  )  const
 

Definition at line 195 of file cppNameComponent.cxx.

References _name, _templ, and NULL.

Referenced by operator<<().

void CPPNameComponent::set_name const string &  name  ) 
 

Definition at line 165 of file cppNameComponent.cxx.

References _name.

void CPPNameComponent::set_templ CPPTemplateParameterList templ  ) 
 

Definition at line 185 of file cppNameComponent.cxx.

References _templ.

Referenced by CPPScope::instantiate(), and CPPStructType::substitute_decl().


Member Data Documentation

string CPPNameComponent::_name [private]
 

Definition at line 53 of file cppNameComponent.h.

Referenced by append_name(), empty(), get_name(), get_name_with_templ(), operator<(), operator==(), output(), and set_name().

CPPTemplateParameterList* CPPNameComponent::_templ [private]
 

Definition at line 54 of file cppNameComponent.h.

Referenced by CPPNameComponent(), get_name_with_templ(), get_templ(), has_templ(), is_tbd(), operator<(), operator==(), output(), and set_templ().


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