OS
2.10.2
src
OSCommonInterfaces
OSCommandLineReader.h
Go to the documentation of this file.
1
/* $Id: OSCommandLineReader.h 4263 2011-09-09 20:19:26Z Gassmann $ */
17
#ifndef _OSCOMMANDLINEREADER_H
18
#define _OSCOMMANDLINEREADER_H
19
20
21
#include "
OSCommandLine.h
"
22
#include "
OSErrorClass.h
"
23
24
25
#include <string>
26
27
39
class
OSCommandLineReader
40
{
41
42
43
public
:
44
51
OSCommandLineReader
( );
52
57
~OSCommandLineReader
();
58
59
69
OSCommandLine
*
readCommandLine
(
const
std::string& osss)
throw
(
ErrorClass
);
70
71
78
OSCommandLine
*
parseString
(
const
std::string& osss)
throw
(
ErrorClass
);
79
80
private
:
84
OSCommandLine
*m_oscommandline;
85
};
86
#endif
OSErrorClass.h
OSCommandLine.h
OSCommandLine
This class is used to store command line options for the OSSolverService executable and to provide me...
Definition:
OSCommandLine.h:37
ErrorClass
used for throwing exceptions.
Definition:
OSErrorClass.h:32
OSCommandLineReader::parseString
OSCommandLine * parseString(const std::string &osss)
Parse a string and store it into an OSCommandLine object.
OSCommandLineReader
The OSCommandLineReader Class.
Definition:
OSCommandLineReader.h:40
OSCommandLineReader::~OSCommandLineReader
~OSCommandLineReader()
OSCommandLineReader class destructor.
OSCommandLineReader::OSCommandLineReader
OSCommandLineReader()
OSCommandLineReader class constructor.
OSCommandLineReader::readCommandLine
OSCommandLine * readCommandLine(const std::string &osss)
Get an OSCommandLine object from a command line string.
Generated by
1.8.18