parse_ptop_xml.h 644 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
/*
 * EMULAB-COPYRIGHT
 * Copyright (c) 2005-2006 University of Utah and the Flux Group.
 * All rights reserved.
 */

/*
 * Parsing for the (experimental) ptop XML format
 */

11
#ifdef WITH_XML 
12

13 14
#ifndef __PARSE_PTOP_XML_H
#define __PARSE_PTOP_XML_H
15 16

#include "physical.h"
17
#include "port.h"
18

19 20
#include "xmlhelpers.h"
#include "xstr.h"
21

22 23 24 25 26
//#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/sax/HandlerBase.hpp>
XERCES_CPP_NAMESPACE_USE
27

28
int parse_ptop_xml(tb_pgraph &PG, tb_sgraph &SG, char *filename);
29

30
#endif // for __PARSE_PTOP_XML_H
31

32
#endif // for WITH_XML