home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // Classes.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: Classes.pas
- //----------------------------------------------------------------------------
- #ifndef ClassesHPP
- #define ClassesHPP
- //----------------------------------------------------------------------------
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Classes
- {
- //-- type declarations -------------------------------------------------------
- enum TAlignment { taLeftJustify, taRightJustify, taCenter };
-
- typedef TAlignment TLeftRight;
-
- enum Classes_1 { ssShift, ssAlt, ssCtrl, ssLeft, ssRight, ssMiddle, ssDouble };
-
- typedef Set<Classes_1, ssShift, ssDouble> TShiftState;
-
- typedef System::Integer THelpContext;
-
- typedef void __fastcall (__closure *TNotifyEvent)(System::TObject *Sender);
-
- typedef System::Boolean __fastcall (__closure *THelpEvent)(System::Word Command, System::Longint Data
- , System::Boolean &CallHelp);
-
- typedef void __fastcall (__closure *TGetStrProc)(const System::AnsiString S);
-
- class __declspec(delphiclass) EStreamError;
- class __declspec(pascalimplementation) EStreamError : public Sysutils::Exception
- {
- typedef EStreamError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EStreamError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EStreamError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EStreamError(System::Integer Ident) : Sysutils::Exception(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EStreamError(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EStreamError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EStreamError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EStreamError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EStreamError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EStreamError(void) { }
-
- };
-
- class __declspec(delphiclass) EFCreateError;
- class __declspec(pascalimplementation) EFCreateError : public EStreamError
- {
- typedef EFCreateError ThisClass;
- typedef EStreamError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EFCreateError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EFCreateError(const System::AnsiString Msg, const TVarRec *
- Args, const System::Integer Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EFCreateError(System::Integer Ident) : Classes::EStreamError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EFCreateError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EFCreateError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EStreamError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EFCreateError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EFCreateError(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EStreamError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EFCreateError(System::Integer Ident, const TVarRec *
- Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Ident
- , Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EFCreateError(void) { }
-
- };
-
- class __declspec(delphiclass) EFOpenError;
- class __declspec(pascalimplementation) EFOpenError : public EStreamError
- {
- typedef EFOpenError ThisClass;
- typedef EStreamError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EFOpenError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EFOpenError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EFOpenError(System::Integer Ident) : Classes::EStreamError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EFOpenError(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EFOpenError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EStreamError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EFOpenError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EFOpenError(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EStreamError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EFOpenError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EFOpenError(void) { }
-
- };
-
- class __declspec(delphiclass) EFilerError;
- class __declspec(pascalimplementation) EFilerError : public EStreamError
- {
- typedef EFilerError ThisClass;
- typedef EStreamError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EFilerError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EFilerError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EFilerError(System::Integer Ident) : Classes::EStreamError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EFilerError(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EFilerError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EStreamError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EFilerError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EFilerError(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EStreamError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EFilerError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EStreamError(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EFilerError(void) { }
-
- };
-
- class __declspec(delphiclass) EReadError;
- class __declspec(pascalimplementation) EReadError : public EFilerError
- {
- typedef EReadError ThisClass;
- typedef EFilerError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EReadError(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EReadError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EReadError(System::Integer Ident) : Classes::EFilerError(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EReadError(System::Integer Ident, const TVarRec *Args, const
- System::Integer Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EReadError(const System::AnsiString Msg, System::Integer AHelpContext
- ) : Classes::EFilerError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EReadError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EReadError(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EFilerError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EReadError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EReadError(void) { }
-
- };
-
- class __declspec(delphiclass) EWriteError;
- class __declspec(pascalimplementation) EWriteError : public EFilerError
- {
- typedef EWriteError ThisClass;
- typedef EFilerError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EWriteError(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EWriteError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EWriteError(System::Integer Ident) : Classes::EFilerError(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EWriteError(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EWriteError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EFilerError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EWriteError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EWriteError(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EFilerError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EWriteError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EWriteError(void) { }
-
- };
-
- class __declspec(delphiclass) EClassNotFound;
- class __declspec(pascalimplementation) EClassNotFound : public EFilerError
- {
- typedef EClassNotFound ThisClass;
- typedef EFilerError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EClassNotFound(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EClassNotFound(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EClassNotFound(System::Integer Ident) : Classes::EFilerError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EClassNotFound(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EClassNotFound(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EFilerError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EClassNotFound(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EClassNotFound(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EFilerError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EClassNotFound(System::Integer Ident, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Ident
- , Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EClassNotFound(void) { }
-
- };
-
- class __declspec(delphiclass) EMethodNotFound;
- class __declspec(pascalimplementation) EMethodNotFound : public EFilerError
- {
- typedef EMethodNotFound ThisClass;
- typedef EFilerError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EMethodNotFound(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EMethodNotFound(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EMethodNotFound(System::Integer Ident) : Classes::EFilerError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EMethodNotFound(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EMethodNotFound(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EFilerError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EMethodNotFound(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EMethodNotFound(System::Integer Ident, System::Integer
- AHelpContext) : Classes::EFilerError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EMethodNotFound(System::Integer Ident, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Ident
- , Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EMethodNotFound(void) { }
-
- };
-
- class __declspec(delphiclass) EInvalidImage;
- class __declspec(pascalimplementation) EInvalidImage : public EFilerError
- {
- typedef EInvalidImage ThisClass;
- typedef EFilerError inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EInvalidImage(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EInvalidImage(const System::AnsiString Msg, const TVarRec *
- Args, const System::Integer Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EInvalidImage(System::Integer Ident) : Classes::EFilerError(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EInvalidImage(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EInvalidImage(const System::AnsiString Msg, System::Integer
- AHelpContext) : Classes::EFilerError(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EInvalidImage(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Msg,
- Args, Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EInvalidImage(System::Integer Ident, System::Integer AHelpContext
- ) : Classes::EFilerError(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EInvalidImage(System::Integer Ident, const TVarRec *
- Args, const System::Integer Args_Size, System::Integer AHelpContext) : Classes::EFilerError(Ident,
- Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EInvalidImage(void) { }
-
- };
-
- class __declspec(delphiclass) EResNotFound;
- class __declspec(pascalimplementation) EResNotFound : public Sysutils::Exception
- {
- typedef EResNotFound ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EResNotFound(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EResNotFound(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EResNotFound(System::Integer Ident) : Sysutils::Exception(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EResNotFound(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EResNotFound(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EResNotFound(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EResNotFound(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EResNotFound(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EResNotFound(void) { }
-
- };
-
- class __declspec(delphiclass) EListError;
- class __declspec(pascalimplementation) EListError : public Sysutils::Exception
- {
- typedef EListError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EListError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EListError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EListError(System::Integer Ident) : Sysutils::Exception(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EListError(System::Integer Ident, const TVarRec *Args, const
- System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EListError(const System::AnsiString Msg, System::Integer AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EListError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EListError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EListError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EListError(void) { }
-
- };
-
- class __declspec(delphiclass) EBitsError;
- class __declspec(pascalimplementation) EBitsError : public Sysutils::Exception
- {
- typedef EBitsError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EBitsError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EBitsError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EBitsError(System::Integer Ident) : Sysutils::Exception(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EBitsError(System::Integer Ident, const TVarRec *Args, const
- System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EBitsError(const System::AnsiString Msg, System::Integer AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EBitsError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EBitsError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EBitsError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EBitsError(void) { }
-
- };
-
- class __declspec(delphiclass) EStringListError;
- class __declspec(pascalimplementation) EStringListError : public Sysutils::Exception
- {
- typedef EStringListError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EStringListError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EStringListError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EStringListError(System::Integer Ident) : Sysutils::Exception(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EStringListError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EStringListError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EStringListError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EStringListError(System::Integer Ident, System::Integer
- AHelpContext) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EStringListError(System::Integer Ident, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident,
- Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EStringListError(void) { }
-
- };
-
- class __declspec(delphiclass) EComponentError;
- class __declspec(pascalimplementation) EComponentError : public Sysutils::Exception
- {
- typedef EComponentError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EComponentError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EComponentError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EComponentError(System::Integer Ident) : Sysutils::Exception(
- Ident) { }
- /* !! Exception.CreateResFmt */ __fastcall EComponentError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EComponentError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EComponentError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EComponentError(System::Integer Ident, System::Integer
- AHelpContext) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EComponentError(System::Integer Ident, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident,
- Args, Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EComponentError(void) { }
-
- };
-
- class __declspec(delphiclass) EParserError;
- class __declspec(pascalimplementation) EParserError : public Sysutils::Exception
- {
- typedef EParserError ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EParserError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* !! Exception.CreateFmt */ __fastcall EParserError(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EParserError(System::Integer Ident) : Sysutils::Exception(Ident
- ) { }
- /* !! Exception.CreateResFmt */ __fastcall EParserError(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EParserError(const System::AnsiString Msg, System::Integer
- AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EParserError(const System::AnsiString Msg, const TVarRec
- *Args, const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args
- , Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EParserError(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EParserError(System::Integer Ident, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args
- , Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EParserError(void) { }
-
- };
-
- typedef void *TPointerList[134217727];
-
- typedef TPointerList *PPointerList;
-
- typedef System::Integer __fastcall (*TListSortCompare)(System::Pointer Item1, System::Pointer Item2)
- ;
-
- class __declspec(delphiclass) TList;
- class __declspec(pascalimplementation) TList : public System::TObject
- {
- typedef TList ThisClass;
- typedef System::TObject inherited;
-
- private:
- TPointerList *FList;
- System::Integer FCount;
- System::Integer FCapacity;
-
- protected:
- virtual void __fastcall Error(void);
- System::Pointer __fastcall Get(System::Integer Index);
- virtual void __fastcall Grow(void);
- void __fastcall Put(System::Integer Index, System::Pointer Item);
- void __fastcall SetCapacity(System::Integer NewCapacity);
- void __fastcall SetCount(System::Integer NewCount);
-
- public:
- __fastcall virtual ~TList(void);
- System::Integer __fastcall Add(System::Pointer Item);
- void __fastcall Clear(void);
- void __fastcall Delete(System::Integer Index);
- void __fastcall Exchange(System::Integer Index1, System::Integer Index2);
- TList *__fastcall Expand(void);
- System::Pointer __fastcall First(void);
- System::Integer __fastcall IndexOf(System::Pointer Item);
- void __fastcall Insert(System::Integer Index, System::Pointer Item);
- System::Pointer __fastcall Last(void);
- void __fastcall Move(System::Integer CurIndex, System::Integer NewIndex);
- System::Integer __fastcall Remove(System::Pointer Item);
- void __fastcall Pack(void);
- void __fastcall Sort(TListSortCompare Compare);
- __property System::Integer Capacity = {read=FCapacity, write=SetCapacity, nodefault};
- __property System::Integer Count = {read=FCount, write=SetCount, nodefault};
- __property System::Pointer Items[System::Integer Index] = {read=Get, write=Put/*, default*/};
- __property PPointerList List = {read=FList, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TList(void) : System::TObject() { }
-
- };
-
- class __declspec(delphiclass) TBits;
- class __declspec(pascalimplementation) TBits : public System::TObject
- {
- typedef TBits ThisClass;
- typedef System::TObject inherited;
-
- private:
- System::Integer FSize;
- void *FBits;
- void __fastcall Error(void);
- void __fastcall SetSize(System::Integer Value);
- void __fastcall SetBit(System::Integer Index, System::Boolean Value);
- System::Boolean __fastcall GetBit(System::Integer Index);
-
- public:
- __fastcall virtual ~TBits(void);
- System::Integer __fastcall OpenBit(void);
- __property System::Boolean Bits[System::Integer Index] = {read=GetBit, write=SetBit/*, default*/};
- __property System::Integer Size = {read=FSize, write=SetSize, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TBits(void) : System::TObject() { }
-
- };
-
- class __declspec(delphiclass) TPersistent;
- class __declspec(delphiclass) TFiler;
- class __declspec(pascalimplementation) TPersistent : public System::TObject
- {
- typedef TPersistent ThisClass;
- typedef System::TObject inherited;
-
- private:
- void __fastcall AssignError(TPersistent *Source);
-
- protected:
- virtual void __fastcall AssignTo(TPersistent *Dest);
- virtual void __fastcall DefineProperties(TFiler *Filer);
-
- public:
- virtual void __fastcall Assign(TPersistent *Source);
- public:
- /* !! TObject.Create */ __fastcall TPersistent(void) : System::TObject() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TPersistent(void) { }
-
- };
-
- typedef System::TMetaClass *TPersistentClass;
-
- class __declspec(delphiclass) TCollectionItem;
- class __declspec(delphiclass) TCollection;
- typedef System::TMetaClass *TCollectionItemClass;
-
- class __declspec(pascalimplementation) TCollection : public TPersistent
- {
- typedef TCollection ThisClass;
- typedef TPersistent inherited;
-
- private:
- System::TMetaClass *FItemClass;
- TList *FItems;
- System::Integer FUpdateCount;
- System::Integer __fastcall GetCount(void);
- void __fastcall InsertItem(TCollectionItem *Item);
- void __fastcall RemoveItem(TCollectionItem *Item);
-
- protected:
- void __fastcall Changed(void);
- TCollectionItem *__fastcall GetItem(System::Integer Index);
- void __fastcall SetItem(System::Integer Index, TCollectionItem *Value);
- virtual void __fastcall Update(TCollectionItem *Item);
-
- public:
- __fastcall TCollection(System::TMetaClass * ItemClass);
- __fastcall virtual ~TCollection(void);
- TCollectionItem *__fastcall Add(void);
- virtual void __fastcall Assign(TPersistent *Source);
- void __fastcall BeginUpdate(void);
- void __fastcall Clear(void);
- void __fastcall EndUpdate(void);
- __property System::Integer Count = {read=GetCount, nodefault};
- __property TCollectionItem * Items[System::Integer Index] = {read=GetItem, write=SetItem};
- };
-
- class __declspec(pascalimplementation) TCollectionItem : public TPersistent
- {
- typedef TCollectionItem ThisClass;
- typedef TPersistent inherited;
-
- private:
- TCollection *FCollection;
- System::Integer __fastcall GetIndex(void);
- void __fastcall SetCollection(TCollection *Value);
-
- protected:
- void __fastcall Changed(System::Boolean AllItems);
- virtual void __fastcall SetIndex(System::Integer Value);
-
- public:
- __fastcall virtual TCollectionItem(TCollection *Collection);
- __fastcall virtual ~TCollectionItem(void);
- __property TCollection * Collection = {read=FCollection, write=SetCollection, nodefault};
- __property System::Integer Index = {read=GetIndex, write=SetIndex, nodefault};
- };
-
- class __declspec(delphiclass) TStrings;
- class __declspec(delphiclass) TReader;
- class __declspec(delphiclass) TWriter;
- class __declspec(delphiclass) TStream;
- class __declspec(pascalimplementation) TStrings : public TPersistent
- {
- typedef TStrings ThisClass;
- typedef TPersistent inherited;
-
- private:
- System::Integer FUpdateCount;
- System::AnsiString __fastcall GetCommaText(void);
- System::AnsiString __fastcall GetName(System::Integer Index);
- System::AnsiString __fastcall GetValue(const System::AnsiString Name);
- void __fastcall ReadData(TReader *Reader);
- void __fastcall SetCommaText(const System::AnsiString Value);
- void __fastcall SetValue(const System::AnsiString Name, const System::AnsiString Value);
- void __fastcall WriteData(TWriter *Writer);
-
- protected:
- virtual void __fastcall DefineProperties(TFiler *Filer);
- virtual System::AnsiString __fastcall Get(System::Integer Index) = 0;
- virtual System::Integer __fastcall GetCount(void) = 0;
- virtual System::TObject *__fastcall GetObject(System::Integer Index);
- virtual System::AnsiString __fastcall GetTextStr(void);
- virtual void __fastcall Put(System::Integer Index, const System::AnsiString S);
- virtual void __fastcall PutObject(System::Integer Index, System::TObject *AObject);
- virtual void __fastcall SetTextStr(const System::AnsiString Value);
- virtual void __fastcall SetUpdateState(System::Boolean Updating);
-
- public:
- virtual System::Integer __fastcall Add(const System::AnsiString S);
- virtual System::Integer __fastcall AddObject(const System::AnsiString S, System::TObject *AObject);
-
- void __fastcall Append(const System::AnsiString S);
- virtual void __fastcall AddStrings(TStrings *Strings);
- virtual void __fastcall Assign(TPersistent *Source);
- void __fastcall BeginUpdate(void);
- virtual void __fastcall Clear(void) = 0;
- virtual void __fastcall Delete(System::Integer Index) = 0;
- void __fastcall EndUpdate(void);
- System::Boolean __fastcall Equals(TStrings *Strings);
- virtual void __fastcall Exchange(System::Integer Index1, System::Integer Index2);
- virtual System::PChar __fastcall GetText(void);
- virtual System::Integer __fastcall IndexOf(const System::AnsiString S);
- System::Integer __fastcall IndexOfName(const System::AnsiString Name);
- System::Integer __fastcall IndexOfObject(System::TObject *AObject);
- virtual void __fastcall Insert(System::Integer Index, const System::AnsiString S) = 0;
- void __fastcall InsertObject(System::Integer Index, const System::AnsiString S, System::TObject *AObject
- );
- virtual void __fastcall LoadFromFile(const System::AnsiString FileName);
- virtual void __fastcall LoadFromStream(TStream *Stream);
- virtual void __fastcall Move(System::Integer CurIndex, System::Integer NewIndex);
- virtual void __fastcall SaveToFile(const System::AnsiString FileName);
- virtual void __fastcall SaveToStream(TStream *Stream);
- virtual void __fastcall SetText(System::PChar Text);
- __property System::AnsiString CommaText = {read=GetCommaText, write=SetCommaText, nodefault};
- __property System::Integer Count = {read=GetCount, nodefault};
- __property System::AnsiString Names[System::Integer Index] = {read=GetName};
- __property System::TObject * Objects[System::Integer Index] = {read=GetObject, write=PutObject};
- __property System::AnsiString Values[System::AnsiString Name] = {read=GetValue, write=SetValue};
- __property System::AnsiString Strings[System::Integer Index] = {read=Get, write=Put/*, default*/};
- __property System::AnsiString Text = {read=GetTextStr, write=SetTextStr, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TStrings(void) : Classes::TPersistent() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TStrings(void) { }
-
- };
-
- enum TDuplicates { dupIgnore, dupAccept, dupError };
-
- struct TStringItem;
- typedef TStringItem *PStringItem;
-
- struct TStringItem
- {
- System::AnsiString FString;
- System::TObject *FObject;
- } ;
-
- typedef TStringItem TStringItemList[134217728];
-
- typedef TStringItemList *PStringItemList;
-
- class __declspec(delphiclass) TStringList;
- class __declspec(pascalimplementation) TStringList : public TStrings
- {
- typedef TStringList ThisClass;
- typedef TStrings inherited;
-
- private:
- TStringItemList *FList;
- System::Integer FCount;
- System::Integer FCapacity;
- System::Boolean FSorted;
- TDuplicates FDuplicates;
- TNotifyEvent FOnChange;
- TNotifyEvent FOnChanging;
- void __fastcall ExchangeItems(System::Integer Index1, System::Integer Index2);
- void __fastcall Grow(void);
- void __fastcall QuickSort(System::Integer L, System::Integer R);
- void __fastcall InsertItem(System::Integer Index, const System::AnsiString S);
- void __fastcall SetCapacity(System::Integer NewCapacity);
- void __fastcall SetSorted(System::Boolean Value);
-
- protected:
- virtual void __fastcall Changed(void);
- virtual void __fastcall Changing(void);
- virtual System::AnsiString __fastcall Get(System::Integer Index);
- virtual System::Integer __fastcall GetCount(void);
- virtual System::TObject *__fastcall GetObject(System::Integer Index);
- virtual void __fastcall Put(System::Integer Index, const System::AnsiString S);
- virtual void __fastcall PutObject(System::Integer Index, System::TObject *AObject);
- virtual void __fastcall SetUpdateState(System::Boolean Updating);
-
- public:
- __fastcall virtual ~TStringList(void);
- virtual System::Integer __fastcall Add(const System::AnsiString S);
- virtual void __fastcall Clear(void);
- virtual void __fastcall Delete(System::Integer Index);
- virtual void __fastcall Exchange(System::Integer Index1, System::Integer Index2);
- virtual System::Boolean __fastcall Find(const System::AnsiString S, System::Integer &Index);
- virtual System::Integer __fastcall IndexOf(const System::AnsiString S);
- virtual void __fastcall Insert(System::Integer Index, const System::AnsiString S);
- virtual void __fastcall Sort(void);
- __property TDuplicates Duplicates = {read=FDuplicates, write=FDuplicates, nodefault};
- __property System::Boolean Sorted = {read=FSorted, write=SetSorted, nodefault};
- __property TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- __property TNotifyEvent OnChanging = {read=FOnChanging, write=FOnChanging};
- public:
- /* !! TObject.Create */ __fastcall TStringList(void) : Classes::TStrings() { }
-
- };
-
- class __declspec(delphiclass) TComponent;
- class __declspec(pascalimplementation) TStream : public System::TObject
- {
- typedef TStream ThisClass;
- typedef System::TObject inherited;
-
- private:
- System::Longint __fastcall GetPosition(void);
- void __fastcall SetPosition(System::Longint Pos);
- System::Longint __fastcall GetSize(void);
-
- public:
- virtual System::Longint __fastcall Read(void *Buffer, System::Longint Count) = 0;
- virtual System::Longint __fastcall Write(const void *Buffer, System::Longint Count) = 0;
- virtual System::Longint __fastcall Seek(System::Longint Offset, System::Word Origin) = 0;
- void __fastcall ReadBuffer(void *Buffer, System::Longint Count);
- void __fastcall WriteBuffer(const void *Buffer, System::Longint Count);
- System::Longint __fastcall CopyFrom(TStream *Source, System::Longint Count);
- TComponent *__fastcall ReadComponent(TComponent *Instance);
- TComponent *__fastcall ReadComponentRes(TComponent *Instance);
- void __fastcall WriteComponent(TComponent *Instance);
- void __fastcall WriteComponentRes(const System::AnsiString ResName, TComponent *Instance);
- void __fastcall WriteDescendent(TComponent *Instance, TComponent *Ancestor);
- void __fastcall WriteDescendentRes(const System::AnsiString ResName, TComponent *Instance, TComponent *
- Ancestor);
- void __fastcall ReadResHeader(void);
- __property System::Longint Position = {read=GetPosition, write=SetPosition, nodefault};
- __property System::Longint Size = {read=GetSize, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TStream(void) : System::TObject() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TStream(void) { }
-
- };
-
- class __declspec(delphiclass) THandleStream;
- class __declspec(pascalimplementation) THandleStream : public TStream
- {
- typedef THandleStream ThisClass;
- typedef TStream inherited;
-
- private:
- System::Integer FHandle;
-
- public:
- __fastcall THandleStream(System::Integer AHandle);
- virtual System::Longint __fastcall Read(void *Buffer, System::Longint Count);
- virtual System::Longint __fastcall Write(const void *Buffer, System::Longint Count);
- virtual System::Longint __fastcall Seek(System::Longint Offset, System::Word Origin);
- __property System::Integer Handle = {read=FHandle, nodefault};
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~THandleStream(void) { }
-
- };
-
- class __declspec(delphiclass) TFileStream;
- class __declspec(pascalimplementation) TFileStream : public THandleStream
- {
- typedef TFileStream ThisClass;
- typedef THandleStream inherited;
-
- public:
- __fastcall TFileStream(const System::AnsiString FileName, System::Word Mode);
- __fastcall virtual ~TFileStream(void);
- };
-
- class __declspec(delphiclass) TCustomMemoryStream;
- class __declspec(pascalimplementation) TCustomMemoryStream : public TStream
- {
- typedef TCustomMemoryStream ThisClass;
- typedef TStream inherited;
-
- private:
- void *FMemory;
- System::Longint FSize;
- System::Longint FPosition;
-
- protected:
- void __fastcall SetPointer(System::Pointer Ptr, System::Longint Size);
-
- public:
- virtual System::Longint __fastcall Read(void *Buffer, System::Longint Count);
- virtual System::Longint __fastcall Seek(System::Longint Offset, System::Word Origin);
- void __fastcall SaveToStream(TStream *Stream);
- void __fastcall SaveToFile(const System::AnsiString FileName);
- __property System::Pointer Memory = {read=FMemory, nodefault};
- public:
- /* !! TObject.Create */ __fastcall TCustomMemoryStream(void) : Classes::TStream() { }
- /* !! TObject.Destroy */ __fastcall virtual ~TCustomMemoryStream(void) { }
-
- };
-
- class __declspec(delphiclass) TMemoryStream;
- class __declspec(pascalimplementation) TMemoryStream : public TCustomMemoryStream
- {
- typedef TMemoryStream ThisClass;
- typedef TCustomMemoryStream inherited;
-
- private:
- System::Longint FCapacity;
- void __fastcall SetCapacity(System::Longint NewCapacity);
-
- protected:
- virtual System::Pointer __fastcall Realloc(System::Longint &NewCapacity);
- __property System::Longint Capacity = {read=FCapacity, write=SetCapacity, nodefault};
-
- public:
- __fastcall virtual ~TMemoryStream(void);
- void __fastcall Clear(void);
- void __fastcall LoadFromStream(TStream *Stream);
- void __fastcall LoadFromFile(const System::AnsiString FileName);
- void __fastcall SetSize(System::Longint NewSize);
- virtual System::Longint __fastcall Write(const void *Buffer, System::Longint Count);
- public:
- /* !! TObject.Create */ __fastcall TMemoryStream(void) : Classes::TCustomMemoryStream() { }
-
- };
-
- class __declspec(delphiclass) TResourceStream;
- class __declspec(pascalimplementation) TResourceStream : public TCustomMemoryStream
- {
- typedef TResourceStream ThisClass;
- typedef TCustomMemoryStream inherited;
-
- private:
- System::Integer HResInfo;
- System::Integer HGlobal;
- void __fastcall Initialize(System::Integer Instance, System::PChar Name, System::PChar ResType);
-
- public:
- __fastcall TResourceStream(System::Integer Instance, const System::AnsiString ResName, System::PChar
- ResType);
- __fastcall TResourceStream(System::Integer Instance, System::Integer ResID, System::PChar ResType);
-
- __fastcall virtual ~TResourceStream(void);
- virtual System::Longint __fastcall Write(const void *Buffer, System::Longint Count);
- };
-
- enum TValueType { vaNull, vaList, vaInt8, vaInt16, vaInt32, vaExtended, vaString, vaIdent, vaFalse,
- vaTrue, vaBinary, vaSet, vaLString, vaNil, vaCollection };
-
- enum TFilerFlag { ffInherited, ffChildPos };
-
- typedef Set<TFilerFlag, ffInherited, ffChildPos> TFilerFlags;
-
- typedef void __fastcall (__closure *TReaderProc)(TReader *Reader);
-
- typedef void __fastcall (__closure *TWriterProc)(TWriter *Writer);
-
- typedef void __fastcall (__closure *TStreamProc)(TStream *Stream);
-
- class __declspec(pascalimplementation) TFiler : public System::TObject
- {
- typedef TFiler ThisClass;
- typedef System::TObject inherited;
-
- private:
- TStream *FStream;
- void *FBuffer;
- System::Integer FBufSize;
- System::Integer FBufPos;
- System::Integer FBufEnd;
- TComponent *FRoot;
- TPersistent *FAncestor;
- System::Boolean FIgnoreChildren;
-
- public:
- __fastcall TFiler(TStream *Stream, System::Integer BufSize);
- __fastcall virtual ~TFiler(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, System::Boolean HasData) = 0;
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, System::Boolean HasData) = 0;
- virtual void __fastcall FlushBuffer(void) = 0;
- __property TComponent * Root = {read=FRoot, write=FRoot, nodefault};
- __property TPersistent * Ancestor = {read=FAncestor, write=FAncestor, nodefault};
- __property System::Boolean IgnoreChildren = {read=FIgnoreChildren, write=FIgnoreChildren, nodefault
- };
- };
-
- typedef void __fastcall (__closure *TFindMethodEvent)(TReader *Reader, const System::AnsiString MethodName
- , System::Pointer &Address, System::Boolean &Error);
-
- typedef void __fastcall (__closure *TSetNameEvent)(TReader *Reader, TComponent *Component, System::AnsiString &
- Name);
-
- typedef void __fastcall (__closure *TReadComponentsProc)(TComponent *Component);
-
- typedef void __fastcall (__closure *TReaderError)(TReader *Reader, const System::AnsiString Message,
- System::Boolean &Handled);
-
- class __declspec(pascalimplementation) TReader : public TFiler
- {
- typedef TReader ThisClass;
- typedef TFiler inherited;
-
- private:
- TComponent *FOwner;
- TComponent *FParent;
- TList *FFixups;
- TList *FLoaded;
- TFindMethodEvent FOnFindMethod;
- TSetNameEvent FOnSetName;
- TReaderError FOnError;
- System::Boolean FCanHandleExcepts;
- System::AnsiString FPropName;
- void __fastcall CheckValue(TValueType Value);
- void __fastcall DoFixupReferences(void);
- void __fastcall FreeFixups(void);
- System::Longint __fastcall GetPosition(void);
- void __fastcall PropertyError(void);
- void __fastcall ReadBuffer(void);
- void __fastcall ReadCollection(TCollection *Collection);
- void __fastcall ReadData(TComponent *Instance);
- void __fastcall ReadDataInner(TComponent *Instance);
- void __fastcall ReadProperty(TPersistent *AInstance);
- void __fastcall ReadPropValue(TPersistent *Instance, System::Pointer PropInfo);
- System::Integer __fastcall ReadSet(System::Pointer SetType);
- void __fastcall SetPosition(System::Longint Value);
- void __fastcall SkipSetBody(void);
- void __fastcall SkipValue(void);
- void __fastcall SkipProperty(void);
- void __fastcall SkipComponent(System::Boolean SkipHeader);
-
- protected:
- virtual System::Boolean __fastcall Error(const System::AnsiString Message);
- virtual System::Pointer __fastcall FindMethod(TComponent *Root, const System::AnsiString MethodName
- );
- TValueType __fastcall NextValue(void);
- virtual void __fastcall SetName(TComponent *Component, System::AnsiString &Name);
-
- public:
- __fastcall virtual ~TReader(void);
- void __fastcall BeginReferences(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, System::Boolean HasData);
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, System::Boolean HasData);
- System::Boolean __fastcall EndOfList(void);
- void __fastcall EndReferences(void);
- void __fastcall FixupReferences(void);
- virtual void __fastcall FlushBuffer(void);
- void __fastcall Read(void *Buf, System::Longint Count);
- System::Boolean __fastcall ReadBoolean(void);
- System::Char __fastcall ReadChar(void);
- TComponent *__fastcall ReadComponent(TComponent *Component);
- void __fastcall ReadComponents(TComponent *AOwner, TComponent *AParent, TReadComponentsProc Proc);
- System::Extended __fastcall ReadFloat(void);
- System::AnsiString __fastcall ReadIdent(void);
- System::Longint __fastcall ReadInteger(void);
- void __fastcall ReadListBegin(void);
- void __fastcall ReadListEnd(void);
- void __fastcall ReadPrefix( TFilerFlags *Flags, System::Integer &AChildPos);
- TComponent *__fastcall ReadRootComponent(TComponent *Root);
- void __fastcall ReadSignature(void);
- System::AnsiString __fastcall ReadStr(void);
- System::AnsiString __fastcall ReadString(void);
- TValueType __fastcall ReadValue(void);
- __property TComponent * Owner = {read=FOwner, write=FOwner, nodefault};
- __property TComponent * Parent = {read=FParent, write=FParent, nodefault};
- __property System::Longint Position = {read=GetPosition, write=SetPosition, nodefault};
- __property TReaderError OnError = {read=FOnError, write=FOnError};
- __property TFindMethodEvent OnFindMethod = {read=FOnFindMethod, write=FOnFindMethod};
- __property TSetNameEvent OnSetName = {read=FOnSetName, write=FOnSetName};
- public:
- /* !! TFiler.Create */ __fastcall TReader(TStream *Stream, System::Integer BufSize) : Classes::TFiler(
- Stream, BufSize) { }
-
- };
-
- class __declspec(pascalimplementation) TWriter : public TFiler
- {
- typedef TWriter ThisClass;
- typedef TFiler inherited;
-
- private:
- TComponent *FRootAncestor;
- System::AnsiString FPropPath;
- TList *FAncestorList;
- System::Integer FAncestorPos;
- System::Integer FChildPos;
- void __fastcall AddAncestor(TComponent *Component);
- System::Longint __fastcall GetPosition(void);
- void __fastcall SetPosition(System::Longint Value);
- void __fastcall WriteBinary(TStreamProc WriteData);
- void __fastcall WriteBuffer(void);
- virtual void __fastcall WriteData(TComponent *Instance);
- void __fastcall WritePrefix( TFilerFlags Flags, System::Integer AChildPos);
- void __fastcall WriteProperty(TPersistent *Instance, System::Pointer PropInfo);
- void __fastcall WriteProperties(TPersistent *Instance);
- void __fastcall WritePropName(const System::AnsiString PropName);
- void __fastcall WriteValue(TValueType Value);
-
- public:
- __fastcall virtual ~TWriter(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, System::Boolean HasData);
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, System::Boolean HasData);
- virtual void __fastcall FlushBuffer(void);
- void __fastcall Write(const void *Buf, System::Longint Count);
- void __fastcall WriteBoolean(System::Boolean Value);
- void __fastcall WriteCollection(TCollection *Value);
- void __fastcall WriteComponent(TComponent *Component);
- void __fastcall WriteChar(System::Char Value);
- void __fastcall WriteDescendent(TComponent *Root, TComponent *AAncestor);
- void __fastcall WriteFloat(System::Extended Value);
- void __fastcall WriteIdent(const System::AnsiString Ident);
- void __fastcall WriteInteger(System::Longint Value);
- void __fastcall WriteListBegin(void);
- void __fastcall WriteListEnd(void);
- void __fastcall WriteRootComponent(TComponent *Root);
- void __fastcall WriteSignature(void);
- void __fastcall WriteStr(const System::AnsiString Value);
- void __fastcall WriteString(const System::AnsiString Value);
- __property System::Longint Position = {read=GetPosition, write=SetPosition, nodefault};
- __property TComponent * RootAncestor = {read=FRootAncestor, write=FRootAncestor, nodefault};
- public:
-
- /* !! TFiler.Create */ __fastcall TWriter(TStream *Stream, System::Integer BufSize) : Classes::TFiler(
- Stream, BufSize) { }
-
- };
-
- class __declspec(delphiclass) TParser;
- class __declspec(pascalimplementation) TParser : public System::TObject
- {
- typedef TParser ThisClass;
- typedef System::TObject inherited;
-
- private:
- TStream *FStream;
- System::Longint FOrigin;
- System::Char *FBuffer;
- System::Char *FBufPtr;
- System::Char *FBufEnd;
- System::Char *FSourcePtr;
- System::Char *FSourceEnd;
- System::Char *FTokenPtr;
- System::Char *FStringPtr;
- System::Integer FSourceLine;
- System::Char FSaveChar;
- System::Char FToken;
- void __fastcall ReadBuffer(void);
- void __fastcall SkipBlanks(void);
-
- public:
- __fastcall TParser(TStream *Stream);
- __fastcall virtual ~TParser(void);
- void __fastcall CheckToken(System::Char T);
- void __fastcall CheckTokenSymbol(const System::AnsiString S);
- void __fastcall Error(System::Integer Ident);
- void __fastcall ErrorFmt(System::Integer Ident, const TVarRec *Args, const System::Integer Args_Size
- );
- void __fastcall ErrorStr(const System::AnsiString Message);
- void __fastcall HexToBinary(TStream *Stream);
- System::Char __fastcall NextToken(void);
- System::Longint __fastcall SourcePos(void);
- System::AnsiString __fastcall TokenComponentIdent(void);
- System::Extended __fastcall TokenFloat(void);
- System::Longint __fastcall TokenInt(void);
- System::AnsiString __fastcall TokenString(void);
- System::Boolean __fastcall TokenSymbolIs(const System::AnsiString S);
- __property System::Integer SourceLine = {read=FSourceLine, nodefault};
- __property System::Char Token = {read=FToken, nodefault};
- };
-
- class __declspec(delphiclass) EThread;
- class __declspec(pascalimplementation) EThread : public Sysutils::Exception
- {
- typedef EThread ThisClass;
- typedef Sysutils::Exception inherited;
-
- public:
- /* !! Exception.Create */ __fastcall EThread(const System::AnsiString Msg) : Sysutils::Exception(Msg
- ) { }
- /* !! Exception.CreateFmt */ __fastcall EThread(const System::AnsiString Msg, const TVarRec *Args,
- const System::Integer Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* !! Exception.CreateRes */ __fastcall EThread(System::Integer Ident) : Sysutils::Exception(Ident)
- { }
- /* !! Exception.CreateResFmt */ __fastcall EThread(System::Integer Ident, const TVarRec *Args, const
- System::Integer Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* !! Exception.CreateHelp */ __fastcall EThread(const System::AnsiString Msg, System::Integer AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* !! Exception.CreateFmtHelp */ __fastcall EThread(const System::AnsiString Msg, const TVarRec *Args
- , const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Msg, Args,
- Args_Size, AHelpContext) { }
- /* !! Exception.CreateResHelp */ __fastcall EThread(System::Integer Ident, System::Integer AHelpContext
- ) : Sysutils::Exception(Ident, AHelpContext) { }
- /* !! Exception.CreateResFmtHelp */ __fastcall EThread(System::Integer Ident, const TVarRec *Args,
- const System::Integer Args_Size, System::Integer AHelpContext) : Sysutils::Exception(Ident, Args,
- Args_Size, AHelpContext) { }
-
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~EThread(void) { }
-
- };
-
- typedef void __fastcall (__closure *TThreadMethod)(void);
-
- enum TThreadPriority { tpIdle, tpLowest, tpLower, tpNormal, tpHigher, tpHighest, tpTimeCritical };
-
- class __declspec(delphiclass) TThread;
- class __declspec(pascalimplementation) TThread : public System::TObject
- {
- typedef TThread ThisClass;
- typedef System::TObject inherited;
-
- private:
- System::Integer FHandle;
- System::Integer FThreadID;
- System::Boolean FTerminated;
- System::Boolean FSuspended;
- System::Boolean FMainThreadWaiting;
- System::Boolean FFreeOnTerminate;
- System::Boolean FFinished;
- System::Integer FReturnValue;
- TNotifyEvent FOnTerminate;
- TThreadMethod FMethod;
- System::TObject *FSynchronizeException;
- void __fastcall CallOnTerminate(void);
- TThreadPriority __fastcall GetPriority(void);
- void __fastcall SetPriority(TThreadPriority Value);
- void __fastcall SetSuspended(System::Boolean Value);
-
- protected:
- virtual void __fastcall DoTerminate(void);
- virtual void __fastcall Execute(void) = 0;
- void __fastcall Synchronize(TThreadMethod Method);
- __property System::Integer ReturnValue = {read=FReturnValue, write=FReturnValue, nodefault};
- __property System::Boolean Terminated = {read=FTerminated, nodefault};
-
- public:
- __fastcall TThread(System::Boolean CreateSuspended);
- __fastcall virtual ~TThread(void);
- void __fastcall Resume(void);
- void __fastcall Suspend(void);
- void __fastcall Terminate(void);
- System::Integer __fastcall WaitFor(void);
- __property System::Boolean FreeOnTerminate = {read=FFreeOnTerminate, write=FFreeOnTerminate, nodefault
- };
- __property System::Integer Handle = {read=FHandle, nodefault};
- __property TThreadPriority Priority = {read=GetPriority, write=SetPriority, nodefault};
- __property System::Boolean Suspended = {read=FSuspended, write=SetSuspended, nodefault};
- __property System::Integer ThreadID = {read=FThreadID, nodefault};
- __property TNotifyEvent OnTerminate = {read=FOnTerminate, write=FOnTerminate};
- };
-
- enum TOperation { opInsert, opRemove };
-
- enum Classes_63 { csLoading, csReading, csWriting, csDestroying, csDesigning, csAncestor, csUpdating,
- csFixups };
-
- typedef Set<Classes_63, csLoading, csFixups> TComponentState;
-
- enum Classes_73 { csInheritable, csCheckPropAvail };
-
- typedef Set<Classes_73, csInheritable, csCheckPropAvail> TComponentStyle;
-
- typedef void __fastcall (__closure *TGetChildProc)(TComponent *Child);
-
- typedef System::AnsiString TComponentName;
-
- class __declspec(pascalimplementation) TComponent : public TPersistent
- {
- typedef TComponent ThisClass;
- typedef TPersistent inherited;
-
- private:
- TComponent *FOwner;
- System::AnsiString FName;
- System::Longint FTag;
- TList *FComponents;
- TList *FFreeNotifies;
- System::Longint FDesignInfo;
- TComponentState FComponentState;
- TComponent *__fastcall GetComponent(System::Integer AIndex);
- System::Integer __fastcall GetComponentCount(void);
- System::Integer __fastcall GetComponentIndex(void);
- void __fastcall Insert(TComponent *AComponent);
- void __fastcall ReadLeft(TReader *Reader);
- void __fastcall ReadTop(TReader *Reader);
- void __fastcall Remove(TComponent *AComponent);
- void __fastcall SetComponentIndex(System::Integer Value);
- void __fastcall SetReference(System::Boolean Enable);
- void __fastcall WriteLeft(TWriter *Writer);
- void __fastcall WriteTop(TWriter *Writer);
-
- protected:
- TComponentStyle FComponentStyle;
- void __fastcall ChangeName(const System::AnsiString NewName);
- virtual void __fastcall DefineProperties(TFiler *Filer);
- virtual void __fastcall GetChildren(TGetChildProc Proc);
- virtual TComponent *__fastcall GetChildOwner(void);
- virtual TComponent *__fastcall GetChildParent(void);
- virtual void __fastcall Loaded(void);
- virtual void __fastcall Notification(TComponent *AComponent, TOperation Operation);
- virtual void __fastcall ReadState(TReader *Reader);
- void __fastcall SetAncestor(System::Boolean Value);
- void __fastcall SetDesigning(System::Boolean Value);
- virtual void __fastcall SetName(const System::AnsiString NewName);
- virtual void __fastcall SetChildOrder(TComponent *Child, System::Integer Order);
- virtual void __fastcall SetParentComponent(TComponent *Value);
- virtual void __fastcall Updating(void);
- virtual void __fastcall Updated(void);
- virtual void __fastcall ValidateRename(TComponent *AComponent, const System::AnsiString CurName, const System::AnsiString
- NewName);
- virtual void __fastcall WriteState(TWriter *Writer);
-
- public:
- __fastcall virtual TComponent(TComponent *AOwner);
- __fastcall virtual ~TComponent(void);
- void __fastcall DestroyComponents(void);
- void __fastcall Destroying(void);
- TComponent *__fastcall FindComponent(const System::AnsiString AName);
- virtual TComponent *__fastcall GetParentComponent(void);
- virtual System::Boolean __fastcall HasParent(void);
- void __fastcall FreeNotification(TComponent *AComponent);
- void __fastcall InsertComponent(TComponent *AComponent);
- void __fastcall RemoveComponent(TComponent *AComponent);
- __property TComponent * Components[System::Integer Index] = {read=GetComponent};
- __property System::Integer ComponentCount = {read=GetComponentCount, nodefault};
- __property System::Integer ComponentIndex = {read=GetComponentIndex, write=SetComponentIndex, nodefault
- };
- __property TComponentState ComponentState = {read=FComponentState, nodefault};
- __property TComponentStyle ComponentStyle = {read=FComponentStyle, nodefault};
- __property System::Longint DesignInfo = {read=FDesignInfo, write=FDesignInfo, nodefault};
- __property TComponent * Owner = {read=FOwner, nodefault};
-
- __published:
- __property System::AnsiString Name = {read=FName, write=SetName, stored=false, nodefault};
- __property System::Longint Tag = {read=FTag, write=FTag, default=0};
- };
-
- typedef System::TMetaClass *TComponentClass;
-
- typedef System::Boolean __fastcall (*TIdentToInt)(const System::AnsiString Ident, System::Longint &Int
- );
-
- typedef System::Boolean __fastcall (*TIntToIdent)(System::Longint Int, System::AnsiString &Ident);
-
- typedef TComponent *__fastcall (*TFindGlobalComponent)(const System::AnsiString Name);
-
- //-- var, const, procedure ---------------------------------------------------
- #define MaxListSize System::Integer(134217727)
- #define soFromBeginning System::Byte(0)
- #define soFromCurrent System::Byte(1)
- #define soFromEnd System::Byte(2)
- #define fmCreate System::Integer(65535)
- #define toEOF System::Char(0)
- #define toSymbol System::Char(1)
- #define toString System::Char(2)
- #define toInteger System::Char(3)
- #define toFloat System::Char(4)
- extern void __fastcall (*RegisterComponentsProc)(const System::AnsiString Page, const TComponentClass
- *ComponentClasses, const System::Integer ComponentClasses_Size);
- extern void __fastcall (*RegisterNoIconProc)(const TComponentClass *ComponentClasses, const System::Integer
- ComponentClasses_Size);
- extern System::Integer MainThreadID;
- extern TFindGlobalComponent FindGlobalComponent;
- extern Windows::TPoint __fastcall Point(System::Integer AX, System::Integer AY);
- extern Windows::TSmallPoint __fastcall SmallPoint(System::Smallint AX, System::Smallint AY);
- extern Windows::TRect __fastcall Rect(System::Integer ALeft, System::Integer ATop, System::Integer ARight
- , System::Integer ABottom);
- extern Windows::TRect __fastcall Bounds(System::Integer ALeft, System::Integer ATop, System::Integer
- AWidth, System::Integer AHeight);
- extern System::TMetaClass * __fastcall GetClass(const System::AnsiString ClassName);
- extern System::TMetaClass * __fastcall FindClass(const System::AnsiString ClassName);
- extern void __fastcall RegisterClass(System::TMetaClass * AClass);
- extern void __fastcall RegisterClasses(const TPersistentClass *AClasses, const System::Integer AClasses_Size
- );
- extern void __fastcall RegisterClassAlias(System::TMetaClass * AClass, const System::AnsiString Alias
- );
- extern void __fastcall UnRegisterClass(System::TMetaClass * AClass);
- extern void __fastcall UnRegisterClasses(const TPersistentClass *AClasses, const System::Integer AClasses_Size
- );
- extern void __fastcall RegisterComponents(const System::AnsiString Page, const TComponentClass *ComponentClasses
- , const System::Integer ComponentClasses_Size);
- extern void __fastcall RegisterNoIcon(const TComponentClass *ComponentClasses, const System::Integer
- ComponentClasses_Size);
- extern void __fastcall RegisterIntegerConsts(System::Pointer IntegerType, TIdentToInt IdentToInt, TIntToIdent
- IntToIdent);
- extern void __fastcall BeginGlobalLoading(void);
- extern void __fastcall NotifyGlobalLoading(void);
- extern void __fastcall EndGlobalLoading(void);
- extern System::Boolean __fastcall InitInheritedComponent(TComponent *Instance, System::TMetaClass *
- RootAncestor);
- extern System::Boolean __fastcall InitComponentRes(const System::AnsiString ResName, TComponent *Instance
- );
- extern TComponent *__fastcall ReadComponentRes(const System::AnsiString ResName, TComponent *Instance
- );
- extern TComponent *__fastcall ReadComponentResFile(const System::AnsiString FileName, TComponent *Instance
- );
- extern void __fastcall WriteComponentResFile(const System::AnsiString FileName, TComponent *Instance
- );
- extern System::Boolean __fastcall CollectionsEqual(TCollection *C1, TCollection *C2);
- extern System::PChar __fastcall LineStart(System::PChar Buffer, System::PChar BufPos);
- extern void __fastcall GlobalFixupReferences(void);
- extern void __fastcall GetFixupReferenceNames(TComponent *Root, TStrings *Names);
- extern void __fastcall RedirectFixupReferences(TComponent *Root, const System::AnsiString OldRootName
- , const System::AnsiString NewRootName);
- extern void __fastcall RemoveFixupReferences(TComponent *Root, const System::AnsiString RootName);
- extern void __fastcall GetFixupInstanceNames(TComponent *Root, const System::AnsiString ReferenceRootName
- , TStrings *Names);
- extern void __fastcall ObjectBinaryToText(TStream *Input, TStream *Output);
- extern void __fastcall ObjectTextToBinary(TStream *Input, TStream *Output);
- extern void __fastcall ObjectResourceToText(TStream *Input, TStream *Output);
- extern void __fastcall ObjectTextToResource(TStream *Input, TStream *Output);
- //-- template instantiations -------------------------------------------------
- template class TComponentStyle ;
- template class TComponentState ;
- template class TFilerFlags ;
- template class TShiftState ;
-
- } /* namespace Classes */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Classes;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Classes
-