Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Scenario Class Reference
[Managed Objects]

Scenario Class Definition. More...

#include <Scenario.h>

Inheritance diagram for Scenario:

Inheritance graph
[legend]
Collaboration diagram for Scenario:

Collaboration graph
[legend]
List of all members.

Public Methods

WDError initRef (void *inNode, IObjectManager *inManager, IObjectEventHandler *inEventHandler)
WDError initRef (IObjectManager *inParent, IObjectEventHandler *inEventHandler)
WDError initNew (IObjectEventHandler *inEventHandler)
void getVersion (char *outVersion, int inMaxLength)
void setVersion (const char *inVersion)

Detailed Description

Scenario Class Definition.

The Scenario is the root of the document. It contains everything in the Scenario (yes, really!)


Member Function Documentation

void Scenario::getVersion char *    outVersion,
int    inMaxLength
 

Returns the version of the scenario

Parameters:
outVersion  Version of the scenario
inMaxLength  The size of the character buffer

WDError Scenario::initNew IObjectEventHandler   inEventHandler
 

Creates a new Scenario (will also create an ObjectManager)

Parameters:
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

WDError Scenario::initRef IObjectManager   inParent,
IObjectEventHandler   inEventHandler
 

Initializes an existing Scenario based an ObjectManager

Parameters:
inParent  ObjectManager holding the Scenario
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

WDError Scenario::initRef void *    inNode,
IObjectManager   inManager,
IObjectEventHandler   inEventHandler
 

Initializes an existing Scenario based on data node

Parameters:
inNode  Data node representing the Scenario
inManager  Database from which the data node was taken
inEventHandler  EventHandler which listens to changes on the data node (can be NULL)

Reimplemented from ManagedObject.

void Scenario::setVersion const char *    inVersion
 

Sets the version of the scenario

Parameters:
inVersion  Version of the scenario


The documentation for this class was generated from the following file:
Generated on Mon Apr 15 15:23:20 2002 for WhiteDwarf by doxygen1.2.15