GEL
2
GEL is a library for Geometry and Linear Algebra
|
This namespace is for general utilities that do not fit elsewhere. More...
Classes | |
struct | UpCase |
class | ArgExtracter |
class | Grid2D |
struct | HashKey3uc |
struct | HashKey3usi |
struct | HashKey1c |
class | HashTable |
Hashtable class template. More... | |
class | ResourceRecord |
This class template represents a resource record. More... | |
class | ResourcePtr |
Template for a pointer to a reference counted resource. More... | |
class | ResourceManager |
Resource manager class. More... | |
class | Timer |
struct | XmlHead |
struct | XmlElement |
struct | XmlBody |
class | XmlDoc |
Typedefs | |
typedef unsigned char | FlagByte |
typedef void(* | XmlElementHandler )(XmlElement &) |
Functions | |
template<class T > | |
T | string_convert (const std::string &x) |
template<> | |
int | string_convert (const std::string &x) |
void | up_case_string (std::string &s) |
bool | init_randoms () |
void | do_init_randoms () |
void | parse (const char *str, bool &x) |
void | parse (const char *str, string &x) |
void | parse (const char *str, int &x) |
void | parse (const char *str, Vec2i &vec) |
void | parse (const char *str, float &x) |
void | parse (const char *str, Vec2f &vec) |
void | parse (const char *str, Vec3f &vec) |
void | parse (const char *str, Vec4f &vec) |
void | parse (const char *str, vector< float > &v) |
void | parse (const char *str, vector< double > &v) |
void | parse (const char *str, vector< Vec2f > &v) |
void | parse (const char *str, vector< Vec3f > &v) |
void | parse (const char *str, vector< int > &v) |
void | parse (const char *str, std::string &x) |
void | parse (const char *str, std::vector< float > &v) |
void | parse (const char *str, std::vector< double > &v) |
void | parse (const char *str, std::vector< CGLA::Vec2f > &v) |
void | parse (const char *str, std::vector< CGLA::Vec3f > &v) |
void | parse (const char *str, std::vector< int > &v) |
void | parseSMPT (const char *str, float &x) |
template<class RES > | |
int | get_no_resources () |
template<class RES > | |
ResourcePtr< RES > | get_resource_ptr (const std::string &str) |
template<class RES > | |
ResourcePtr< RES > | register_dynamic_resource (const std::string &str, RES *res) |
template<class RES > | |
ResourcePtr< RES > | register_static_resource (const std::string &str, RES *res) |
string | trim (const string &s, const string &wspaces) |
string | trim (const string &s) |
void | split (const string &s, list< string > &result, const string &delim) |
void | split (const string &s, list< string > &result) |
void | trim_split (const string &s, list< string > &result, const string &delim) |
void | trim_split (const string &s, list< string > &result) |
void | get_first (string &s, string &first) |
void | get_last (string &s, string &last) |
std::string | trim (const std::string &s, const std::string &wspaces) |
std::string | trim (const std::string &s) |
void | split (const std::string &s, std::list< std::string > &result, const std::string &delim) |
void | split (const std::string &s, std::list< std::string > &result) |
void | trim_split (const std::string &s, std::list< std::string > &result, const std::string &delim) |
void | trim_split (const std::string &s, std::list< std::string > &result) |
void | get_first (std::string &s, std::string &first) |
void | get_last (std::string &s, std::string &last) |
void | parse_attribs (const string &s, map< string, string > &result) |
ifstream & | seek_string (ifstream &in, const string &s, const size_t bufsize=100) |
ifstream & | read_until (ifstream &in, string &s_in, const string s, const size_t bufsize=500) |
ifstream & | operator>> (ifstream &in, XmlHead &fhead) |
ifstream & | operator>> (ifstream &in, XmlElement &elem) |
ifstream & | operator>> (ifstream &in, XmlBody &body) |
ostream & | operator<< (ostream &out, const pair< string, string > &attrib) |
ostream & | operator<< (ostream &out, const XmlHead &head) |
std::ostream & | operator<< (std::ostream &out, const XmlHead &head) |
Variables | |
int | randoms1 [UCHAR_MAX] |
int | randoms2 [UCHAR_MAX] |
int | randoms3 [UCHAR_MAX] |
const FlagByte | REMOVE_WHEN_UNUSED = 0x01 |
const FlagByte | STATIC_RESOURCE = 0x02 |
This namespace is for general utilities that do not fit elsewhere.