home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'SerList.pas' rev: 3.00
-
- #ifndef SerListHPP
- #define SerListHPP
- #include <Misc.hpp>
- #include <pSeries.hpp>
- #include <Axis.hpp>
- #include <Dialogs.hpp>
- #include <SysUtils.hpp>
- #include <Graphics.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Serlist
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TSeriesList;
- class PASCALIMPLEMENTATION TSeriesList : public Classes::TList
- {
- typedef Classes::TList inherited;
-
- private:
- Classes::TList* FAxisList;
- Axis::TAxis* FXAxis;
- Axis::TAxis* FYAxis;
- Classes::TNotifyEvent FOnChange;
- int LastSavedPoint;
- float __fastcall GetXmin(void);
- float __fastcall GetXmax(void);
- bool __fastcall GetDataChanged(void);
- int __fastcall GetMaxNoPts(void);
- int __fastcall GetMinNoPts(void);
- int __fastcall GetTotalNoPts(void);
- void __fastcall SetDataChanged(bool Value);
-
- protected:
- virtual void __fastcall StyleChange(void);
-
- public:
- __property bool DataChanged = {read=GetDataChanged, write=SetDataChanged, stored=false, nodefault};
-
- __property int TotalNoPts = {read=GetTotalNoPts, stored=false, nodefault};
- __property int MaxNoPts = {read=GetMaxNoPts, stored=false, nodefault};
- __property int MinNoPts = {read=GetMinNoPts, stored=false, nodefault};
- __property float Xmin = {read=GetXmin, stored=false};
- __property float Xmax = {read=GetXmax, stored=false};
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- __fastcall virtual TSeriesList(Classes::TList* AxisListPtr);
- __fastcall virtual ~TSeriesList(void);
- HIDESBASE int __fastcall Add(int XSeriesIndex);
- int __fastcall AddExternal(Misc::pSingleArray XPointer, Misc::pSingleArray YPointer, int NumberOfPoints
- );
- int __fastcall AddInternal(Misc::pSingleArray XPointer, Misc::pSingleArray YPointer, int NumberOfPoints
- );
- void __fastcall ClearSeries(void);
- int __fastcall CloneSeries(int TheSeries);
- void __fastcall DeleteSeries(int Index);
- void __fastcall DataAsHTMLTable(Classes::TStringList* &TheData);
- void __fastcall GetStream(bool AsText, char Delimiter, Classes::TMemoryStream* TheStream);
- void __fastcall GetSubHeaderStream(char Delimiter, Classes::TMemoryStream* TheStream);
- void __fastcall GetBinaryStream(int Start, int Finish, Classes::TMemoryStream* TheStream);
- void __fastcall GetTextStream(char Delimiter, int Start, int Finish, Classes::TMemoryStream* TheStream
- );
- void __fastcall AppendStream(bool AsText, char Delimiter, Misc::TMemoryStreamEx* TheStream);
- void __fastcall Draw(Graphics::TCanvas* ACanvas);
- void __fastcall DrawColumns(Graphics::TCanvas* ACanvas);
- void __fastcall DrawHistory(Graphics::TCanvas* ACanvas, float HistoryX);
- void __fastcall DrawMultiple(Graphics::TCanvas* ACanvas, Byte Multiplicity);
- void __fastcall DrawHistoryMultiple(Graphics::TCanvas* ACanvas, Byte Multiplicity);
- int __fastcall GetNearestPoint(int iX, int iY, int &TheSeries, int &NearestiX, int &NearestiY, float
- &NearestX, float &NearestY, float &MinDistance, Pseries::TSeries* &pSeries);
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Serlist */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Serlist;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // SerList
-