Puma::CNamespaceInfo Class Reference
#include <Puma/infos/CNamespaceInfo.h>
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.
Constructor & Destructor Documentation
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 |
( |
|
) |
|
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. |