82 const string&
value()
const;
115 std::ostream &
toStream (std::ostream &
str)
const;
116 std::ostream &
toXml (std::ostream &
str,
int indent )
const;
125 #define CONST_ELEMENT (static_cast<const YCPStringRep*>(element))
146 #endif // YCPString_h
#define str
Definition: scanner.cc:997
bool is_ascii
Definition: YCPString.h:43
DEF_COMMON(String, Value)
string toString() const
Definition: YCPString.cc:111
bool isEmpty() const
Definition: YCPString.cc:49
YCPValueType
Value Type Defines constants for the Value types. The Value type specifies the class the YCPValueRep ...
Definition: YCPValue.h:36
std::ostream & toStream(std::ostream &str) const
Definition: YCPString.cc:148
wstring wvalue() const
Definition: YCPString.cc:63
bool isAscii() const
Definition: YCPString.h:77
YCPString(const string &s)
Definition: YCPString.h:137
Wrapper for YCPStringRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPStringRep with the arrow operator. See YCPStringRep.
Definition: YCPString.h:133
YCPValueRep representing a character string of arbitrary length. Whatever internal representation is ...
Definition: YCPString.h:39
YCPOrder
Definition: YCPValue.h:57
YCPString(const wstring &s)
Definition: YCPString.h:138
#define CONST_ELEMENT
Definition: YCPString.h:125
YCPValueType valuetype() const
Definition: YCPString.cc:137
Abstract base class of all YCP values. Abstract base class of all YCP elements that can be used as pr...
Definition: YCPValue.h:71
std::ostream & toXml(std::ostream &str, int indent) const
Definition: YCPString.cc:155
const char * value_cstr() const
Definition: YCPString.cc:104
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
string v
Definition: YCPString.h:42
bool isEmpty() const
Definition: YCPString.h:141
An istream that remembers some data about the bytecode.
Definition: Bytecode.h:42
YCPStringRep(const string &s)
Definition: YCPString.cc:33
const string & value() const
Definition: YCPString.cc:56
YCPOrder compare(const YCPString &v, bool rl=false) const
Definition: YCPString.cc:71