>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::Enumeration Class Reference

#include <XabslSymbols.h>

Inheritance diagram for xabsl::Enumeration:

Inheritance graph
[legend]
Collaboration diagram for xabsl::Enumeration:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a list of enum elements.

Definition at line 43 of file XabslSymbols.h.


Public Member Functions

 Enumeration (const char *name, int index)
 Constructor.

 ~Enumeration ()
 Destructor.


Public Attributes

NamedArray< EnumElement * > enumElements
 Assigns an enum value from a function or variable in the software environment to the enum-element string in the XML formalization.

int index
 Index of the enumeration in array enumerations in corresponding engine.


Constructor & Destructor Documentation

xabsl::Enumeration::Enumeration const char *  name,
int  index
[inline]
 

Constructor.

Parameters:
name The name of the enumeration as specified in the XML formalization
index Index of the enumeration in array enumerations in corresponding engine

Definition at line 51 of file XabslSymbols.h.

xabsl::Enumeration::~Enumeration  ) 
 

Destructor.

Deletes the enum elements

Definition at line 15 of file XabslSymbols.cpp.

References enumElements, and xabsl::Array< NamedArrayElement< EnumElement * > * >::getSize().

Here is the call graph for this function:


Member Data Documentation

NamedArray<EnumElement*> xabsl::Enumeration::enumElements
 

Assigns an enum value from a function or variable in the software environment to the enum-element string in the XML formalization.

Definition at line 60 of file XabslSymbols.h.

Referenced by xabsl::Engine::createOptionGraph(), xabsl::EnumeratedValue::EnumeratedValue(), xabsl::OptionParameters::OptionParameters(), xabsl::Parameters::registerEnumerated(), and ~Enumeration().

int xabsl::Enumeration::index
 

Index of the enumeration in array enumerations in corresponding engine.

Definition at line 63 of file XabslSymbols.h.


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

Up | Main Page | Generated at Wed Aug 19 17:32:31 2009.