Puma Reference Manual Puma: Puma::CUsingInfo Class Reference



Puma::CUsingInfo Class Reference

Semantic information about a using-directive. More...

#include <Puma/CUsingInfo.h>

Inheritance diagram for Puma::CUsingInfo:
Inheritance graph

List of all members.

Public Member Functions

 CUsingInfo ()
 Constructor.
 ~CUsingInfo ()
 Destructor.
CNamespaceInfoNamespace () 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.

Detailed Description

Semantic information about a using-directive.

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

Constructor & Destructor Documentation

Puma::CUsingInfo::CUsingInfo ( ) [inline]

Constructor.

Puma::CUsingInfo::~CUsingInfo ( )

Destructor.

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


Member Function Documentation

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.

Parameters:
infoThe namespace.