JX Application Framework
|
#include "JString.h"
#include "JStringIterator.h"
#include "JStringMatch.h"
#include "jStreamUtil.h"
#include "jMath.h"
#include <stdlib.h>
#include <sstream>
#include <iomanip>
#include "jErrno.h"
#include "jAssert.h"
#include "JMemoryManager.h"
#include "JStringSplit.th"
Macros | |
#define | Separator JString |
#define | Separator JRegex |
Functions | |
JSize | lgToSize (const JSize lgSize) |
JUtf8Byte * | alloc (const JSize lgSize) |
std::istream & | operator>> (std::istream &input, JString &aString) |
std::ostream & | operator<< (std::ostream &output, const JString &aString) |
void | jAppendChar (char s1[], char c) |
#define Separator JString |
Leading blanks are included. Trailing blanks are ignored.
#define Separator JRegex |
Leading blanks are included. Trailing blanks are ignored.
|
inline |
std::ostream & operator<< | ( | std::ostream & | output, |
const JString & | aString | ||
) |
std::istream & operator>> | ( | std::istream & | input, |
JString & | aString | ||
) |
The string data is delimited by double quotes: "this is a string".
To include double quotes in a string, use " To include a backslash in a string, use \
An exception is made if the streams are std::cin or std::cout. For input, characters are simply read until 'return' is pressed. For output, Print() is used.