Parsing functions utility header file. More...
#include <fstream>
Go to the source code of this file.
Namespaces | |
namespace | VR3AAMParser |
AAM file parsing namespace. | |
Functions | |
bool | VR3AAMParser::EnterBlock (std::ifstream &is) |
Reads the file returning true if the next parsed token is a block begin token. | |
bool | VR3AAMParser::ExitBlock (std::ifstream &is) |
Reads the file returning true if the next parsed token is a block exit token. | |
bool | VR3AAMParser::SkipBlock (std::ifstream &is, int level) |
Skips an entire block opened by a '{' and closed by a '}'. | |
bool | VR3AAMParser::GoToSection (std::ifstream &is, const char *sec_name) |
Reads the file looking for a particular section. | |
bool | VR3AAMParser::GetGeoSection (std::ifstream &is, bool &smgEnabled) |
bool | VR3AAMParser::GetIntPar (std::ifstream &is, const char *par_name, int &int_param) |
Reads the integer parameter whose tag is par_name. | |
bool | VR3AAMParser::GetFloatPar (std::ifstream &is, const char *par_name, float &float_param) |
Reads the float parameter whose tag is par_name. | |
bool | VR3AAMParser::GetStringPar (std::ifstream &is, const char *par_name, std::string &string_param) |
Reads the string parameter whose tag is par_name. | |
bool | VR3AAMParser::GetIDNamePar (std::ifstream &is, const char *par_name, int &ID, std::string &str) |
Reads a parameter whose tag is par_name returning the associated integer and the string. | |
bool | VR3AAMParser::GetFloatVec3 (std::ifstream &is, float fVector[3]) |
Reads a float 3-dimensional vector. | |
bool | VR3AAMParser::GetFloatVec3Par (std::ifstream &is, const char *par_name, float fVector[3]) |
Reads the float 3-dimensional vector parameter whose tag is par_name. | |
bool | VR3AAMParser::GetFloatVec2 (std::ifstream &is, float fVector[2]) |
Reads a float 2-dimensional vector. | |
bool | VR3AAMParser::GetInt2Par (std::ifstream &is, const char *par_name, int &val1, int &val2) |
Reads an int parameter composed by two values. | |
bool | VR3AAMParser::GetIntVec3 (std::ifstream &is, int iVector[3]) |
Reads an 3-dimensional vector integer vector. | |
bool | VR3AAMParser::GetIntVec3Par (std::ifstream &is, const char *par_name, int iVector[3]) |
Reads the int 3-dimensional integer vector parameter whose tag is par_name. | |
bool | VR3AAMParser::GetIntVec31Par (std::ifstream &is, const char *par_name, int iVector[3], int &val) |
Reads the int 3-dimensional integer vector parameter whose tag is par_name and an additional integer. | |
bool | VR3AAMParser::SkipPar (std::ifstream &is, const char *par_name) |
Skips a paramameter whose tag is par_name (if it effectively is the next tag) | |
bool | VR3AAMParser::SeekPar (std::ifstream &is, const char *par_name) |
Seeks a parameter whose tag is par_name and positions the stream on that line. |
Parsing functions utility header file.
This header file declares some utility functions to use when AAM file parsing is required.
Definition in file VR3AAMParser.h.