4bac31af7e
*.h Migliorati #include git-svn-id: svn://10.65.10.50/trunk@6601 c028cbd2-c16b-5b4b-a496-9718f37d4682
32 lines
721 B
C++
Executable File
32 lines
721 B
C++
Executable File
#ifndef __SVLIB09_H
|
|
#define __SVLIB09_H
|
|
|
|
#ifndef __RECARRAY_H
|
|
#include <recarray.h>
|
|
#endif
|
|
|
|
class TRWrecord_cache : public TRecord_cache
|
|
{
|
|
TAssoc_array _flags;
|
|
|
|
protected:
|
|
THash_object * get_some_obj();
|
|
virtual const TString & getkey2discard();
|
|
public:
|
|
virtual void discard(const TString & k);
|
|
virtual void put(const TRectype &r);
|
|
virtual const TRectype& get(const char* chiave);
|
|
|
|
void clear();
|
|
void flush();
|
|
|
|
TRWrecord_cache(TLocalisamfile *f, int key = 1, bool lock=FALSE);
|
|
TRWrecord_cache(int num, int key = 1, bool lock=FALSE);
|
|
TRWrecord_cache(const char* table, int key = 1, bool lock=FALSE);
|
|
virtual ~TRWrecord_cache() ;
|
|
const TAssoc_array * internal_array() {return &_cache;}
|
|
};
|
|
|
|
#endif
|
|
|