Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YCPVoidRep Class Reference

YCPValueRep representing a void value. More...

#include <YCPVoid.h>

Inheritance diagram for YCPVoidRep:

YCPValueRep YCPElementRep List of all members.

Public Member Functions

string toString () const
std::ostream & toStream (std::ostream &str) const
YCPValueType valuetype () const
YCPOrder compare (const YCPVoid &v) const

Protected Member Functions

 YCPVoidRep ()

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.

std::ostream & YCPVoidRep::toStream std::ostream &  str  )  const [virtual]
 

Output value as bytecode to stream

Implements YCPElementRep.

string YCPVoidRep::toString  )  const [virtual]
 

Gives the ASCII representation of this value, i.e. "nil"

Implements YCPElementRep.

YCPValueType YCPVoidRep::valuetype  )  const [virtual]
 

Returns YT_VOID. See YCPValueRep::valuetype.

Implements YCPValueRep.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6