|
const word | whiteSpace (" \t\n\v\f\r") |
| white space More...
|
|
int32 | countChar (const word &s, const char c) |
| Count numer of chars c in a word. More...
|
|
int32 | countChar (const char *s, const char c) |
| Count numer of chars c in a char string. More...
|
|
word | toUpper (const word &inStr) |
| convert a word to all caps More...
|
|
word | firstCapital (const word &inStr) |
|
bool | isYes (const word &str) |
| Check if str equals "Yes", "Y", "True", "Ok", "ON", or "T". More...
|
|
bool | isNo (const word &str) |
| Check if str equals "No", "N", "False", or "Off". More...
|
|
word | real2Fixed (const real &v, int32 numPrecision=6) |
| Convert floating point variable to string with fixed number of precisions. More...
|
|
word | real2Word (const real &v, int32 numPrecision=6) |
| Convert floating point variable to string with general format. More...
|
|
word | int322Word (const int32 &v) |
| Convert int32 to word. More...
|
|
word | removeDecimalZeros (const word &str) |
| Remove zeros from decimal part of a string number. More...
|
|
word | real2FixedStripZeros (const real &v, int32 numPrecision=6) |
| Convert to fixed point variable and remove zeros. More...
|
|
word | angleBracketsNames (const word &w1, const word &w2) |
| Output <w1,w2> More...
|
|
word | angleBracketsNames2 (const word &base, const word &w1, const word &w2) |
| Output base<w1,w2> More...
|
|
word | angleBracketsNames3 (const word &base, const word &w1, const word &w2, const word &w3) |
| Output base<w1,sw2,w3> More...
|
|
word | groupNames (const word &bw, const word &tw, char sep='.') |
| Group words and output bw.tw. More...
|
|
word | baseName (const word &w, char sep='.') |
| Find the base in a group separated by "." and return it. More...
|
|
word | tailName (const word &w, char sep='.') |
| Find tail name in a group separated by "." and return it. More...
|
|
bool | validWord (char c) |
| Is the character valid for a word name? More...
|
|
bool | validWordWithQuote (char c) |
| Is c a valid character including quote? More...
|
|
bool | validWord (const word &w) |
| Is a valid word? More...
|
|
bool | validWordWithQuote (const word &c) |
| Is a valid word with qoute? More...
|
|
bool | readUint32 (const word &w, uint32 &val) |
| Convert word to uint32. More...
|
|
bool | readUint32 (const char *buf, uint32 &val) |
| Convert char string to uint32. More...
|
|
bool | readInt64 (const word &w, int64 &val) |
| Convert word to int64. More...
|
|
bool | readInt64 (const char *buf, int64 &val) |
| Convert char string to int64. More...
|
|
bool | readInt32 (const word &w, int32 &val) |
| Convert word to int32. More...
|
|
bool | readInt32 (const char *buf, int32 &val) |
| Convert char string to int32. More...
|
|
bool | readInt8 (const word &w, int8 &val) |
| Convert word to int8. More...
|
|
bool | readInt8 (const char *buf, int8 &val) |
| Convert char string to int8. More...
|
|
bool | readReal (const word &w, real &val) |
| Convert word to real. More...
|
|
bool | readReal (const char *buf, real &val) |
| Convert char string to real. More...
|
|
bool | readBoolian_Str (const word &w, bool &val) |
| Convert word to bool. More...
|
|
bool | readBoolian_Str (const char *buf, bool &val) |
| Convert char string to bool. More...
|
|
bool | readValue (const word &w, real &val) |
|
bool | readValue (const word &w, uint32 &val) |
|
bool | readValue (const word &w, int64 &val) |
|
bool | readValue (const word &w, int32 &val) |
|
bool | readValue (const word &w, int8 &val) |
|
bool | readValue (const word &w, bool &val) |
|
INLINE_FUNCTION_HD bool | equal (const real &s1, const real &s2, real tol=smallValue) |
|
INLINE_FUNCTION_HD bool | equal (const int64 &s1, const int64 &s2) |
|
INLINE_FUNCTION_HD bool | equal (const int32 &s1, const int32 &s2) |
|
INLINE_FUNCTION_HD bool | equal (const int8 &s1, const int8 &s2) |
|
INLINE_FUNCTION_HD bool | equal (const uint32 &s1, const uint32 &s2) |
|
INLINE_FUNCTION bool | equal (const word &s1, const word &s2) |
| Are two words equal (host only)? More...
|
|
INLINE_FUNCTION_HD real | degree2Radian (const real &theta) |
| Convert degree to radians. More...
|
|
INLINE_FUNCTION_HD real | radian2Degree (const real &phi) |
| Convert radians to degree. More...
|
|