Puma Reference Manual Puma: Puma::CNamespaceInfo Class Reference



Puma::CNamespaceInfo Class Reference

#include <Puma/CNamespaceInfo.h>

Inheritance diagram for Puma::CNamespaceInfo:

Inheritance graph

List of all members.


Detailed Description

Semantic information about a user-defined namespace.

There are two kinds of namespaces, original namespaces and namespace aliases.

Public Member Functions

 CNamespaceInfo ()
 Constructor.
 ~CNamespaceInfo ()
 Destructor.
bool isAlias () const
 Check if this is a namespace alias.
void isAlias (bool v)
 Set whether this is a namespace alias.
bool aroundInstantiation () const
 Check if this is a special internal namespace around template instantiations.
void aroundInstantiation (bool v)
 Set whether this is a special internal namespace around template instantiations.

Protected Member Functions

 CNamespaceInfo (ObjectId id)
 Constructor.


Constructor & Destructor Documentation

Puma::CNamespaceInfo::CNamespaceInfo ( CObjectInfo::ObjectId  id  )  [inline, protected]

Constructor.

Parameters:
id The object type.

Puma::CNamespaceInfo::CNamespaceInfo (  )  [inline]

Constructor.

Puma::CNamespaceInfo::~CNamespaceInfo (  ) 

Destructor.

If the object type is CObjectInfo::NAMESPACE_INFO, then CObjectInfo::CleanUp() is called.


Member Function Documentation

bool Puma::CNamespaceInfo::isAlias (  )  const [inline]

Check if this is a namespace alias.

void Puma::CNamespaceInfo::isAlias ( bool  v  )  [inline]

Set whether this is a namespace alias.

Parameters:
v true if it is a namespace alias.

bool Puma::CNamespaceInfo::aroundInstantiation (  )  const [inline]

Check if this is a special internal namespace around template instantiations.

void Puma::CNamespaceInfo::aroundInstantiation ( bool  v  )  [inline]

Set whether this is a special internal namespace around template instantiations.

Parameters:
v true if it is such an internal namespace.




Puma Reference Manual. Created on 5 Nov 2008.