YMLLoader Class Reference

#include <ymlloader.h>

Inheritance diagram for YMLLoader:

Inheritance graph
[legend]
Collaboration diagram for YMLLoader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YMLLoader (YMLEntityFactory *factory, Interpreter *interpreter)
virtual ~YMLLoader ()
virtual void parseCall (call_t type, int argc, const char *const *args)
YMLNetworkparse (std::istream &stream, TraceContext *traceContext=0)
YMLNetworkparse (const char *filename, TraceContext *traceContext=0)
YMLNetworkparse (XERCES_CPP_NAMESPACE::InputSource *input, TraceContext *traceContext=0)

Protected Member Functions

YMLNetworktopNetwork ()
YMLNodetopNode ()
YMLLinktopLink ()
YMLPorttopPort ()
YMLEntitytopEntity ()

Constructor & Destructor Documentation

YMLLoader::YMLLoader YMLEntityFactory factory,
Interpreter interpreter
 

Construct a YMLLoader.

Parameters:
factory The YMLEntity factory to use.
interpreter The script Intrepreter to use.

YMLLoader::~YMLLoader  )  [virtual]
 


Member Function Documentation

void YMLLoader::parseCall call_t  type,
int  argc,
const char *const *  args
[virtual]
 

Reimplementation of parseCall. Creates YMLEntities and puts them on the parse stack on start calls. Pops YMLEntites of the parse stack on end calls.

Parameters:
type The parse call type.
argc The number of arugments.
args The arguments.

Reimplemented from YMLSAXParser.

YMLNetwork* YMLLoader::parse std::istream &  stream,
TraceContext traceContext = 0
 

YMLNetwork * YMLLoader::parse const char *  filename,
TraceContext traceContext = 0
 

Parase YML from a file.

Parameters:
filename The path to the YML file.
traceContext The trace mapping context.
Returns:
The top level YMLEntity on success, NULL otherwise.

YMLNetwork* YMLLoader::parse XERCES_CPP_NAMESPACE::InputSource *  input,
TraceContext traceContext = 0
 

YMLNetwork * YMLLoader::topNetwork  )  [protected]
 

YMLNode * YMLLoader::topNode  )  [protected]
 

YMLLink * YMLLoader::topLink  )  [protected]
 

YMLPort * YMLLoader::topPort  )  [protected]
 

YMLEntity * YMLLoader::topEntity  )  [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:05:49 2006 for Sesame by  doxygen 1.4.6