![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include "StrChar.h"#include "StrConst.h"#include "StrNum.h"#include "StrU.h"#include "StrFormat.h"#include "cValT.h"#include "cHeap.h"#include "cUnitTestDecl.h"#include "cDebugAssert.h"Go to the source code of this file.
Classes | |
| struct | Gray::StrT |
| struct | Gray::StrX< TYPE > |
Namespaces | |
| Gray | |
| < The main namespace for all Core functions. | |
Macros | |
| #define | STR_NL "\n" |
| NL/LF for Linux format text files. (10) Use "#define" so we can concatenate strings at compile time. More... | |
| #define | STR_CRLF "\r\n" |
| CR+LF for DOS/Windows format text files. (13,10) More... | |
| #define | STR_TABLEFIND_N(k, t) StrT::TableFind( k, t, sizeof(t[0])) |
| #define | STR_TABLEFIND_NH(k, t) StrT::TableFindHead( k, t, sizeof(t[0])) |
| #define | STR_TABLEFIND_S(k, t) StrT::TableFindSorted( k, t, _countof(t)-1, sizeof(t[0])) |
| #define | STR_TABLEFIND_SH(k, t) StrT::TableFindHeadSorted( k, t, _countof(t)-1, sizeof(t[0])) |
Typedefs | |
| typedef UINT32 | Gray::STR_BLOCKS_t |
| bit mask of STR_BLOCK_TYPE More... | |
| typedef UINT32 | Gray::STRP_MASK_t |
| bit mask of STRP_TYPE_ More... | |
Enumerations | |
| enum | Gray::STR_BLOCK_TYPE { Gray::STR_BLOCK_NONE = -1 , Gray::STR_BLOCK_QUOTE = 0 , Gray::STR_BLOCK_CURLY , Gray::STR_BLOCK_SQUARE , Gray::STR_BLOCK_PAREN , Gray::STR_BLOCK_QTY } |
| < quotes/brackets and parenthesis must be matched. More... | |
| enum | Gray::STRP_TYPE_ { Gray::STRP_0 , Gray::STRP_START_WHITE = 0x01 , Gray::STRP_SPACE_SEP = 0x02 , Gray::STRP_END_WHITE = 0x04 , Gray::STRP_CHECK_BLOCKS = 0x08 , Gray::STRP_DEF = 0x0F , Gray::STRP_MERGE_CRNL = 0x10 , Gray::STRP_EMPTY_SKIP = 0x20 , Gray::STRP_EMPTY_STOP = 0x40 , Gray::STRP_ALL = 0x7F } |
| #define STR_CRLF "\r\n" |
CR+LF for DOS/Windows format text files. (13,10)
| #define STR_NL "\n" |
NL/LF for Linux format text files. (10) Use "#define" so we can concatenate strings at compile time.
| #define STR_TABLEFIND_N | ( | k, | |
| t | |||
| ) | StrT::TableFind( k, t, sizeof(t[0])) |
| #define STR_TABLEFIND_NH | ( | k, | |
| t | |||
| ) | StrT::TableFindHead( k, t, sizeof(t[0])) |
| #define STR_TABLEFIND_S | ( | k, | |
| t | |||
| ) | StrT::TableFindSorted( k, t, _countof(t)-1, sizeof(t[0])) |
| #define STR_TABLEFIND_SH | ( | k, | |
| t | |||
| ) | StrT::TableFindHeadSorted( k, t, _countof(t)-1, sizeof(t[0])) |