63 string magic ()
const;
76 std::ostream &
toXml (std::ostream &
str,
int indent )
const;
94 YCPExternal(
void * payload,
string magic,
void (*destructor)(
void*,
string) = 0)
99 #endif // YCPExternal_h
std::ostream & toXml(std::ostream &str, int indent) const
Definition: YCPExternal.cc:80
#define str
Definition: scanner.cc:997
YCPExternal(void *payload, string magic, void(*destructor)(void *, string)=0)
Definition: YCPExternal.h:94
Wrapper for YCPExternalRep This class realizes an automatic memory management via YCPElement...
Definition: YCPExternal.h:90
YCPValueType
Value Type Defines constants for the Value types. The Value type specifies the class the YCPValueRep ...
Definition: YCPValue.h:36
string toString() const
Definition: YCPExternal.cc:65
string magic() const
Definition: YCPExternal.cc:51
DEF_COMMON(External, Value)
void(* m_destructor)(void *, string)
Definition: YCPExternal.h:37
A blackbox wrapper for handling external values in ycp. The payload is handled as a blackbox and is n...
Definition: YCPExternal.h:33
void * payload() const
Definition: YCPExternal.cc:44
YCPExternalRep(void *payload, string magic, void(*destructor)(void *, string)=0)
Definition: YCPExternal.cc:28
string m_magic
Definition: YCPExternal.h:36
~YCPExternalRep()
Definition: YCPExternal.cc:36
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: YCPExternal.cc:58
std::ostream & toStream(std::ostream &str) const
Definition: YCPExternal.cc:73
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
An istream that remembers some data about the bytecode.
Definition: Bytecode.h:42
void * m_payload
Definition: YCPExternal.h:35