IntervalParserFacade Class Reference

Helper Class that hides the internal structure of Interval Parser, and exposes the the methods of IntervalParser. More...

List of all members.

Public Member Functions

simba_wstringGetLastErrorMessage ()
 This method returns the error message from the most recent Call to Parse Method. If the Call to Last Parse method returns false, then this would return the actual error from m_intervalParser.
 IntervalParserFacade ()
 Constructor.
bool Parse (const simba_char *in_intervalString, IntervalData &out_intervalData)
 Parses the interval string and returns the IntervalData struct that has parsed data.
 ~IntervalParserFacade ()
 Destructor.

Detailed Description

Helper Class that hides the internal structure of Interval Parser, and exposes the the methods of IntervalParser.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

simba_wstring& GetLastErrorMessage (  ) 

This method returns the error message from the most recent Call to Parse Method. If the Call to Last Parse method returns false, then this would return the actual error from m_intervalParser.

bool Parse ( const simba_char in_intervalString,
IntervalData &  out_intervalData 
)

Parses the interval string and returns the IntervalData struct that has parsed data.

Parameters:
in_intervalString Interval Literal String that needs to parsed.
out_intervalData (NOT OWN) IntervalData that needs to be filled by Parser.
Returns:
true if parsing is successful, false if Parsing failed. Call GetLastErrorMessage() to see the actual error message.

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba