21 #ifndef YCPByteblock_h 22 #define YCPByteblock_h 69 const unsigned char *
value()
const;
88 std::ostream &
toXml (std::ostream &
str,
int indent )
const;
117 #endif // YCPByteblock_h YCPByteblockRep(const unsigned char *bytes, long len)
Definition: YCPByteblock.cc:30
#define str
Definition: scanner.cc:1003
std::ostream & toXml(std::ostream &str, int indent) const
Definition: YCPByteblock.cc:141
YCPValueType
Value Type Defines constants for the Value types. The Value type specifies the class the YCPValueRep ...
Definition: YCPValue.h:36
Wrapper for YCPByteblockRep This class realizes an automatic memory management via YCPElement...
Definition: YCPByteblock.h:108
~YCPByteblockRep()
Definition: YCPByteblock.cc:46
YCPOrder compare(const YCPByteblock &s) const
Definition: YCPByteblock.cc:68
const unsigned char * value() const
Definition: YCPByteblock.cc:53
std::ostream & toStream(std::ostream &str) const
Definition: YCPByteblock.cc:135
string toString() const
Definition: YCPByteblock.cc:93
friend class YCPByteblock
Definition: YCPByteblock.h:44
YCPValueRep representing a block of bytes.
Definition: YCPByteblock.h:31
const unsigned char * bytes
Definition: YCPByteblock.h:36
YCPOrder
Definition: YCPValue.h:57
Abstract base class of all YCP values. Abstract base class of all YCP elements that can be used as pr...
Definition: YCPValue.h:71
YCPValueType valuetype() const
Definition: YCPByteblock.cc:124
YCPByteblock(const unsigned char *r, long l)
Definition: YCPByteblock.h:112
#define DEF_COMMON(name, base)
Definition: YCPElement.h:83
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
long len
Definition: YCPByteblock.h:41
An istream that remembers some data about the bytecode.
Definition: Bytecode.h:42
long size() const
Definition: YCPByteblock.cc:60