summaryrefslogtreecommitdiff
path: root/src/variable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/variable.h')
-rw-r--r--src/variable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/variable.h b/src/variable.h
index 7f482a3..97308c7 100644
--- a/src/variable.h
+++ b/src/variable.h
@@ -31,6 +31,7 @@ public:
31 tString, 31 tString,
32 tSituation, 32 tSituation,
33 tVariable, 33 tVariable,
34 tVarPtr,
34 tList, 35 tList,
35 tDictionary 36 tDictionary
36 }; 37 };
@@ -58,6 +59,9 @@ public:
58 59
59 Variable to( Type e ) const; 60 Variable to( Type e ) const;
60 61
62 void insert( const Variable &vKey, const Variable &vValue );
63 bool has( const Variable &vKey );
64
61 Variable &operator=( const Variable &rhs ); 65 Variable &operator=( const Variable &rhs );
62 Variable &operator+=( const Variable &rhs ); 66 Variable &operator+=( const Variable &rhs );
63 Variable &operator-=( const Variable &rhs ); 67 Variable &operator-=( const Variable &rhs );
@@ -94,6 +98,7 @@ private:
94 VList *lValue; 98 VList *lValue;
95 VHash *hValue; 99 VHash *hValue;
96 VariableRef *rValue; 100 VariableRef *rValue;
101 Variable *pValue;
97 }; 102 };
98}; 103};
99 104