diff options
Diffstat (limited to 'c++-qt/gats-qt')
| -rw-r--r-- | c++-qt/gats-qt/boolean.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/dictionary.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/float.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/integer.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/list.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/null.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/object.h | 2 | ||||
| -rw-r--r-- | c++-qt/gats-qt/string.h | 2 |
8 files changed, 16 insertions, 0 deletions
diff --git a/c++-qt/gats-qt/boolean.h b/c++-qt/gats-qt/boolean.h index e6d10af..07dcbc3 100644 --- a/c++-qt/gats-qt/boolean.h +++ b/c++-qt/gats-qt/boolean.h | |||
| @@ -31,6 +31,8 @@ namespace Gats | |||
| 31 | 31 | ||
| 32 | virtual void write( QIODevice &rOut ) const; | 32 | virtual void write( QIODevice &rOut ) const; |
| 33 | virtual void read( QIODevice &rIn, char cType ); | 33 | virtual void read( QIODevice &rIn, char cType ); |
| 34 | |||
| 35 | virtual QString toString( int iIndent=0 ) const; | ||
| 34 | 36 | ||
| 35 | private: | 37 | private: |
| 36 | bool bVal; | 38 | bool bVal; |
diff --git a/c++-qt/gats-qt/dictionary.h b/c++-qt/gats-qt/dictionary.h index b1b6051..6f9e82a 100644 --- a/c++-qt/gats-qt/dictionary.h +++ b/c++-qt/gats-qt/dictionary.h | |||
| @@ -30,6 +30,8 @@ namespace Gats | |||
| 30 | virtual Type getType() const { return typeDictionary; } | 30 | virtual Type getType() const { return typeDictionary; } |
| 31 | virtual void write( QIODevice &rOut ) const; | 31 | virtual void write( QIODevice &rOut ) const; |
| 32 | virtual void read( QIODevice &rIn, char cType ); | 32 | virtual void read( QIODevice &rIn, char cType ); |
| 33 | |||
| 34 | virtual QString toString( int iIndent=0 ) const; | ||
| 33 | 35 | ||
| 34 | void insert( const QByteArray &sKey, const char *s ); | 36 | void insert( const QByteArray &sKey, const char *s ); |
| 35 | void insert( const QByteArray &sKey, const QByteArray &s ); | 37 | void insert( const QByteArray &sKey, const QByteArray &s ); |
diff --git a/c++-qt/gats-qt/float.h b/c++-qt/gats-qt/float.h index 5a1ff4b..453d000 100644 --- a/c++-qt/gats-qt/float.h +++ b/c++-qt/gats-qt/float.h | |||
| @@ -28,6 +28,8 @@ namespace Gats | |||
| 28 | 28 | ||
| 29 | virtual void write( QIODevice &rOut ) const; | 29 | virtual void write( QIODevice &rOut ) const; |
| 30 | virtual void read( QIODevice &rIn, char cType ); | 30 | virtual void read( QIODevice &rIn, char cType ); |
| 31 | |||
| 32 | virtual QString toString( int iIndent=0 ) const; | ||
| 31 | 33 | ||
| 32 | private: | 34 | private: |
| 33 | double fVal; | 35 | double fVal; |
diff --git a/c++-qt/gats-qt/integer.h b/c++-qt/gats-qt/integer.h index 3427682..2f08d43 100644 --- a/c++-qt/gats-qt/integer.h +++ b/c++-qt/gats-qt/integer.h | |||
| @@ -33,6 +33,8 @@ namespace Gats | |||
| 33 | 33 | ||
| 34 | virtual void write( QIODevice &rOut ) const; | 34 | virtual void write( QIODevice &rOut ) const; |
| 35 | virtual void read( QIODevice &rIn, char cType ); | 35 | virtual void read( QIODevice &rIn, char cType ); |
| 36 | |||
| 37 | virtual QString toString( int iIndent=0 ) const; | ||
| 36 | 38 | ||
| 37 | template<typename itype> | 39 | template<typename itype> |
| 38 | static void readPackedInt( QIODevice &rStream, itype &rOut ) | 40 | static void readPackedInt( QIODevice &rStream, itype &rOut ) |
diff --git a/c++-qt/gats-qt/list.h b/c++-qt/gats-qt/list.h index 27c17c3..f87ddd7 100644 --- a/c++-qt/gats-qt/list.h +++ b/c++-qt/gats-qt/list.h | |||
| @@ -29,6 +29,8 @@ namespace Gats | |||
| 29 | 29 | ||
| 30 | virtual void write( QIODevice &rOut ) const; | 30 | virtual void write( QIODevice &rOut ) const; |
| 31 | virtual void read( QIODevice &rIn, char cType ); | 31 | virtual void read( QIODevice &rIn, char cType ); |
| 32 | |||
| 33 | virtual QString toString( int iIndent=0 ) const; | ||
| 32 | 34 | ||
| 33 | void append( const char *s ); | 35 | void append( const char *s ); |
| 34 | void append( const QByteArray &s ); | 36 | void append( const QByteArray &s ); |
diff --git a/c++-qt/gats-qt/null.h b/c++-qt/gats-qt/null.h index 974ae09..7bf309a 100644 --- a/c++-qt/gats-qt/null.h +++ b/c++-qt/gats-qt/null.h | |||
| @@ -27,6 +27,8 @@ namespace Gats | |||
| 27 | 27 | ||
| 28 | virtual void write( QIODevice &rOut ) const; | 28 | virtual void write( QIODevice &rOut ) const; |
| 29 | virtual void read( QIODevice &rIn, char cType ); | 29 | virtual void read( QIODevice &rIn, char cType ); |
| 30 | |||
| 31 | virtual QString toString( int iIndent=0 ) const; | ||
| 30 | }; | 32 | }; |
| 31 | }; | 33 | }; |
| 32 | 34 | ||
diff --git a/c++-qt/gats-qt/object.h b/c++-qt/gats-qt/object.h index 6d602de..8d64c38 100644 --- a/c++-qt/gats-qt/object.h +++ b/c++-qt/gats-qt/object.h | |||
| @@ -42,6 +42,8 @@ namespace Gats | |||
| 42 | 42 | ||
| 43 | virtual void write( QIODevice &rOut ) const=0; | 43 | virtual void write( QIODevice &rOut ) const=0; |
| 44 | virtual void read( QIODevice &rIn, char cType )=0; | 44 | virtual void read( QIODevice &rIn, char cType )=0; |
| 45 | |||
| 46 | virtual QString toString( int iIndent=0 ) const = 0; | ||
| 45 | 47 | ||
| 46 | static Object *read( QIODevice &rIn ); | 48 | static Object *read( QIODevice &rIn ); |
| 47 | // static Object *strToGats( const &sStr ); | 49 | // static Object *strToGats( const &sStr ); |
diff --git a/c++-qt/gats-qt/string.h b/c++-qt/gats-qt/string.h index 1e87db5..443c5a8 100644 --- a/c++-qt/gats-qt/string.h +++ b/c++-qt/gats-qt/string.h | |||
| @@ -31,6 +31,8 @@ namespace Gats | |||
| 31 | 31 | ||
| 32 | virtual void write( QIODevice &rOut ) const; | 32 | virtual void write( QIODevice &rOut ) const; |
| 33 | virtual void read( QIODevice &rIn, char cType ); | 33 | virtual void read( QIODevice &rIn, char cType ); |
| 34 | |||
| 35 | virtual QString toString( int iIndent=0 ) const; | ||
| 34 | 36 | ||
| 35 | private: | 37 | private: |
| 36 | }; | 38 | }; |
