campo-sirio/ps/ps0713lib.h

65 lines
1.7 KiB
C
Raw Normal View History

#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 long idlavoro();
const int gruppo();
const int conto();
const long sotco();
TCommessa_string& operator= (const char* key){ set(key); return *this; }
TCommessa_string(const long 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 TString8 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