Changeset 462 for XIOS/trunk/src/group_parser.hpp
- Timestamp:
- 01/21/14 09:40:14 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_parser.hpp
r347 r462 20 20 { 21 21 StdIFStream ifs ( attributes["src"].c_str() , StdIFStream::in ); 22 if ( (ifs.rdstate() & std::ifstream::failbit ) != 0 ) 23 ERROR(" void CGroupTemplate<U, V, W>::parse(xml::CXMLNode & node, bool withAttr)", 24 <<endl<< "Can not open <"<<attributes["src"].c_str()<<"> file" ); 22 25 if (!ifs.good()) 23 26 ERROR("CGroupTemplate<U, V, W>::parse(xml::CXMLNode & node, bool withAttr)", 24 27 << "[ filename = " << attributes["src"] << " ] Bad xml stream !"); 25 xml::CXMLParser::ParseInclude(ifs, *this);28 xml::CXMLParser::ParseInclude(ifs, attributes["src"].c_str(), *this); 26 29 } 27 30 }
Note: See TracChangeset
for help on using the changeset viewer.