YCPReferenceRep Class Reference

Wrapper for a reference to a SymbolEntry as YCPValue. More...

#include <YCPCode.h>

Inheritance diagram for YCPReferenceRep:

YCPValueRep YCPElementRep List of all members.

Public Member Functions

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

Protected Member Functions

 YCPReferenceRep ()
 YCPReferenceRep (SymbolEntryPtr entry)
 ~YCPReferenceRep ()

Private Attributes

SymbolEntryPtr m_entry

Friends

class YCPReference

Detailed Description

Wrapper for a reference to a SymbolEntry as YCPValue.


Constructor & Destructor Documentation

YCPReferenceRep::YCPReferenceRep  )  [protected]
 

Constructor

YCPReferenceRep::YCPReferenceRep SymbolEntryPtr  entry  )  [protected]
 

YCPReferenceRep::~YCPReferenceRep  )  [inline, protected]
 

Cleans up.


Member Function Documentation

YCPOrder YCPReferenceRep::compare const YCPReference v  )  const
 

Compares two YCPReferences for equality, greaterness or smallerness.

SymbolEntryPtr YCPReferenceRep::entry  )  const
 

YCPValue YCPReferenceRep::evaluate bool  cse = false  )  const
 

Evaluates the code.

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

Output value as bytecode to stream

Implements YCPElementRep.

string YCPReferenceRep::toString  )  const [virtual]
 

Returns an ASCII representation of the YCPReference.

Implements YCPElementRep.

YCPValueType YCPReferenceRep::valuetype  )  const [virtual]
 

Returns YT_Reference. See YCPValueRep::type.

Implements YCPValueRep.


Friends And Related Function Documentation

friend class YCPReference [friend]
 


Member Data Documentation

SymbolEntryPtr YCPReferenceRep::m_entry [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by  doxygen 1.4.6