diff options
Diffstat (limited to 'c++-qt/gats-qt')
| -rw-r--r-- | c++-qt/gats-qt/boolean.h | 1 | ||||
| -rw-r--r-- | c++-qt/gats-qt/float.h | 1 | ||||
| -rw-r--r-- | c++-qt/gats-qt/integer.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/boolean.h b/c++-qt/gats-qt/boolean.h index 04a9cef..e6d10af 100644 --- a/c++-qt/gats-qt/boolean.h +++ b/c++-qt/gats-qt/boolean.h | |||
| @@ -26,6 +26,7 @@ namespace Gats | |||
| 26 | 26 | ||
| 27 | virtual Type getType() const { return typeBoolean; } | 27 | virtual Type getType() const { return typeBoolean; } |
| 28 | bool getValue() const { return bVal; } | 28 | bool getValue() const { return bVal; } |
| 29 | bool value() const { return bVal; } | ||
| 29 | void setValue( bool b ) { bVal = b; } | 30 | void setValue( bool b ) { bVal = b; } |
| 30 | 31 | ||
| 31 | virtual void write( QIODevice &rOut ) const; | 32 | virtual void write( QIODevice &rOut ) const; |
diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h index 9791b38..5a1ff4b 100644 --- a/c++-qt/gats-qt/float.h +++ b/c++-qt/gats-qt/float.h | |||
| @@ -24,6 +24,7 @@ namespace Gats | |||
| 24 | 24 | ||
| 25 | virtual Type getType() const { return typeFloat; } | 25 | virtual Type getType() const { return typeFloat; } |
| 26 | double getValue() const { return fVal; } | 26 | double getValue() const { return fVal; } |
| 27 | double value() const { return fVal; } | ||
| 27 | 28 | ||
| 28 | virtual void write( QIODevice &rOut ) const; | 29 | virtual void write( QIODevice &rOut ) const; |
| 29 | virtual void read( QIODevice &rIn, char cType ); | 30 | virtual void read( QIODevice &rIn, char cType ); |
diff --git a/c++-qt/gats-qt/integer.h b/c++-qt/gats-qt/integer.h index 9638d77..3427682 100644 --- a/c++-qt/gats-qt/integer.h +++ b/c++-qt/gats-qt/integer.h | |||
| @@ -28,6 +28,7 @@ namespace Gats | |||
| 28 | 28 | ||
| 29 | virtual Type getType() const { return typeInteger; } | 29 | virtual Type getType() const { return typeInteger; } |
| 30 | int64_t getValue() const { return iVal; } | 30 | int64_t getValue() const { return iVal; } |
| 31 | int64_t value() const { return iVal; } | ||
| 31 | void setValue( int64_t iNewVal ) { iVal = iNewVal; } | 32 | void setValue( int64_t iNewVal ) { iVal = iNewVal; } |
| 32 | 33 | ||
| 33 | virtual void write( QIODevice &rOut ) const; | 34 | virtual void write( QIODevice &rOut ) const; |
