FNSS C++ library
C++ API for the Fast Network Simulation Setup (FNSS) toolchain
 All Classes Functions Typedefs Pages
Static Public Member Functions | List of all members
fnss::Parser Class Reference

#include <parser.h>

Static Public Member Functions

static Topology parseTopology (const std::string &file)
 
static EventSchedule parseEventSchedule (const std::string &file)
 
static TrafficMatrixSequence parseTrafficMatrixSequence (const std::string &file)
 

Detailed Description

Static class containing XML parsing functionality.

Author
Cosmin Cocora

Member Function Documentation

EventSchedule fnss::Parser::parseEventSchedule ( const std::string &  file)
static

Construct a EventSchedule object by parsing an XML file.

Parameters
filethe XML file to parse.
Returns
the constructed Topology object.
Topology fnss::Parser::parseTopology ( const std::string &  file)
static

Construct a Topology object by parsing an XML file.

Parameters
filethe XML file to parse.
Returns
the constructed Topology object.
TrafficMatrixSequence fnss::Parser::parseTrafficMatrixSequence ( const std::string &  file)
static

Construct a TrafficMatrixSequence object by parsing an XML file.

Parameters
filethe XML file to parse.
Returns
the constructed Topology object.

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