cosi::NetworkParser Class Reference

#include <NetworkParser.h>

List of all members.

Public Member Functions

 NetworkParser (string pFileName)
virtual ~NetworkParser ()
void Parse ()
void Parse (TiXmlNode *pParent)
IdGraphGetNetwork ()

Private Member Functions

void ParseDocument (TiXmlNode *pParent)
void ParseNetwork (TiXmlNode *pParent)
void GetNetworkAttributes (TiXmlNode *pParent)
void ParseNode (TiXmlNode *pParent)
void GetNodeAttributes (TiXmlNode *pParent)
void ParseLink (TiXmlNode *pParent)
void GetLinkAttributes (TiXmlNode *pParent)
void ParseNodeLabel (TiXmlNode *pParent)
void GetNodeLabelAttributes (TiXmlNode *pParent)
void ParseNodeMapLabel (TiXmlNode *pParent)
void ParseLinkMapLabel (TiXmlNode *pParent)
void ParseNodeMapEntry (TiXmlNode *pParent)
void GetNodeMapEntryAttributes (TiXmlNode *pParent)
void ParseLinkLabel (TiXmlNode *pParent)
void GetLinkLabelAttributes (TiXmlNode *pParent)
void ParseLinkMapEntry (TiXmlNode *pParent)
void GetLinkMapEntryAttributes (TiXmlNode *pParent)

Private Attributes

FactorymF
string mFileName
string mNetworkType
string mNetworkName
string mLabelName
string mLabelFormat
stringstream mLabelType
list< string > mTypes
map< string, VertexmNodes
map< string, EdgemLinks


Detailed Description

This class defines a generic parser for networks.

Author:
Alessandro Pinto,

The Donald O. Pederson Center for Electronic System Design

Electrical Engineering Department

University of California, Berkeley

545P Cory Hall, Berkeley, CA 94720

+1 (510) 642 9670

http://www.eecs.berkeley.edu/~apinto

Version:
Id
NetworkParser.h,v 1.3 2008/08/21 23:46:05 apinto Exp

Constructor & Destructor Documentation

cosi::NetworkParser::NetworkParser ( string  pFileName  ) 

cosi::NetworkParser::~NetworkParser (  )  [virtual]


Member Function Documentation

void cosi::NetworkParser::Parse (  ) 

void cosi::NetworkParser::Parse ( TiXmlNode *  pParent  ) 

IdGraph * cosi::NetworkParser::GetNetwork (  ) 

void cosi::NetworkParser::ParseDocument ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseNetwork ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetNetworkAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseNode ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetNodeAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseLink ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetLinkAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseNodeLabel ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetNodeLabelAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseNodeMapLabel ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseLinkMapLabel ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseNodeMapEntry ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetNodeMapEntryAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseLinkLabel ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetLinkLabelAttributes ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::ParseLinkMapEntry ( TiXmlNode *  pParent  )  [private]

void cosi::NetworkParser::GetLinkMapEntryAttributes ( TiXmlNode *  pParent  )  [private]


Member Data Documentation

stringstream cosi::NetworkParser::mLabelType [private]

list<string> cosi::NetworkParser::mTypes [private]

map<string,Vertex> cosi::NetworkParser::mNodes [private]

map<string,Edge> cosi::NetworkParser::mLinks [private]


The documentation for this class was generated from the following files:
Generated on Sun Sep 7 18:37:46 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents