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

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

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.


Member Data Documentation

SymbolEntryPtr YCPReferenceRep::m_entry [private]
 


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