Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ParseUtil.h File Reference
#include <vector>
#include "Types.h"
#include "Geometry.h"
#include "Color.h"
#include "Text.h"
#include "Parser.h"
#include "Reader.h"
#include "Token.h"

Go to the source code of this file.

Functions

bool GetDefBool (bool &dst, TermDef *def, const char *file)
bool GetDefText (Text &dst, TermDef *def, const char *file)
bool GetDefText (char *dst, TermDef *def, const char *file)
bool GetDefNumber (int &dst, TermDef *def, const char *file)
bool GetDefNumber (DWORD &dst, TermDef *def, const char *file)
bool GetDefNumber (float &dst, TermDef *def, const char *file)
bool GetDefNumber (double &dst, TermDef *def, const char *file)
bool GetDefVec (Vec3 &dst, TermDef *def, const char *file)
bool GetDefColor (Color &dst, TermDef *def, const char *file)
bool GetDefColor (ColorValue &dst, TermDef *def, const char *file)
bool GetDefRect (Rect &dst, TermDef *def, const char *file)
bool GetDefInsets (Insets &dst, TermDef *def, const char *file)
bool GetDefTime (int &dst, TermDef *def, const char *file)
bool GetDefArray (int *dst, int size, TermDef *def, const char *file)
bool GetDefArray (float *dst, int size, TermDef *def, const char *file)
bool GetDefArray (double *dst, int size, TermDef *def, const char *file)
bool GetDefArray (std::vector< DWORD > &array, TermDef *def, const char *file)
bool GetDefArray (std::vector< float > &array, TermDef *def, const char *file)

Function Documentation

bool GetDefArray ( int *  dst,
int  size,
TermDef def,
const char *  file 
)

Definition at line 313 of file ParseUtil.cpp.

bool GetDefArray ( float *  dst,
int  size,
TermDef def,
const char *  file 
)

Definition at line 339 of file ParseUtil.cpp.

bool GetDefArray ( double *  dst,
int  size,
TermDef def,
const char *  file 
)

Definition at line 365 of file ParseUtil.cpp.

bool GetDefArray ( std::vector< DWORD > &  array,
TermDef def,
const char *  file 
)

Definition at line 393 of file ParseUtil.cpp.

bool GetDefArray ( std::vector< float > &  array,
TermDef def,
const char *  file 
)

Definition at line 418 of file ParseUtil.cpp.

bool GetDefBool ( bool &  dst,
TermDef def,
const char *  file 
)

Definition at line 23 of file ParseUtil.cpp.

bool GetDefColor ( Color dst,
TermDef def,
const char *  file 
)

Definition at line 235 of file ParseUtil.cpp.

bool GetDefColor ( ColorValue dst,
TermDef def,
const char *  file 
)

Definition at line 279 of file ParseUtil.cpp.

bool GetDefInsets ( Insets dst,
TermDef def,
const char *  file 
)

Definition at line 207 of file ParseUtil.cpp.

bool GetDefNumber ( int &  dst,
TermDef def,
const char *  file 
)

Definition at line 80 of file ParseUtil.cpp.

bool GetDefNumber ( DWORD &  dst,
TermDef def,
const char *  file 
)

Definition at line 98 of file ParseUtil.cpp.

bool GetDefNumber ( float &  dst,
TermDef def,
const char *  file 
)

Definition at line 116 of file ParseUtil.cpp.

bool GetDefNumber ( double &  dst,
TermDef def,
const char *  file 
)

Definition at line 134 of file ParseUtil.cpp.

bool GetDefRect ( Rect dst,
TermDef def,
const char *  file 
)

Definition at line 179 of file ParseUtil.cpp.

bool GetDefText ( Text dst,
TermDef def,
const char *  file 
)

Definition at line 44 of file ParseUtil.cpp.

bool GetDefText ( char *  dst,
TermDef def,
const char *  file 
)

Definition at line 62 of file ParseUtil.cpp.

bool GetDefTime ( int &  dst,
TermDef def,
const char *  file 
)

Definition at line 445 of file ParseUtil.cpp.

bool GetDefVec ( Vec3 dst,
TermDef def,
const char *  file 
)

Definition at line 152 of file ParseUtil.cpp.