Puma::CNamespaceInfo Class Reference

#include <Puma/infos/CNamespaceInfo.h>

Inheritance diagram for Puma::CNamespaceInfo:

Inheritance graph

List of all members.


Detailed Description

A CNamespaceInfo object represents a C++ 'namespace'. There are two kinds of namespaces, i.e. original namespaces and namespace aliases.

Public Member Functions

 CNamespaceInfo ()
 ~CNamespaceInfo ()
bool isAlias () const
void isAlias (bool v)
bool aroundInstantiation () const
void aroundInstantiation (bool v)

Protected Member Functions

 CNamespaceInfo (ObjectId id)

Constructor & Destructor Documentation

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

This constructor is to be used by classes inherited from CNamespaceInfo. It makes it possible to set another object id than NAMESPACE_INFO for abstractions not representing a standard namespace.

Parameters:
id The object id to be used instead of NAMESPACE_INFO.

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

Create a new namespace info.

Puma::CNamespaceInfo::~CNamespaceInfo (  ) 

Destroy the namespace info. If the object id is NAMESPACE_INFO, Puma::CObjectInfo::CleanUp() is called.


Member Function Documentation

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

Return true 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]

Return true 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.


Generated on Sat May 10 03:03:50 2008 for Puma by  doxygen 1.5.5