123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- #ifndef InitDatei_H
- #define InitDatei_H
- #include "Array.h"
- namespace Framework
- {
- class Text;
-
- class InitDatei : public virtual ReferenceCounter
- {
- private:
- Text *pfad;
- RCArray< Text > *name;
- RCArray< Text > *wert;
- public:
-
- DLLEXPORT InitDatei();
-
-
- DLLEXPORT InitDatei( Text *pfad );
-
-
- DLLEXPORT InitDatei( const char *pfad );
-
- DLLEXPORT ~InitDatei();
-
-
- DLLEXPORT void setPfad( Text *pfad );
-
-
- DLLEXPORT void setPfad( const char *pfad );
-
-
- DLLEXPORT bool laden();
-
-
-
-
- DLLEXPORT bool addWert( Text *name, Text *wert );
-
-
-
-
- DLLEXPORT bool addWert( const char *name, const char *wert );
-
-
-
-
- DLLEXPORT bool setWert( Text *name, Text *wert );
-
-
-
-
- DLLEXPORT bool setWert( const char *name, const char *wert );
-
-
-
-
- DLLEXPORT bool setWert( int num, Text *wert );
-
-
-
-
- DLLEXPORT bool setWert( int num, const char *wert );
-
-
-
- DLLEXPORT bool removeWert( Text *name );
-
-
-
- DLLEXPORT bool removeWert( const char *name );
-
-
-
- DLLEXPORT bool removeWert( int num );
-
- DLLEXPORT void removeAlle();
-
-
- DLLEXPORT bool speichern();
-
- DLLEXPORT int getWertAnzahl() const;
-
-
-
- DLLEXPORT bool wertExistiert( Text *name );
-
-
-
- DLLEXPORT bool wertExistiert( const char *name );
-
-
-
- DLLEXPORT int getWertNummer( Text *name );
-
-
-
- DLLEXPORT int getWertNummer( const char *name );
-
-
-
- DLLEXPORT Text *getWert( Text *name );
-
-
-
- DLLEXPORT Text *getWert( const char *name );
-
-
-
- DLLEXPORT Text *getWert( int num );
-
-
-
- DLLEXPORT Text *zWert( Text *name );
-
-
-
- DLLEXPORT Text *zWert( const char *name );
-
-
-
- DLLEXPORT Text *zWert( int num );
-
-
-
- DLLEXPORT Text *getName( int num );
-
-
-
- DLLEXPORT Text *zName( int num );
-
- DLLEXPORT Text *getPfad() const;
-
- DLLEXPORT Text *zPfad() const;
- };
- }
- #endif
|