| Puma Reference Manual | Puma: Puma::CUsingInfo Class Reference |
#include <Puma/CUsingInfo.h>

The using-directive makes names from a namespace visible in another namespace or scope.
Example:
namespace A { class X {}; } using namespace A; // make A::X visible in global scope X x; // resolves to A::X
Public Member Functions | |
| CUsingInfo () | |
| Constructor. | |
| ~CUsingInfo () | |
| Destructor. | |
| CNamespaceInfo * | Namespace () const |
| Get the semantic information for the namespace whose names are made visible. | |
| void | Namespace (CNamespaceInfo *info) |
| Set the semantic information for the namespace whose names are made visible. | |
| Puma::CUsingInfo::CUsingInfo | ( | ) | [inline] |
Constructor.
| Puma::CUsingInfo::~CUsingInfo | ( | ) |
Destructor.
If the object type is CObjectInfo::USING_INFO, then CObjectInfo::CleanUp() is called.
| CNamespaceInfo * Puma::CUsingInfo::Namespace | ( | ) | const [inline] |
Get the semantic information for the namespace whose names are made visible.
| void Puma::CUsingInfo::Namespace | ( | CNamespaceInfo * | info | ) | [inline] |
Set the semantic information for the namespace whose names are made visible.
| info | The namespace. |