66 lines
1.8 KiB
C++
Executable File
66 lines
1.8 KiB
C++
Executable File
#ifndef __PS0713LIB_H
|
|
#define __PS0713LIB_H
|
|
|
|
#ifndef __RECSET_H
|
|
#include <recset.h>
|
|
#endif
|
|
|
|
#ifndef __TEXTSET_H
|
|
#include <textset.h>
|
|
#endif
|
|
|
|
////////////////////////////////
|
|
//// TCOMMESSA_STRING ////
|
|
////////////////////////////////
|
|
|
|
//classe TCommessa_string
|
|
class TCommessa_string: public TToken_string
|
|
{
|
|
public:
|
|
const TString16 idlavoro();
|
|
const int gruppo();
|
|
const int conto();
|
|
const long sotco();
|
|
const TString16 contostr();
|
|
|
|
TCommessa_string& operator= (const char* key){ set(key); return *this; }
|
|
|
|
TCommessa_string(const char* idlavoro, const int gruppo, const int conto, const long sotco);
|
|
TCommessa_string(const char* key):TToken_string(key){}
|
|
TCommessa_string(const TToken_string& key):TToken_string(key){}
|
|
TCommessa_string(const TCommessa_string& key):TToken_string(key){}
|
|
TCommessa_string():TToken_string(){}
|
|
};
|
|
|
|
/////////////////////////
|
|
//// TCOMMESSA ////
|
|
/////////////////////////
|
|
|
|
//Classe TCommessa
|
|
class TCommessa : public TObject
|
|
{
|
|
//TString8 _codice;
|
|
TCommessa_string _commessa;
|
|
|
|
public:
|
|
//const TString& codice() const;
|
|
const TCommessa_string& cmsstr() const;
|
|
TCommessa(const char* codcms);
|
|
};
|
|
|
|
//////////////////////////
|
|
//// TVB_RECSET ////
|
|
//////////////////////////
|
|
|
|
//Classe TVB_recset
|
|
class TVB_recset : public TCSV_recordset
|
|
{
|
|
protected:
|
|
virtual TRecnotype new_rec(const char* buf = NULL);
|
|
|
|
public:
|
|
TVB_recset(const char* fileName, const char s);
|
|
};
|
|
|
|
#endif
|