#include <YCPString.h>
Inheritance diagram for YCPStringRep:
Public Member Functions | |
string | value () const |
YCPOrder | compare (const YCPString &v, bool rl=false) const |
const char * | value_cstr () const |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
YCPValueType | valuetype () const |
Protected Member Functions | |
YCPStringRep (string s) | |
Private Attributes | |
Ustring | v |
YCP Syntax: Doublequoted ASCII string.
"This is a string", "", "08712345"
Constructor & Destructor Documentation
|
Creates a new YCPStringRep from a C++ string.
|
|
Compares two YCPStrings for equality, greaterness or smallerness.
|
|
Output value as bytecode to stream Implements YCPElementRep. |
|
Returns a string representation of the value of this object. It contains enclosing quotes. Newlines and quotes contained in the string itself are quoted with backslashes. Implements YCPElementRep. |
|
Returns the value of this object in form of a C++ string value. |
|
Returns the value in form of a C const char * string. |
|
Returns YT_STRING. See YCPValueRep::valuetype. Implements YCPValueRep. |
|
|