GL Studio C++ Runtime API
|
#include <dnc_util.h>
Public Member Functions | |
DNCString (const char *const src, const bool trimTrailingWS=true) | |
~DNCString () | |
bool | IsValid (void) const |
operator const char * (void) const | |
Protected Attributes | |
VPFUtil::WarningBool | _isValid |
char * | _str |
helper class for a fixed value string
DNCString | ( | const char *const | src, |
const bool | trimTrailingWS = true |
||
) |
Ctor - deep copy given string - NOTE: string will be initialized to "" if src == NULL
src | source string to copy |
trimTrailingWS | [optional, defaults to true] true to trim trailing whitespace when copying src else false |
~DNCString | ( | ) |
Dtor
|
inline |
Determine if the string is valid
|
inline |
Get the string buffer (const)
|
protected |
true if string is valid else false
|
protected |
allocated string buffer else NULL