home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
DRTABLE.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
6KB
|
196 lines
//----------------------------------------------------------------------------
// DRTable.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: DRTable.pas
//----------------------------------------------------------------------------
#ifndef DRTableHPP
#define DRTableHPP
//----------------------------------------------------------------------------
#include <DB.hpp>
#include <Bde.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Drtable
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TDRList;
class __declspec(pascalimplementation) TDRList : public Db::TDataSet
{
typedef Db::TDataSet inherited;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
public:
/* TDataSet.Create */ __fastcall virtual TDRList(Classes::TComponent* AOwner) : Db::TDataSet(AOwner
) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRList(void) { }
};
class __declspec(delphiclass) TDRDataSet;
class __declspec(pascalimplementation) TDRDataSet : public Db::TDataSet
{
typedef Db::TDataSet inherited;
private:
Bde::_hDBIObj *FDBIDR;
public:
__property Bde::hDBIDR DRHandle = {read=FDBIDR, write=FDBIDR, nodefault};
public:
/* TDataSet.Create */ __fastcall virtual TDRDataSet(Classes::TComponent* AOwner) : Db::TDataSet(AOwner
) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRDataSet(void) { }
};
class __declspec(delphiclass) TDRObjectDescList;
class __declspec(pascalimplementation) TDRObjectDescList : public TDRDataSet
{
typedef TDRDataSet inherited;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
public:
/* TDataSet.Create */ __fastcall virtual TDRObjectDescList(Classes::TComponent* AOwner) : Drtable::
TDRDataSet(AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRObjectDescList(void) { }
};
class __declspec(delphiclass) TDRObjectItems;
class __declspec(pascalimplementation) TDRObjectItems : public TDRDataSet
{
typedef TDRDataSet inherited;
protected:
System::AnsiString FObjectName;
public:
/* TDataSet.Create */ __fastcall virtual TDRObjectItems(Classes::TComponent* AOwner) : Drtable::TDRDataSet(
AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRObjectItems(void) { }
};
class __declspec(delphiclass) TDRRelationshipDescList;
class __declspec(pascalimplementation) TDRRelationshipDescList : public TDRObjectItems
{
typedef TDRObjectItems inherited;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
__published:
__property System::AnsiString ObjectTypeName = {read=FObjectName, write=FObjectName, nodefault};
public:
/* TDataSet.Create */ __fastcall virtual TDRRelationshipDescList(Classes::TComponent* AOwner) : Drtable::
TDRObjectItems(AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRRelationshipDescList(void) { }
};
class __declspec(delphiclass) TDRAttrDescList;
class __declspec(pascalimplementation) TDRAttrDescList : public TDRObjectItems
{
typedef TDRObjectItems inherited;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
__published:
__property System::AnsiString TypeName = {read=FObjectName, write=FObjectName, nodefault};
public:
/* TDataSet.Create */ __fastcall virtual TDRAttrDescList(Classes::TComponent* AOwner) : Drtable::TDRObjectItems(
AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRAttrDescList(void) { }
};
class __declspec(delphiclass) TDRInstanceItems;
class __declspec(pascalimplementation) TDRInstanceItems : public TDRObjectItems
{
typedef TDRObjectItems inherited;
private:
System::AnsiString FCond;
__published:
__property System::AnsiString Condition = {read=FCond, write=FCond, nodefault};
public:
/* TDataSet.Create */ __fastcall virtual TDRInstanceItems(Classes::TComponent* AOwner) : Drtable::TDRObjectItems(
AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRInstanceItems(void) { }
};
class __declspec(delphiclass) TDRObjectList;
class __declspec(pascalimplementation) TDRObjectList : public TDRInstanceItems
{
typedef TDRInstanceItems inherited;
private:
System::AnsiString FRelName;
Bde::DRObject FSource;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
public:
void __fastcall NavigateFrom(const Bde::DRObject &ASource, const System::AnsiString ARelationship);
__published:
__property System::AnsiString ObjectTypeName = {read=FObjectName, write=FObjectName, nodefault};
public:
/* TDataSet.Create */ __fastcall virtual TDRObjectList(Classes::TComponent* AOwner) : Drtable::TDRInstanceItems(
AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRObjectList(void) { }
};
class __declspec(delphiclass) TDRRelationshipList;
class __declspec(pascalimplementation) TDRRelationshipList : public TDRInstanceItems
{
typedef TDRInstanceItems inherited;
private:
Bde::DRObject FSource;
Bde::DRObject FTarget;
protected:
virtual Bde::hDBICur __fastcall CreateHandle(void);
public:
void __fastcall NavigateFromTo(const Bde::DRObject &ASource, const Bde::DRObject &ATarget);
__published:
__property System::AnsiString RelationshipTypeName = {read=FObjectName, write=FObjectName, nodefault
};
public:
/* TDataSet.Create */ __fastcall virtual TDRRelationshipList(Classes::TComponent* AOwner) : Drtable::
TDRInstanceItems(AOwner) { }
/* TDataSet.Destroy */ __fastcall virtual ~TDRRelationshipList(void) { }
};
//-- var, const, procedure ---------------------------------------------------
extern Bde::DRObject NullDRObject;
} /* namespace Drtable */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Drtable;
#endif
//-- end unit ----------------------------------------------------------------
#endif // DRTable