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

ippResponseParser Class Reference

List of all members.

Public Member Functions

 ippResponseParser ()
virtual ~ippResponseParser ()
std::string getErrorMessageString () const
ipp::parserResErrorId getParserErr () const
tagIdType getTagType () const
int getTag () const
ippResponsePtr parseResponse ()
void parseTag ()
void setInput (const char *input)

Constructor & Destructor Documentation

ippResponseParser::ippResponseParser  ) 
 

Definition at line 95 of file ippResponseParser.cpp.

References INITSIZE.

ippResponseParser::~ippResponseParser  )  [virtual]
 

Definition at line 107 of file ippResponseParser.cpp.


Member Function Documentation

std::string ippResponseParser::getErrorMessageString  )  const
 

Definition at line 136 of file ippResponseParser.cpp.

References ippResponseNameStrings, and ippResponseNameType_MAXVALUE.

Referenced by ippSimpleClient::ProcessLine(), recheck_with_parser(), and TestResponsesOnFile().

ipp::parserResErrorId ippResponseParser::getParserErr  )  const
 

Definition at line 132 of file ippResponseParser.h.

Referenced by ippSimpleClient::ProcessLine().

int ippResponseParser::getTag  )  const
 

Definition at line 134 of file ippResponseParser.h.

Referenced by ippSimpleClient::ProcessLine().

tagIdType ippResponseParser::getTagType  )  const
 

Definition at line 133 of file ippResponseParser.h.

Referenced by ippSimpleClient::ProcessLine().

ippResponsePtr ippResponseParser::parseResponse  ) 
 

Definition at line 2463 of file ippResponseParser.cpp.

References ipp::BAD_CHARACTER_AFTER_RESPONSE_END, ipp::BAD_SEVENTH_CHARACTER_IN_RESPONSE, ippResponseNameType_ERROR, ipp::OK, parseTag(), and ipp::SPACE_MISSING_AT_EIGHTH_CHARACTER_OF_RESPONSE.

Referenced by ippSimpleClient::ProcessLine(), recheck_with_parser(), ippOnScanReportBuilderTestCase::test_very_large_response_bloc(), ippResponseParserTestCase::testOnMoveReportE(), ippResponseParserTestCase::testOnMoveReportE_bad_string(), ippResponseParserTestCase::testPtMeas(), TestResponsesOnFile(), ippResponseParserTestCase::testSetPropEResponse(), ippResponseParserTestCase::testSetPropEResponse_bad_string(), ippResponseParserTestCase::testSetPropEResponseMulti(), and ippResponseParserTestCase::testToolCollisionVolume().

void ippResponseParser::parseTag  ) 
 

Definition at line 2600 of file ippResponseParser.cpp.

References ipp::BAD_TAG_CHARACTER, CommandTag, EventTag, ipp::OK, ipp::SPACE_MISSING_AFTER_TAG, ipp::TAG_NUMBER_OUT_OF_RANGE_FOR_COMMAND_TAG, and ipp::ZERO_TAG_MUST_BE_SERVER_INITIATED_RESPONSE.

Referenced by parseResponse(), and ippSimpleClient::ProcessLine().

void ippResponseParser::setInput const char *  input  ) 
 

Definition at line 2653 of file ippResponseParser.cpp.

References IPPSIZE.

Referenced by ippSimpleClient::ProcessLine(), recheck_with_parser(), ippOnScanReportBuilderTestCase::test_very_large_response_bloc(), ippResponseParserTestCase::testOnMoveReportE(), ippResponseParserTestCase::testOnMoveReportE_bad_string(), ippResponseParserTestCase::testPtMeas(), TestResponsesOnFile(), ippResponseParserTestCase::testSetPropEResponse(), ippResponseParserTestCase::testSetPropEResponse_bad_string(), ippResponseParserTestCase::testSetPropEResponseMulti(), and ippResponseParserTestCase::testToolCollisionVolume().


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