Version: 0.6.0
ohlcsimpledataset.h
1 // Name: ohlcdataset.h
3 // Purpose: OHLC simple dataset declaration.
4 // Author: Moskvichev Andrey V.
5 // Created: 2011/12/25
6 // Copyright: (c) 2008-2011 Moskvichev Andrey V.
7 // Licence: wxWidgets licence
9 
10 #ifndef OHLCSIMPLEDATASET_H_
11 #define OHLCSIMPLEDATASET_H_
12 
13 #include <wx/ohlc/ohlcdataset.h>
14 
15 class WXDLLIMPEXP_FREECHART OHLCSimpleDataset : public OHLCDataset
16 {
17  DECLARE_CLASS(OHLCSimpleDataset)
18 public:
19  OHLCSimpleDataset(OHLCItem *items, size_t count);
20  virtual ~OHLCSimpleDataset();
21 
22  virtual OHLCItem *GetItem(size_t index);
23 
24  virtual size_t GetCount();
25 
26 private:
27  OHLCItem *m_items;
28  size_t m_count;
29 };
30 
31 #endif /*OHLCSIMPLEDATASET_H_*/
virtual size_t GetCount()=0
virtual OHLCItem * GetItem(size_t index)=0
Definition: ohlcdataset.h:31
Definition: ohlcdataset.h:16
Definition: ohlcsimpledataset.h:15