Files correlati : Ricompilazione Demo : [ ] Commento : Riportate le patch fino alla 172 git-svn-id: svn://10.65.10.50/trunk@12526 c028cbd2-c16b-5b4b-a496-9718f37d4682
68 lines
1.5 KiB
C++
Executable File
68 lines
1.5 KiB
C++
Executable File
#ifndef __CLIFOR_H
|
|
#define __CLIFOR_H
|
|
|
|
#ifndef __MULTIREC_H
|
|
#include <multirec.h>
|
|
#endif
|
|
|
|
#ifndef __CLIFO_H
|
|
#include <clifo.h>
|
|
#endif
|
|
|
|
#ifndef __CFVEN_H
|
|
#include <cfven.h>
|
|
#endif
|
|
|
|
#ifndef __INDSP_H
|
|
#include <indsp.h>
|
|
#endif
|
|
|
|
#ifndef __OCCAS_H
|
|
#include <occas.h>
|
|
#endif
|
|
|
|
class TOccasionale : public TRectype
|
|
{
|
|
public:
|
|
const char* codice() const { return get("CFPI"); }
|
|
TRectype& operator = (const TRectype& r);
|
|
TOccasionale& operator = (const TOccasionale& r);
|
|
|
|
TOccasionale();
|
|
TOccasionale(const TRectype& r);
|
|
TOccasionale(const TOccasionale& r);
|
|
virtual ~TOccasionale();
|
|
};
|
|
|
|
class TCli_for : public TMultiple_rectype
|
|
{
|
|
TRecfield * _tipo;
|
|
TRecfield * _codice;
|
|
TRecfield * _ven_tipo;
|
|
TRecfield * _ven_codice;
|
|
|
|
TRectype _ven_rec;
|
|
|
|
protected:
|
|
virtual int write_rewrite(TBaseisamfile& f, bool re = FALSE) const;
|
|
|
|
public:
|
|
bool occasionale() const { return get_bool(CLI_OCCAS); }
|
|
TRectype & vendite() const;
|
|
|
|
char tipo() const { return *(const char *) (*_tipo); }
|
|
long codice() const { return (long) *_codice; }
|
|
bool ok() const { return !empty();}
|
|
|
|
virtual int read(const TRectype& rec, word op = _isequal, word lockop = _nolock);
|
|
int read(char tipo, long codice, word op = _isequal, word lockop = _nolock);
|
|
virtual int remove(TBaseisamfile& f) const;
|
|
|
|
TCli_for(char tipo = ' ', long codice = 0L);
|
|
TCli_for(const TRectype & rec);
|
|
TCli_for(const TCli_for & c);
|
|
virtual ~TCli_for();
|
|
};
|
|
|
|
#endif
|