#include <YCPValue.h>
Inheritance diagram for YCPValueRep:

Public Member Functions | |
| virtual YCPValueType | valuetype () const=0 |
| 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 |
| 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 |
| bool | equal (const YCPValue &) const |
| YCPOrder | compare (const YCPValue &v, bool rl=false) const |
|
|
Casts this value into a pointer of type const YCPBooleanRep *. |
|
|
Casts this value into a pointer of type const YCPByteblock . |
|
|
Casts this value into a pointer of type const YCPCode. |
|
|
Casts this value into a pointer of type const YCPEntry. |
|
|
Casts this value into a pointer of type const YCPFloat . |
|
|
Casts this value into a pointer of type const YCPIntegerRep *. |
|
|
Casts this value into a pointer of type const YCPList . |
|
|
Casts this value into a pointer of type const YCPMap . |
|
|
Casts this value into a pointer of type const YCPPath . |
|
|
Casts this value into a pointer of type const YCPReference. |
|
|
Casts this value into a pointer of type const YCPString . |
|
|
Casts this value into a pointer of type const YCPSymbol . |
|
|
Casts this value into a pointer of type const YCPTerm . |
|
|
Casts this value into a pointer of type const YCPVoidRep *. |
|
||||||||||||
|
Compares two YCP values for equality, greaterness or smallerness. You should not compare values of different types.
|
|
|
Compares two YCP values for equality. Two values are equal if they have the same type and the same contents. |
|
|
Checks, if the type of this value is YT_BOOLEAN. |
|
|
Checks, if the type of this value is YT_BREAK. |
|
|
Checks, if the type of this value is YT_BYTEBLOCK. |
|
|
Checks, if the type of this value is YT_CODE. |
|
|
Checks, if the type of this value is YT_ENTRY. |
|
|
Checks, if the type of this value is YT_FLOAT. |
|
|
Checks, if the type of this value is YT_INTEGER. |
|
|
Checks, if the type of this value is YT_LIST |
|
|
Checks, if the type of this value is YT_MAP. |
|
|
Checks, if the type of this value is YT_PATH. |
|
|
Checks, if the type of this value is YT_REFERENCE. |
|
|
Checks, if the type of this value is YT_RETURN. |
|
|
Checks, if the type of this value is YT_STRING. |
|
|
Checks, if the type of this value is YT_SYMBOL. |
|
|
Checks, if the type of this value is YT_TERM. Note that a YCPTermRep also is a YCPListRep and has always also the type VT_LIST. |
|
|
Checks, if the type of this value is YT_VOID or YT_RETURN (explicitly returned void). |
|
|
Returns the type of the value. If you just want to check, whether it is legal to cast an object of the YCPValueRep to a certain more specific object, you should use one of the is... methods. Implemented in YCPBooleanRep, YCPByteblockRep, YCPCodeRep, YCPBreakRep, YCPReturnRep, YCPEntryRep, YCPReferenceRep, YCPFloatRep, YCPListRep, YCPMapRep, YCPPathRep, YCPStringRep, YCPSymbolRep, YCPTermRep, and YCPVoidRep. |
1.3.6