![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <StrA.h>
Static Public Member Functions | |
static bool __stdcall | IsBoolTrue (const char *pszStr, bool bHead=false) |
static bool __stdcall | IsBoolFalse (const char *pszStr, bool bHead=false) |
static const char *__stdcall | GetArticleAndSpace (const char *pszWords) |
static bool __stdcall | IsPlural (const char *pszWord) |
static INT_PTR __stdcall | GetFixedIntRef (const char *&rpszExp, int nPlaces) |
static StrLen_t __stdcall | MakeNamedBitmask (char *pszOut, StrLen_t iOutSizeMax, UINT dwFlags, const char **ppszNames, ITERATE_t iMaxNames, char chSep='\0') |
static StrLen_t __stdcall | BlockReplacement (char *pszOut, StrLen_t iOutSizeMax, const char *pszInp, IIniBaseGetter *pBlockReq, bool bRecursing=false) |
Friends | |
class | StrATests |
Functions on 8 bit char ANSI C strings. Opposite of StrU.
|
static |
Replace strings in a marked/delimited block using results from pBlockReq Used for <?X?> replacement in scripts. e.g. SPEAK "hello there <?SRC.NAME?> my name is <?NAME?>"
|
static |
What indefinite article should be used with this word? "a ", "an ", ""
|
static |
Get a fixed point number from a string. (n nPlaces). Used for money CY ?
convert string to boolean value.
convert string to boolean value.
is the word already plural? but will typically appear as a single object. use with StrA::GetArticleAndSpace TODO THIS NEEDS WORK Similar to M$ System.Data.Entity.Design.PluralizationServices
|
static |
For each bit set in dwFlags, copy a ppszNames[bit number] string to the pszOut. separated by |
|
friend |