#include <YCPVoid.h>
Public Member Functions | |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
std::ostream & | toXml (std::ostream &str, int indent) const |
YCPValueType | valuetype () const |
YCPOrder | compare (const YCPVoid &v) const |
Protected Member Functions | |
YCPVoidRep () | |
Friends | |
class | YCPVoid |
YCP Syntax:
nil
YCPVoidRep::YCPVoidRep | ( | ) | [protected] |
Creates a new YCPVoidRep
Compares two void for equality, greaterness or smallerness. returns always YO_EQUAL.
References YO_EQUAL.
std::ostream & YCPVoidRep::toStream | ( | std::ostream & | str | ) | const [virtual] |
Output value as bytecode to stream
Implements YCPElementRep.
string YCPVoidRep::toString | ( | void | ) | const [virtual] |
Gives the ASCII representation of this value, i.e. "nil"
Implements YCPElementRep.
std::ostream & YCPVoidRep::toXml | ( | std::ostream & | str, | |
int | indent | |||
) | const [virtual] |
Implements YCPValueRep.
YCPValueType YCPVoidRep::valuetype | ( | ) | const [virtual] |
friend class YCPVoid [friend] |