Public Member Functions | |
void | ClearHardSeparator (char c) |
void | DefaultSymbols (void) |
bool | EOS (char c) |
const char ** | GetArglist (char *source, int &count) |
void | Init (void) |
InPlaceParser (const char *fname) | |
InPlaceParser (char *data, int len) | |
InPlaceParser (void) | |
int | Parse (InPlaceParserInterface *callback) |
int | ProcessLine (int lineno, char *line, InPlaceParserInterface *callback) |
void | SetCommentSymbol (char c) |
void | SetFile (const char *fname) |
void | SetHard (char c) |
void | SetHardSeparator (char c) |
void | SetQuoteChar (char c) |
void | SetSourceData (char *data, int len) |
~InPlaceParser (void) | |
Private Member Functions | |
char * | AddHard (int &argc, const char **argv, char *foo) |
bool | IsHard (char c) |
bool | IsNonSeparator (char c) |
bool | IsWhiteSpace (char c) |
char * | SkipSpaces (char *foo) |
Private Attributes | |
char * | mData |
SeparatorType | mHard [256] |
char | mHardString [256 *2] |
int | mLen |
bool | mMyAlloc |
char | mQuoteChar |
Definition at line 99 of file cd_wavefront.cpp.
ConvexDecomposition::InPlaceParser::InPlaceParser | ( | void | ) | [inline] |
Definition at line 102 of file cd_wavefront.cpp.
ConvexDecomposition::InPlaceParser::InPlaceParser | ( | char * | data, | |
int | len | |||
) | [inline] |
Definition at line 107 of file cd_wavefront.cpp.
ConvexDecomposition::InPlaceParser::InPlaceParser | ( | const char * | fname | ) | [inline] |
Definition at line 113 of file cd_wavefront.cpp.
ConvexDecomposition::InPlaceParser::~InPlaceParser | ( | void | ) |
Definition at line 249 of file cd_wavefront.cpp.
char * ConvexDecomposition::InPlaceParser::AddHard | ( | int & | argc, | |
const char ** | argv, | |||
char * | foo | |||
) | [inline, private] |
Definition at line 264 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::ClearHardSeparator | ( | char | c | ) | [inline] |
Definition at line 171 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::DefaultSymbols | ( | void | ) |
Definition at line 429 of file cd_wavefront.cpp.
bool ConvexDecomposition::InPlaceParser::EOS | ( | char | c | ) | [inline] |
Definition at line 179 of file cd_wavefront.cpp.
const char ** ConvexDecomposition::InPlaceParser::GetArglist | ( | char * | source, | |
int & | count | |||
) |
Definition at line 443 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::Init | ( | void | ) | [inline] |
Definition at line 121 of file cd_wavefront.cpp.
bool ConvexDecomposition::InPlaceParser::IsHard | ( | char | c | ) | [inline, private] |
Definition at line 259 of file cd_wavefront.cpp.
bool ConvexDecomposition::InPlaceParser::IsNonSeparator | ( | char | c | ) | [inline, private] |
Definition at line 289 of file cd_wavefront.cpp.
bool ConvexDecomposition::InPlaceParser::IsWhiteSpace | ( | char | c | ) | [inline, private] |
Definition at line 278 of file cd_wavefront.cpp.
int ConvexDecomposition::InPlaceParser::Parse | ( | InPlaceParserInterface * | callback | ) |
Definition at line 385 of file cd_wavefront.cpp.
int ConvexDecomposition::InPlaceParser::ProcessLine | ( | int | lineno, | |
char * | line, | |||
InPlaceParserInterface * | callback | |||
) |
Definition at line 296 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetCommentSymbol | ( | char | c | ) | [inline] |
Definition at line 166 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetFile | ( | const char * | fname | ) |
Definition at line 213 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetHard | ( | char | c | ) | [inline] |
Definition at line 160 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetHardSeparator | ( | char | c | ) | [inline] |
Definition at line 155 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetQuoteChar | ( | char | c | ) | [inline] |
Definition at line 188 of file cd_wavefront.cpp.
void ConvexDecomposition::InPlaceParser::SetSourceData | ( | char * | data, | |
int | len | |||
) | [inline] |
Definition at line 142 of file cd_wavefront.cpp.
char * ConvexDecomposition::InPlaceParser::SkipSpaces | ( | char * | foo | ) | [inline, private] |
Definition at line 283 of file cd_wavefront.cpp.
char* ConvexDecomposition::InPlaceParser::mData [private] |
Definition at line 203 of file cd_wavefront.cpp.
SeparatorType ConvexDecomposition::InPlaceParser::mHard[256] [private] |
Definition at line 205 of file cd_wavefront.cpp.
char ConvexDecomposition::InPlaceParser::mHardString[256 *2] [private] |
Definition at line 206 of file cd_wavefront.cpp.
int ConvexDecomposition::InPlaceParser::mLen [private] |
Definition at line 204 of file cd_wavefront.cpp.
bool ConvexDecomposition::InPlaceParser::mMyAlloc [private] |
Definition at line 202 of file cd_wavefront.cpp.
char ConvexDecomposition::InPlaceParser::mQuoteChar [private] |
Definition at line 207 of file cd_wavefront.cpp.