Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

Yehia::Script::Namespace Class Reference
[Scripting]

Namespace interface. More...

#include <base.h>

List of all members.

Public Member Functions

virtual Objectmember (const std::string &name)=0
virtual void insert (const std::string &name, Object &object)=0


Detailed Description

Namespace interface.

Implemented by objects that are similiar to a C++ namescape, like (in Python) packages, modules, classes and instances.


Member Function Documentation

virtual void Yehia::Script::Namespace::insert const std::string &  name,
Object object
[pure virtual]
 

Insert an object into the namespace.

Parameters:
name Name of the object.
object Object to insert.

virtual Object* Yehia::Script::Namespace::member const std::string &  name  )  [pure virtual]
 

Get a namespace member.

Parameters:
name Name of the namespace member.
Returns:
The script object if found, 0 otherwise.


The documentation for this class was generated from the following file:
Generated on Thu May 1 21:13:04 2003 for Yehia by doxygen1.3