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

SymbolEntryPtr YCPReferenceRep::entry (  )  const

YCPOrder YCPReferenceRep::compare ( const YCPReference v  )  const

Compares two YCPReferences for equality, greaterness or smallerness.

string YCPReferenceRep::toString (  )  const [virtual]

Returns an ASCII representation of the YCPReference.

Implements YCPElementRep.

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

Output value as bytecode to stream

Implements YCPElementRep.

YCPValueType YCPReferenceRep::valuetype (  )  const [virtual]

Returns YT_Reference. See YCPValueRep::type.

Implements YCPValueRep.

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

Evaluates the code.


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 Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0