Changeset 462 for XIOS/trunk/src/node/context.cpp
- Timestamp:
- 01/21/14 09:40:14 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/context.cpp
r461 r462 110 110 { 111 111 StdIFStream ifs ( attributes["src"].c_str() , StdIFStream::in ); 112 if ( (ifs.rdstate() & std::ifstream::failbit ) != 0 ) 113 ERROR("void CContext::parse(xml::CXMLNode & node)", 114 <<endl<< "Can not open <"<<attributes["src"].c_str()<<"> file" ); 112 115 if (!ifs.good()) 113 116 ERROR("CContext::parse(xml::CXMLNode & node)", 114 117 << "[ filename = " << attributes["src"] << " ] Bad xml stream !"); 115 xml::CXMLParser::ParseInclude(ifs, *this);118 xml::CXMLParser::ParseInclude(ifs, attributes["src"], *this); 116 119 } 117 120
Note: See TracChangeset
for help on using the changeset viewer.