Public Member Functions | Private Member Functions | Private Attributes
ConvexDecomposition::InPlaceParser Class Reference

List of all members.

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 (void)
 InPlaceParser (char *data, int len)
 InPlaceParser (const char *fname)
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

Detailed Description

Definition at line 99 of file cd_wavefront.cpp.


Constructor & Destructor Documentation

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.

Definition at line 249 of file cd_wavefront.cpp.


Member Function Documentation

char * ConvexDecomposition::InPlaceParser::AddHard ( int &  argc,
const char **  argv,
char *  foo 
) [inline, private]

Definition at line 264 of file cd_wavefront.cpp.

Definition at line 171 of file cd_wavefront.cpp.

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.

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.

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.

Definition at line 160 of file cd_wavefront.cpp.

Definition at line 155 of file cd_wavefront.cpp.

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.


Member Data Documentation

Definition at line 203 of file cd_wavefront.cpp.

Definition at line 205 of file cd_wavefront.cpp.

Definition at line 206 of file cd_wavefront.cpp.

Definition at line 204 of file cd_wavefront.cpp.

Definition at line 202 of file cd_wavefront.cpp.

Definition at line 207 of file cd_wavefront.cpp.


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


convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Sat Jun 8 2019 20:01:17