diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-12-20 09:43:36 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-20 09:43:36 -0700 |
| commit | df412b348f10ee46830e6e117b4bb0dd3b6b057b (patch) | |
| tree | 6006d25b98c28f27d98829830b75b0b67bbe484f /src/variable.h | |
| parent | c33bfc4ede827d3335e353fd35815c1613257942 (diff) | |
| download | stage-df412b348f10ee46830e6e117b4bb0dd3b6b057b.tar.gz stage-df412b348f10ee46830e6e117b4bb0dd3b6b057b.tar.bz2 stage-df412b348f10ee46830e6e117b4bb0dd3b6b057b.tar.xz stage-df412b348f10ee46830e6e117b4bb0dd3b6b057b.zip | |
Most of the variable type conversion routine is done.
Diffstat (limited to 'src/variable.h')
| -rw-r--r-- | src/variable.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/variable.h b/src/variable.h index 0236951..67f35c8 100644 --- a/src/variable.h +++ b/src/variable.h | |||
| @@ -33,15 +33,17 @@ public: | |||
| 33 | 33 | ||
| 34 | Type getType() const { return eType; } | 34 | Type getType() const { return eType; } |
| 35 | 35 | ||
| 36 | Variable to( Type e ) const; | ||
| 37 | |||
| 36 | Variable &operator=( const Variable &rhs ); | 38 | Variable &operator=( const Variable &rhs ); |
| 37 | Variable &operator+=( const Variable &rhs ); | 39 | Variable &operator+=( const Variable &rhs ); |
| 38 | Variable &operator-=( const Variable &rhs ); | 40 | Variable &operator-=( const Variable &rhs ); |
| 39 | Variable &operator*=( const Variable &rhs ); | 41 | Variable &operator*=( const Variable &rhs ); |
| 40 | Variable &operator/=( const Variable &rhs ); | 42 | Variable &operator/=( const Variable &rhs ); |
| 41 | Variable &operator+( const Variable &rhs ) const; | 43 | Variable operator+( const Variable &rhs ) const; |
| 42 | Variable &operator-( const Variable &rhs ) const; | 44 | Variable operator-( const Variable &rhs ) const; |
| 43 | Variable &operator*( const Variable &rhs ) const; | 45 | Variable operator*( const Variable &rhs ) const; |
| 44 | Variable &operator/( const Variable &rhs ) const; | 46 | Variable operator/( const Variable &rhs ) const; |
| 45 | bool operator==( const Variable &rhs ) const; | 47 | bool operator==( const Variable &rhs ) const; |
| 46 | bool operator!=( const Variable &rhs ) const; | 48 | bool operator!=( const Variable &rhs ) const; |
| 47 | bool operator>( const Variable &rhs ) const; | 49 | bool operator>( const Variable &rhs ) const; |
