GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Parser Class Reference

#include <Font.hh>

Public Member Functions

 Parser ()
int ParseInt (std::string s, bool &success)
int ParseEnum (std::string *strings, int size, std::string s, bool &success)
bool ParseBool (std::string s, bool &success)
float ParseFloat (std::string s, bool &success)
Point2d ParsePoint2d (std::string s, bool &success)
Point ParsePoint (std::string s, bool &success)
template<class T>
VectorArray< T > * ParseArray (std::string s, bool &success)
template<class T>
T ParseStruct (std::string s, bool &success)
Loop2 ParseLoop (std::string s, bool &success)
Path3d2 ParsePath3d (std::string s, bool &success)
Path2d2 ParsePath2d (std::string s, bool &success)
template<class T>
T ParseStruct2 (std::string s, bool &success)
template<class T>
VectorArray< T > * ParseArray2 (std::string s, bool &success)
 Parser (std::string apiname)
std::string trim (std::string s)
int find_one_of (std::string line, std::string chars)
int find (std::string line, std::string str)
void parse (std::string filename)
void print (std::string funcname)
void save (std::string filename)
void save2 (std::string filename2)
 Parser (std::string apiname)
std::string trim (std::string s)
int find_one_of (std::string line, std::string chars)
int find (std::string line, std::string str)
void parse (std::string filename)
void print_func_dep (std::string funcname)
void print_class_dep (std::string funcname)
void print (std::string funcname)
void save (std::string filename)
void save2 (std::string filename2)

Constructor & Destructor Documentation

◆ Parser() [1/3]

Parser::Parser ( )
inline

◆ Parser() [2/3]

Parser::Parser ( std::string apiname)
inline

◆ Parser() [3/3]

Parser::Parser ( std::string apiname)
inline

Member Function Documentation

◆ find() [1/2]

int Parser::find ( std::string line,
std::string str )
inline
Here is the caller graph for this function:

◆ find() [2/2]

int Parser::find ( std::string line,
std::string str )
inline

◆ find_one_of() [1/2]

int Parser::find_one_of ( std::string line,
std::string chars )
inline
Here is the caller graph for this function:

◆ find_one_of() [2/2]

int Parser::find_one_of ( std::string line,
std::string chars )
inline

◆ parse() [1/2]

void Parser::parse ( std::string filename)
inline
Here is the caller graph for this function:

◆ parse() [2/2]

void Parser::parse ( std::string filename)
inline

◆ ParseArray()

template<class T>
VectorArray< T > * Parser::ParseArray ( std::string s,
bool & success )

◆ ParseArray2()

template<class T>
VectorArray< T > * Parser::ParseArray2 ( std::string s,
bool & success )

◆ ParseBool()

bool Parser::ParseBool ( std::string s,
bool & success )

◆ ParseEnum()

int Parser::ParseEnum ( std::string * strings,
int size,
std::string s,
bool & success )

◆ ParseFloat()

float Parser::ParseFloat ( std::string s,
bool & success )

◆ ParseInt()

int Parser::ParseInt ( std::string s,
bool & success )

◆ ParseLoop()

Loop2 Parser::ParseLoop ( std::string s,
bool & success )
inline

◆ ParsePath2d()

Path2d2 Parser::ParsePath2d ( std::string s,
bool & success )

◆ ParsePath3d()

Path3d2 Parser::ParsePath3d ( std::string s,
bool & success )

◆ ParsePoint()

Point Parser::ParsePoint ( std::string s,
bool & success )

◆ ParsePoint2d()

Point2d Parser::ParsePoint2d ( std::string s,
bool & success )

◆ ParseStruct()

template<class T>
T Parser::ParseStruct ( std::string s,
bool & success )
Here is the caller graph for this function:

◆ ParseStruct2()

template<class T>
T Parser::ParseStruct2 ( std::string s,
bool & success )

◆ print() [1/2]

void Parser::print ( std::string funcname)
inline
Here is the caller graph for this function:

◆ print() [2/2]

void Parser::print ( std::string funcname)
inline

◆ print_class_dep()

void Parser::print_class_dep ( std::string funcname)
inline
Here is the caller graph for this function:

◆ print_func_dep()

void Parser::print_func_dep ( std::string funcname)
inline
Here is the caller graph for this function:

◆ save() [1/2]

void Parser::save ( std::string filename)
inline
Here is the caller graph for this function:

◆ save() [2/2]

void Parser::save ( std::string filename)
inline

◆ save2() [1/2]

void Parser::save2 ( std::string filename2)
inline
Here is the caller graph for this function:

◆ save2() [2/2]

void Parser::save2 ( std::string filename2)
inline

◆ trim() [1/2]

std::string Parser::trim ( std::string s)
inline
Here is the caller graph for this function:

◆ trim() [2/2]

std::string Parser::trim ( std::string s)
inline

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