Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippCommandParser Class Reference

List of all members.

Public Member Functions

 ippCommandParser ()
virtual ~ippCommandParser ()
std::string getErrorMessageString () const
bool getIsEvent () const
ippParserCmdErrorId getParserErr () const
void parseTag ()
int getTag () const
ippCommandPtr parseCommand ()
void setInput (const char *input)

Constructor & Destructor Documentation

ippCommandParser::ippCommandParser  ) 
 

Definition at line 94 of file ippCommandParser.cpp.

References INITARGS.

ippCommandParser::~ippCommandParser  )  [virtual]
 

Definition at line 105 of file ippCommandParser.cpp.


Member Function Documentation

std::string ippCommandParser::getErrorMessageString  )  const
 

Definition at line 241 of file ippCommandParser.cpp.

References getCommandNameString(), and PARSER_ERROR_ENUMERATION.

Referenced by recheck_with_parser(), and TestCommandsOnFile().

bool ippCommandParser::getIsEvent  )  const
 

Definition at line 119 of file ippCommandParser.h.

ippParserCmdErrorId ippCommandParser::getParserErr  )  const
 

Definition at line 121 of file ippCommandParser.h.

Referenced by ippCommandParserTestCase::testInvalidCommands(), ippCommandParserTestCase::testOnMoveReportE(), ippCommandParserTestCase::testOnPtMeas(), ippCommandParserTestCase::testOnPtMeasReport(), ippCommandParserTestCase::testScanOnCurve_BadFormat(), ippCommandParserTestCase::testScanOnCurve_Format1_BadData(), ippCommandParserTestCase::testScanOnCurve_Format2_BadData(), and ippCommandParserTestCase::testScanOnCurve_Format3_BadData().

int ippCommandParser::getTag  )  const
 

Definition at line 124 of file ippCommandParser.h.

Referenced by ippCommandParserTestCase::test1(), ippCommandParserTestCase::testCommandWithArguments(), ippCommandParserTestCase::testGetProp(), ippCommandParserTestCase::testInvalidCommands(), ippCommandParserTestCase::testOnPtMeasReport(), ippCommandParserTestCase::testScanOnCurve_BadFormat(), ippCommandParserTestCase::testScanOnCurve_Format1_BadData(), ippCommandParserTestCase::testScanOnCurve_Format1_OK(), ippCommandParserTestCase::testScanOnCurve_Format1_very_long_input(), ippCommandParserTestCase::testScanOnCurve_Format2_BadData(), ippCommandParserTestCase::testScanOnCurve_Format2_OK(), ippCommandParserTestCase::testScanOnCurve_Format3_BadData(), and ippCommandParserTestCase::testScanOnCurve_Format3_OK().

ippCommandPtr ippCommandParser::parseCommand  ) 
 

Definition at line 3437 of file ippCommandParser.cpp.

References BAD_CHARACTER_AFTER_COMMAND_END, EVENT_COMMAND_MUST_HAVE_EVENT_TAG, NON_EVENT_COMMAND_MUST_NOT_HAVE_EVENT_TAG, and parseTag().

Referenced by ippSpyServer::ProcessLine(), recheck_with_parser(), ippSimpleServerTestCase::SendCommands(), ippCommandParserTestCase::test1(), TestCommandsOnFile(), ippCommandParserTestCase::testCommandWithArguments(), ippCommandParserTestCase::testGetProp(), ippCommandParserTestCase::testInvalidCommands(), ippCommandParserTestCase::testOnMoveReportE(), ippCommandParserTestCase::testOnPtMeas(), ippCommandParserTestCase::testOnPtMeasReport(), ippCommandParserTestCase::testScanOnCurve_BadFormat(), ippCommandParserTestCase::testScanOnCurve_Format1_BadData(), ippCommandParserTestCase::testScanOnCurve_Format1_OK(), ippCommandParserTestCase::testScanOnCurve_Format1_very_long_input(), ippCommandParserTestCase::testScanOnCurve_Format2_BadData(), ippCommandParserTestCase::testScanOnCurve_Format2_OK(), ippCommandParserTestCase::testScanOnCurve_Format3_BadData(), and ippCommandParserTestCase::testScanOnCurve_Format3_OK().

void ippCommandParser::parseTag  ) 
 

Definition at line 4063 of file ippCommandParser.cpp.

References TAG_NUMBER_OUT_OF_RANGE_FOR_EVENT_TAG.

Referenced by parseCommand(), ippCommandParserTestCase::test1(), ippCommandParserTestCase::testCommandWithArguments(), ippCommandParserTestCase::testGetProp(), ippCommandParserTestCase::testInvalidCommands(), ippCommandParserTestCase::testOnPtMeasReport(), ippCommandParserTestCase::testScanOnCurve_BadFormat(), ippCommandParserTestCase::testScanOnCurve_Format1_BadData(), ippCommandParserTestCase::testScanOnCurve_Format1_OK(), ippCommandParserTestCase::testScanOnCurve_Format1_very_long_input(), ippCommandParserTestCase::testScanOnCurve_Format2_BadData(), ippCommandParserTestCase::testScanOnCurve_Format2_OK(), ippCommandParserTestCase::testScanOnCurve_Format3_BadData(), and ippCommandParserTestCase::testScanOnCurve_Format3_OK().

void ippCommandParser::setInput const char *  input  ) 
 

set the command string to parse , the input string must end up with the 13/10 ending caracters

Definition at line 111 of file ippCommandParser.cpp.

Referenced by ippSpyServer::ProcessLine(), recheck_with_parser(), ippSimpleServerTestCase::SendCommands(), ippCommandParserTestCase::test1(), TestCommandsOnFile(), ippCommandParserTestCase::testCommandWithArguments(), ippCommandParserTestCase::testGetProp(), ippCommandParserTestCase::testInvalidCommands(), ippCommandParserTestCase::testOnMoveReportE(), ippCommandParserTestCase::testOnPtMeas(), ippCommandParserTestCase::testOnPtMeasReport(), ippCommandParserTestCase::testScanOnCurve_BadFormat(), ippCommandParserTestCase::testScanOnCurve_Format1_BadData(), ippCommandParserTestCase::testScanOnCurve_Format1_OK(), ippCommandParserTestCase::testScanOnCurve_Format1_very_long_input(), ippCommandParserTestCase::testScanOnCurve_Format2_BadData(), ippCommandParserTestCase::testScanOnCurve_Format2_OK(), ippCommandParserTestCase::testScanOnCurve_Format3_BadData(), and ippCommandParserTestCase::testScanOnCurve_Format3_OK().


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 00:20:47 2006 for IPPDME by  doxygen 1.4.1