yast2-core
Public Member Functions | Protected Member Functions | Friends | List of all members
YCPVoidRep Class Reference

YCPValueRep representing a void value. More...

#include <YCPVoid.h>

Inheritance diagram for YCPVoidRep:
YCPValueRep YCPElementRep

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
 
- Public Member Functions inherited from YCPValueRep
const char * valuetype_str () const
 
bool isVoid () const
 
bool isBoolean () const
 
bool isInteger () const
 
bool isFloat () const
 
bool isString () const
 
bool isByteblock () const
 
bool isPath () const
 
bool isSymbol () const
 
bool isList () const
 
bool isTerm () const
 
bool isMap () const
 
bool isCode () const
 
bool isBreak () const
 
bool isReturn () const
 
bool isEntry () const
 
bool isReference () const
 
bool isExternal () const
 
YCPVoid asVoid () const
 
YCPBoolean asBoolean () const
 
YCPInteger asInteger () const
 
YCPFloat asFloat () const
 
YCPString asString () const
 
YCPByteblock asByteblock () const
 
YCPPath asPath () const
 
YCPSymbol asSymbol () const
 
YCPList asList () const
 
YCPTerm asTerm () const
 
YCPMap asMap () const
 
YCPCode asCode () const
 
YCPEntry asEntry () const
 
YCPReference asReference () const
 
YCPExternal asExternal () const
 
bool equal (const YCPValue &) const
 
YCPOrder compare (const YCPValue &v, bool rl=false) const
 
- Public Member Functions inherited from YCPElementRep
YCPValue asValue () const
 
virtual const YCPElementRepshallowCopy () const
 

Protected Member Functions

 YCPVoidRep ()
 
- Protected Member Functions inherited from YCPElementRep
 YCPElementRep ()
 
virtual ~YCPElementRep ()
 

Friends

class YCPVoid
 

Detailed Description

YCPValueRep representing a void value.

YCP Syntax:

nil

Constructor & Destructor Documentation

YCPVoidRep::YCPVoidRep ( )
protected

Creates a new YCPVoidRep

Member Function Documentation

YCPOrder YCPVoidRep::compare ( const YCPVoid v) const

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.

References str.

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

Returns YT_VOID. See YCPValueRep::valuetype.

Implements YCPValueRep.

References YT_VOID.

Friends And Related Function Documentation

friend class YCPVoid
friend

The documentation for this class was generated from the following files:

Generated on a sunny day for yast2-core by doxygen 1.8.5