diff options
Diffstat (limited to 'src/boolean.h')
| -rw-r--r-- | src/boolean.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/boolean.h b/src/boolean.h deleted file mode 100644 index 6b256c5..0000000 --- a/src/boolean.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | #ifndef GATS_BOOLEAN_H | ||
| 2 | #define GATS_BOOLEAN_H | ||
| 3 | |||
| 4 | #include "gats/object.h" | ||
| 5 | |||
| 6 | namespace Gats | ||
| 7 | { | ||
| 8 | class Boolean : public Gats::Object | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | Boolean(); | ||
| 12 | Boolean( bool bVal ); | ||
| 13 | virtual ~Boolean(); | ||
| 14 | |||
| 15 | virtual Type getType() const { return typeBoolean; } | ||
| 16 | bool getValue() const { return bVal; } | ||
| 17 | void setValue( bool b ) { bVal = b; } | ||
| 18 | virtual Object *clone() const; | ||
| 19 | |||
| 20 | virtual void write( Bu::Stream &rOut ) const; | ||
| 21 | virtual void read( Bu::Stream &rIn, char cType ); | ||
| 22 | |||
| 23 | private: | ||
| 24 | bool bVal; | ||
| 25 | }; | ||
| 26 | }; | ||
| 27 | |||
| 28 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Boolean &b ); | ||
| 29 | |||
| 30 | #endif | ||
