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
 Returns true if the name component includes a template parameter list that includes some not-yet-defined type.

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 34 of file cppNameComponent.cxx.

References _name, _templ, and NULL.


Member Function Documentation

void CPPNameComponent::append_name const string &  name  ) 
 

Definition at line 205 of file cppNameComponent.cxx.

bool CPPNameComponent::empty  )  const
 

Definition at line 149 of file cppNameComponent.cxx.

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

string CPPNameComponent::get_name  )  const
 

Definition at line 106 of file cppNameComponent.cxx.

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

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

Definition at line 118 of file cppNameComponent.cxx.

References _templ.

Referenced by CPPScope::find_template().

CPPTemplateParameterList * CPPNameComponent::get_templ  )  const
 

Definition at line 137 of file cppNameComponent.cxx.

References _templ, and NULL.

bool CPPNameComponent::has_templ  )  const
 

Definition at line 161 of file cppNameComponent.cxx.

References _name.

bool CPPNameComponent::is_tbd  )  const
 

Returns true if the name component includes a template parameter list that includes some not-yet-defined type.

Definition at line 178 of file cppNameComponent.cxx.

References _templ.

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

Definition at line 73 of file cppNameComponent.cxx.

References _name, _templ, and NULL.

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

Definition at line 85 of file cppNameComponent.cxx.

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

Definition at line 48 of file cppNameComponent.cxx.

References _templ, and NULL.

void CPPNameComponent::output ostream &  out  )  const
 

Definition at line 229 of file cppNameComponent.cxx.

void CPPNameComponent::set_name const string &  name  ) 
 

Definition at line 193 of file cppNameComponent.cxx.

References _name, _templ, and NULL.

void CPPNameComponent::set_templ CPPTemplateParameterList templ  ) 
 

Definition at line 217 of file cppNameComponent.cxx.


Member Data Documentation

string CPPNameComponent::_name [private]
 

Definition at line 56 of file cppNameComponent.h.

Referenced by CPPNameComponent(), has_templ(), operator!=(), and set_name().

CPPTemplateParameterList* CPPNameComponent::_templ [private]
 

Definition at line 57 of file cppNameComponent.h.

Referenced by CPPNameComponent(), empty(), get_name(), get_name_with_templ(), get_templ(), is_tbd(), operator!=(), operator==(), and set_name().


The documentation for this class was generated from the following files:
Generated on Thu May 1 22:13:22 2003 for DTool by doxygen1.3