#include <cppNamespace.h>
Inheritance diagram for CPPNamespace:
Public Member Functions | |
CPPNamespace (CPPIdentifier *ident, CPPScope *scope, const CPPFile &file) | |
string | get_simple_name () const |
string | get_local_name (CPPScope *scope=NULL) const |
string | get_fully_scoped_name () const |
CPPScope * | get_scope () const |
virtual void | output (ostream &out, int indent_level, CPPScope *scope, bool complete) const |
virtual SubType | get_subtype () const |
virtual CPPNamespace * | as_namespace () |
Private Attributes | |
CPPIdentifier * | _ident |
CPPScope * | _scope |
|
Definition at line 31 of file cppNamespace.cxx. |
|
Reimplemented from CPPDeclaration. Definition at line 125 of file cppNamespace.cxx. |
|
Definition at line 69 of file cppNamespace.cxx. References _ident, CPPIdentifier::get_fully_scoped_name(), and NULL. |
|
Definition at line 56 of file cppNamespace.cxx. References _ident, CPPIdentifier::get_local_name(), and NULL. |
|
Definition at line 82 of file cppNamespace.cxx. References _scope. |
|
Definition at line 43 of file cppNamespace.cxx. References _ident, CPPIdentifier::get_simple_name(), and NULL. Referenced by CPPScope::define_namespace(). |
|
Implements CPPDeclaration. Definition at line 115 of file cppNamespace.cxx. References CPPDeclaration::ST_namespace. |
|
Implements CPPDeclaration. Definition at line 92 of file cppNamespace.cxx. References _ident, _scope, CPPIdentifier::get_local_name(), indent(), NULL, and CPPScope::write(). |
|
Definition at line 50 of file cppNamespace.h. Referenced by get_fully_scoped_name(), get_local_name(), get_simple_name(), and output(). |
|
Definition at line 51 of file cppNamespace.h. Referenced by get_scope(), and output(). |