123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- #ifndef KSGTDatei_H
- #define KSGTDatei_H
- #include "Array.h"
- namespace Framework
- {
- class Text;
-
- class KSGTDatei : public virtual ReferenceCounter
- {
- private:
- Text *pfad;
- RCArray< RCArray< Text > > *data;
- public:
-
- DLLEXPORT KSGTDatei();
-
-
- DLLEXPORT KSGTDatei( const char *pfad );
-
-
- DLLEXPORT KSGTDatei( Text *pfad );
-
- DLLEXPORT ~KSGTDatei();
-
-
- DLLEXPORT void setPfad( const char *pfad );
-
-
- DLLEXPORT void setPfad( Text *pfad );
-
-
- DLLEXPORT bool laden();
-
-
-
-
- DLLEXPORT bool addZeile( int feldAnzahl, RCArray< Text > *zWert );
-
-
-
-
-
- DLLEXPORT bool setZeile( int zeile, int feldAnzahl, RCArray< Text > *zWert );
-
-
-
- DLLEXPORT bool removeZeile( int zeile );
-
-
-
-
-
- DLLEXPORT bool addFeld( int zeile, int pos, Text *wert );
-
-
-
-
-
- DLLEXPORT bool addFeld( int zeile, int pos, const char *wert );
-
-
-
-
- DLLEXPORT bool addFeld( int zeile, Text *wert );
-
-
-
-
- DLLEXPORT bool addFeld( int zeile, const char *wert );
-
-
-
-
-
- DLLEXPORT bool setFeld( int zeile, int feld, Text *wert );
-
-
-
-
-
- DLLEXPORT bool setFeld( int zeile, int feld, const char *wert );
-
-
-
-
- DLLEXPORT bool removeFeld( int zeile, int feld );
-
-
- DLLEXPORT bool speichern();
-
- DLLEXPORT int getZeilenAnzahl() const;
-
-
- DLLEXPORT int getFeldAnzahl( int zeile ) const;
-
-
-
-
- DLLEXPORT Text *getFeld( int zeile, int feld ) const;
-
-
-
-
- DLLEXPORT Text *zFeld( int zeile, int feld ) const;
- };
- }
- #endif
|