Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Static Public Member Functions | List of all members
om::scripting::mir::lang::Import Class Reference

A class that represents an import into the current namespace. More...

#include <omScriptingMirScopes.h>

Inheritance diagram for om::scripting::mir::lang::Import:
om::scripting::mir::lang::ASTNode

Public Member Functions

 Import (Visibility newVisibility, const Shared< Reference > &newReference)
 Create a new namespace declaration object with the specified attributes. More...
 
Visibility getVisibility () const
 Return an object representing the visibility type of this import. More...
 
void setVisibility (Visibility newVisibility)
 Set the visibility of this import to the specified kind. More...
 
const Shared< Reference > & getReference () const
 Return a pointer to an object representing the name of the namespace or type that is imported. More...
 
- Public Member Functions inherited from om::scripting::mir::lang::ASTNode
 ASTNode ()
 Create a new AST node with no node position specified. More...
 
 ASTNode (const Position &newPosition)
 Create a new AST node which corresponds to a token starting at the specified source code position. More...
 
virtual ~ASTNode ()
 Destroy this AST node object. More...
 
const PositiongetPosition () const
 Return an object representing the position of this AST node in the source code. More...
 
void setPosition (const Position &newPosition)
 Set the position of this AST node in the source code. More...
 

Static Public Member Functions

static Shared< Importconstruct (Visibility newVisibility, const Shared< Reference > &newReference)
 Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments. More...
 

Detailed Description

A class that represents an import into the current namespace.

Constructor & Destructor Documentation

om::scripting::mir::lang::Import::Import ( Visibility  newVisibility,
const Shared< Reference > &  newReference 
)
inline

Create a new namespace declaration object with the specified attributes.

Member Function Documentation

Visibility om::scripting::mir::lang::Import::getVisibility ( ) const
inline

Return an object representing the visibility type of this import.

void om::scripting::mir::lang::Import::setVisibility ( Visibility  newVisibility)
inline

Set the visibility of this import to the specified kind.

const Shared<Reference>& om::scripting::mir::lang::Import::getReference ( ) const
inline

Return a pointer to an object representing the name of the namespace or type that is imported.

static Shared<Import> om::scripting::mir::lang::Import::construct ( Visibility  newVisibility,
const Shared< Reference > &  newReference 
)
inlinestatic

Construct a smart-pointer-wrapped instance of this class using the constructor with the given arguments.


The documentation for this class was generated from the following file: