20 :
22 "" ),
24 {
26 for( int whichArgument( 1 );
27 argumentCount > whichArgument;
28 ++whichArgument )
29 {
31 argumentCharArrays[ whichArgument ] );
32 }
33 if( !(inputTag.empty()) )
34 {
35 std::string inputFilename(
fromTag( inputTag ) );
36 if( inputFilename.empty() )
37 {
38 inputFilename.assign( fallbackInputFilename );
39 }
40
41
42
43
44 if( !(inputFilename.empty()) )
45 {
47 inputFilename )
48 &&
51 if( !successfullyRead )
52 {
53 std::cout
54 << std::endl
55 << "BOL::ArgumentParser constructor failed to open root element of"
56 << " \"" << inputFilename << "\"!";
57 std::cout << std::endl;
58 }
59 }
60 }
61 }
AsciiXmlParser inputXmlParser
std::string fromTag(std::string const &tagString, std::string const defaultReturnString="")
std::vector< std::string > argumentStrings
bool loadString(std::string const stringToParse)
std::string const & getCurrentElementContent() const
bool readAllOfRootElementOfFile(std::string const &fileName)