|
yast2-core
|
Wrapper for SymbolEntry as YCPValue. More...
#include <YCPCode.h>
Public Member Functions | |
| SymbolEntryPtr | entry () const |
| YCPOrder | compare (const YCPEntry &v) const |
| string | toString () const |
| std::ostream & | toStream (std::ostream &str) const |
| std::ostream & | toXml (std::ostream &str, int indent) const |
| YCPValueType | valuetype () const |
| YCPValue | evaluate (bool cse=false) const |
Public Member Functions inherited from YCPValueRep | |
| const char * | valuetype_str () const |
| bool | isVoid () const |
| bool | isBoolean () const |
| bool | isInteger () const |
| bool | isFloat () const |
| bool | isString () const |
| bool | isByteblock () const |
| bool | isPath () const |
| bool | isSymbol () const |
| bool | isList () const |
| bool | isTerm () const |
| bool | isMap () const |
| bool | isCode () const |
| bool | isBreak () const |
| bool | isReturn () const |
| bool | isEntry () const |
| bool | isReference () const |
| bool | isExternal () const |
| YCPVoid | asVoid () const |
| YCPBoolean | asBoolean () const |
| YCPInteger | asInteger () const |
| YCPFloat | asFloat () const |
| YCPString | asString () const |
| YCPByteblock | asByteblock () const |
| YCPPath | asPath () const |
| YCPSymbol | asSymbol () const |
| YCPList | asList () const |
| YCPTerm | asTerm () const |
| YCPMap | asMap () const |
| YCPCode | asCode () const |
| YCPEntry | asEntry () const |
| YCPReference | asReference () const |
| YCPExternal | asExternal () const |
| bool | equal (const YCPValue &) const |
| YCPOrder | compare (const YCPValue &v, bool rl=false) const |
Public Member Functions inherited from YCPElementRep | |
| YCPValue | asValue () const |
| virtual const YCPElementRep * | shallowCopy () const |
Protected Member Functions | |
| YCPEntryRep () | |
| YCPEntryRep (SymbolEntryPtr entry) | |
| ~YCPEntryRep () | |
Protected Member Functions inherited from YCPElementRep | |
| YCPElementRep () | |
| virtual | ~YCPElementRep () |
Private Attributes | |
| SymbolEntryPtr | m_entry |
Friends | |
| class | YCPEntry |
Wrapper for SymbolEntry as YCPValue.
|
protected |
Constructor
|
inlineprotected |
Cleans up.
Compares two YCPEntrys for equality, greaterness or smallerness.
References YO_LESS.
| SymbolEntryPtr YCPEntryRep::entry | ( | ) | const |
References m_entry.
Referenced by YCPEntryRep().
| YCPValue YCPEntryRep::evaluate | ( | bool | cse = false | ) | const |
Evaluates the code.
References m_entry, toString(), and y2debug.
|
virtual |
Output value as bytecode to stream
Implements YCPElementRep.
References m_entry, Bytecode::writeEntry(), and y2debug.
|
virtual |
Returns an ASCII representation of the YCPEntry.
Implements YCPElementRep.
References m_entry.
Referenced by evaluate().
|
virtual |
Implements YCPValueRep.
References m_entry, and Xmlcode::writeEntry().
|
virtual |
|
friend |
|
private |
Referenced by entry(), evaluate(), toStream(), toString(), toXml(), and YCPEntryRep().
1.8.6