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

YCPOrder YCPEntryRep::compare const YCPEntry v  )  const
 

Compares two YCPEntrys for equality, greaterness or smallerness.

SymbolEntryPtr YCPEntryRep::entry  )  const
 

YCPValue YCPEntryRep::evaluate bool  cse = false  )  const
 

Evaluates the code.

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

Output value as bytecode to stream

Implements YCPElementRep.

string YCPEntryRep::toString  )  const [virtual]
 

Returns an ASCII representation of the YCPEntry.

Implements YCPElementRep.

YCPValueType YCPEntryRep::valuetype  )  const [virtual]
 

Returns YT_ENTRY. See YCPValueRep::type.

Implements YCPValueRep.


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 Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6