Changeset 462 for XIOS/trunk/src/group_template_impl.hpp
- Timestamp:
- 01/21/14 09:40:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_template_impl.hpp
r446 r462 490 490 { 491 491 StdIFStream ifs ( attributes["src"].c_str() , StdIFStream::in ); 492 if ( (ifs.rdstate() & std::ifstream::failbit ) != 0 ) 493 ERROR("void CGroupTemplate<U, V, W>::parse(xml::CXMLNode & node, bool withAttr)", 494 <<endl<< "Can not open <"<<attributes["src"].c_str()<<"> file" ); 495 492 496 if (!ifs.good()) 493 497 ERROR("CGroupTemplate<U, V, W>::parse(xml::CXMLNode & node, bool withAttr)", 494 498 << "[ filename = " << attributes["src"] << " ] Bad xml stream !"); 495 xml::CXMLParser::ParseInclude(ifs, *this);499 xml::CXMLParser::ParseInclude(ifs, attributes["src"].c_str(), *this); 496 500 } 497 501 }
Note: See TracChangeset
for help on using the changeset viewer.