Public Member Functions | Private Member Functions | Private Attributes | List of all members
ConvexDecomposition::InPlaceParser Class Reference

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

Detailed Description

Definition at line 99 of file cd_wavefront.cpp.

Constructor & Destructor Documentation

◆ InPlaceParser() [1/3]

ConvexDecomposition::InPlaceParser::InPlaceParser ( void  )
inline

Definition at line 102 of file cd_wavefront.cpp.

◆ InPlaceParser() [2/3]

ConvexDecomposition::InPlaceParser::InPlaceParser ( char *  data,
int  len 
)
inline

Definition at line 107 of file cd_wavefront.cpp.

◆ InPlaceParser() [3/3]

ConvexDecomposition::InPlaceParser::InPlaceParser ( const char *  fname)
inline

Definition at line 113 of file cd_wavefront.cpp.

◆ ~InPlaceParser()

ConvexDecomposition::InPlaceParser::~InPlaceParser ( void  )

Definition at line 249 of file cd_wavefront.cpp.

Member Function Documentation

◆ AddHard()

char * ConvexDecomposition::InPlaceParser::AddHard ( int &  argc,
const char **  argv,
char *  foo 
)
inlineprivate

Definition at line 264 of file cd_wavefront.cpp.

◆ ClearHardSeparator()

void ConvexDecomposition::InPlaceParser::ClearHardSeparator ( char  c)
inline

Definition at line 171 of file cd_wavefront.cpp.

◆ DefaultSymbols()

void ConvexDecomposition::InPlaceParser::DefaultSymbols ( void  )

Definition at line 429 of file cd_wavefront.cpp.

◆ EOS()

bool ConvexDecomposition::InPlaceParser::EOS ( char  c)
inline

Definition at line 179 of file cd_wavefront.cpp.

◆ GetArglist()

const char ** ConvexDecomposition::InPlaceParser::GetArglist ( char *  source,
int &  count 
)

Definition at line 443 of file cd_wavefront.cpp.

◆ Init()

void ConvexDecomposition::InPlaceParser::Init ( void  )
inline

Definition at line 121 of file cd_wavefront.cpp.

◆ IsHard()

bool ConvexDecomposition::InPlaceParser::IsHard ( char  c)
inlineprivate

Definition at line 259 of file cd_wavefront.cpp.

◆ IsNonSeparator()

bool ConvexDecomposition::InPlaceParser::IsNonSeparator ( char  c)
inlineprivate

Definition at line 289 of file cd_wavefront.cpp.

◆ IsWhiteSpace()

bool ConvexDecomposition::InPlaceParser::IsWhiteSpace ( char  c)
inlineprivate

Definition at line 278 of file cd_wavefront.cpp.

◆ Parse()

int ConvexDecomposition::InPlaceParser::Parse ( InPlaceParserInterface callback)

Definition at line 385 of file cd_wavefront.cpp.

◆ ProcessLine()

int ConvexDecomposition::InPlaceParser::ProcessLine ( int  lineno,
char *  line,
InPlaceParserInterface callback 
)

Definition at line 296 of file cd_wavefront.cpp.

◆ SetCommentSymbol()

void ConvexDecomposition::InPlaceParser::SetCommentSymbol ( char  c)
inline

Definition at line 166 of file cd_wavefront.cpp.

◆ SetFile()

void ConvexDecomposition::InPlaceParser::SetFile ( const char *  fname)

Definition at line 213 of file cd_wavefront.cpp.

◆ SetHard()

void ConvexDecomposition::InPlaceParser::SetHard ( char  c)
inline

Definition at line 160 of file cd_wavefront.cpp.

◆ SetHardSeparator()

void ConvexDecomposition::InPlaceParser::SetHardSeparator ( char  c)
inline

Definition at line 155 of file cd_wavefront.cpp.

◆ SetQuoteChar()

void ConvexDecomposition::InPlaceParser::SetQuoteChar ( char  c)
inline

Definition at line 188 of file cd_wavefront.cpp.

◆ SetSourceData()

void ConvexDecomposition::InPlaceParser::SetSourceData ( char *  data,
int  len 
)
inline

Definition at line 142 of file cd_wavefront.cpp.

◆ SkipSpaces()

char * ConvexDecomposition::InPlaceParser::SkipSpaces ( char *  foo)
inlineprivate

Definition at line 283 of file cd_wavefront.cpp.

Member Data Documentation

◆ mData

char* ConvexDecomposition::InPlaceParser::mData
private

Definition at line 203 of file cd_wavefront.cpp.

◆ mHard

SeparatorType ConvexDecomposition::InPlaceParser::mHard[256]
private

Definition at line 205 of file cd_wavefront.cpp.

◆ mHardString

char ConvexDecomposition::InPlaceParser::mHardString[256 *2]
private

Definition at line 206 of file cd_wavefront.cpp.

◆ mLen

int ConvexDecomposition::InPlaceParser::mLen
private

Definition at line 204 of file cd_wavefront.cpp.

◆ mMyAlloc

bool ConvexDecomposition::InPlaceParser::mMyAlloc
private

Definition at line 202 of file cd_wavefront.cpp.

◆ mQuoteChar

char ConvexDecomposition::InPlaceParser::mQuoteChar
private

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 Wed Mar 2 2022 00:05:00