26 using std::ostringstream;
53 if (m_oscommandline->configFile !=
"")
57 outStr <<
"configFile = " << m_oscommandline->configFile << std::endl;
60 std::string configFileOptions = fileUtil->
getFileAsString(m_oscommandline->configFile.c_str());
64 parseString(configFileOptions);
73 return m_oscommandline;
80 std::ostringstream outStr;
92 scannerActive =
false;
97 return m_oscommandline;
const OSSmartPtr< OSOutput > osoutput
int ossslex_init(void **ptr)
~OSCommandLineReader()
OSCommandLineReader class destructor.
OSCommandLineReader()
OSCommandLineReader class constructor.
OSCommandLine * readCommandLine(const std::string &osss)
Get an OSCommandLine object from a command line string.
int ossslex_destroy(void *scanner)
struct yy_buffer_state * YY_BUFFER_STATE
OSCommandLine * parseString(const std::string &osss)
Parse a string and store it into an OSCommandLine object.
void setyyextra(OSCommandLine *oscommandline, void *scanner)
std::string getFileAsString(const char *fname)
read a file and return contents as a string.
int ossslex(void *scanner)
This class is used to store command line options for the OSSolverService executable and to provide me...
OSCommandLine * m_oscommandline
m_oscommandline is the OSCommandLine object returned by the OSCommandLineReader
class used to make it easy to read and write files.
used for throwing exceptions.
YY_BUFFER_STATE osss_scan_string(const char *osss, void *scanner)