YCPEntryRep Class Reference

Wrapper for SymbolEntry as YCPValue. More...

#include <YCPCode.h>

Inheritance diagram for YCPEntryRep:

YCPValueRep YCPElementRep List of all members.

Public Member Functions

SymbolEntryPtr entry () const
YCPOrder compare (const YCPEntry &v) const
string toString () const
std::ostream & toStream (std::ostream &str) const
YCPValueType valuetype () const
YCPValue evaluate (bool cse=false) const

Protected Member Functions

 YCPEntryRep ()
 YCPEntryRep (SymbolEntryPtr entry)
 ~YCPEntryRep ()

Private Attributes

SymbolEntryPtr m_entry

Friends

class YCPEntry

Detailed Description

Wrapper for SymbolEntry as YCPValue.


Constructor & Destructor Documentation

YCPEntryRep::YCPEntryRep (  )  [protected]

Constructor

YCPEntryRep::YCPEntryRep ( SymbolEntryPtr  entry  )  [protected]

YCPEntryRep::~YCPEntryRep (  )  [inline, protected]

Cleans up.


Member Function Documentation

SymbolEntryPtr YCPEntryRep::entry (  )  const

YCPOrder YCPEntryRep::compare ( const YCPEntry v  )  const

Compares two YCPEntrys for equality, greaterness or smallerness.

string YCPEntryRep::toString (  )  const [virtual]

Returns an ASCII representation of the YCPEntry.

Implements YCPElementRep.

std::ostream & YCPEntryRep::toStream ( std::ostream &  str  )  const [virtual]

Output value as bytecode to stream

Implements YCPElementRep.

YCPValueType YCPEntryRep::valuetype (  )  const [virtual]

Returns YT_ENTRY. See YCPValueRep::type.

Implements YCPValueRep.

YCPValue YCPEntryRep::evaluate ( bool  cse = false  )  const

Evaluates the code.


Friends And Related Function Documentation

friend class YCPEntry [friend]


Member Data Documentation

SymbolEntryPtr YCPEntryRep::m_entry [private]


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0