/***********************************************************************/ /* PROXY: table based on another table. Can be used to have a */ /* different view on an existing table. */ /* However, its real use is to be the base of TBL and PRX tables. */ /***********************************************************************/
protected: // Members
PTABLE Tablep; /* The object table */
}; // end of PRXDEF
/***********************************************************************/ /* This is the class declaration for the XCSV table. */ /***********************************************************************/ class DllExport TDBPRX : public TDBASE { friendclass PRXDEF; friendclass PRXCOL; public: // Constructors
TDBPRX(PPRXDEF tdp);
TDBPRX(PTDBPRX tdbp);
// Database routines
PCOL MakeCol(PGLOBAL g, PCOLDEF cdp, PCOL cprec, int n) override; virtualbool InitTable(PGLOBAL g); int Cardinality(PGLOBAL g) override; int GetMaxSize(PGLOBAL g) override; bool OpenDB(PGLOBAL g) override; int ReadDB(PGLOBAL g) override; int WriteDB(PGLOBAL g) override; int DeleteDB(PGLOBAL g, int irc) override; void CloseDB(PGLOBAL g) override {if (Tdbp) Tdbp->CloseDB(g);}
PTDB GetSubTable(PGLOBAL g, PTABLE tabp, bool b = false); void RemoveNext(PTABLE tp);
protected: // Members
PTDB Tdbp; // The object table
}; // end of class TDBPRX
/***********************************************************************/ /* Class PRXCOL: PRX access method column descriptor. */ /* This A.M. is used for PRX tables. */ /***********************************************************************/ class DllExport PRXCOL : public COLBLK { friendclass TDBPRX; friendclass TDBTBL; friendclass TDBOCCUR; public: // Constructors
PRXCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PCSZ am = "PRX");
PRXCOL(PRXCOL *colp, PTDB tdbp); // Constructor used in copy process
// Implementation int GetAmType(void) override {return TYPE_AM_PRX;}
// Default constructor not to be used
PRXCOL(void) = default;
// Members
PCOL Colp; // Points to matching table column
PVAL To_Val; // To the matching column value bool Pseudo; // TRUE for special columns int Colnum; // Used when retrieving columns by number
}; // end of class PRXCOL
/***********************************************************************/ /* This is the class declaration for the TBC column catalog table. */ /***********************************************************************/ class TDBTBC : public TDBCAT { public: // Constructors
TDBTBC(PPRXDEF tdp);
protected: // Specific routines
PQRYRES GetResult(PGLOBAL g) override;
// Members
PSZ Db; // Database of the table
PSZ Tab; // Table name
}; // end of class TDBMCL
class XCOLBLK : public COLBLK { friendclass PRXCOL;
}; // end of class XCOLBLK
#endif// TABUTIL
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.