Changeset 108 for XMLIO_V2/dev/dev_rv/src/XMLIO/main_cpp.cpp
- Timestamp:
- 06/18/10 14:33:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/XMLIO/main_cpp.cpp
r107 r108 12 12 { 13 13 string file("/local/XMLIOSERVER_DEV/dev_rv/test/iodef_test.xml"); 14 //string file("/local/XMLIOSERVER_DEV/dev_rv/iodef_test.xml"); 14 15 15 //string file("/local/XMLIOSERVER_DEV/dev_rv/iodef_test.xml");16 16 ifstream istr( file.c_str() , ifstream::in ); 17 17 18 18 // On commence la lecture du flux de donnée xml qui doit posséder pour racine un unique noeud nommé "simulation". 19 XMLNode node = XMLNode::CreateNode(istr, "simulation");19 XMLNode node = XMLNode::CreateNode(istr, Context::GetRootName()); 20 20 // On parse le fichier xml noeud par noeud (ie on construit dynamiquement notre arbre d'objets). 21 21 XMLParser::Parse(node); … … 26 26 // On poursuit le traitement ... 27 27 28 // On écrit l'arborescence r esultante du traitement sur la sortie.28 // On écrit l'arborescence résultante du traitement sur la sortie. 29 29 Context::ShowTree(std::clog); 30 30
Note: See TracChangeset
for help on using the changeset viewer.