#include <YCPExternal.h>
Inheritance diagram for YCPExternalRep:

Public Member Functions | |
| void * | payload () const |
| string | magic () const |
| string | toString () const |
| std::ostream & | toStream (std::ostream &str) const |
| YCPValueType | valuetype () const |
Protected Member Functions | |
| YCPExternalRep (void *payload, string magic, void(*destructor)(void *, string)=0) | |
| ~YCPExternalRep () | |
Private Attributes | |
| void * | m_payload |
| string | m_magic |
| void(* | m_destructor )(void *, string) |
Friends | |
| class | YCPExternal |
|
||||||||||||||||
|
Creates a new blackbox
|
|
|
Cleans up |
|
|
|
|
|
|
|
|
Output value as bytecode to stream Generates an error, because it's not possible to store the data in persistent stream. Implements YCPElementRep. |
|
|
Returns an ASCII representation of the payload. Implements YCPElementRep. |
|
|
Returns YT_EXTERNAL. See YCPValueRep::valuetype. Implements YCPValueRep. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6