Abstract class, provides interface to handle technical analysis input data. More...
#include <DataSource.h>
Public Member Functions | |
virtual int | init (T *, int)=0 |
virtual T * | first () const =0 |
virtual T * | last ()=0 |
virtual T * | next ()=0 |
virtual T * | previous ()=0 |
virtual int | count () const =0 |
virtual void | set (T *t, int idx)=0 |
virtual void | count (int)=0 |
virtual T & | operator[] (int indx)=0 |
Abstract class, provides interface to handle technical analysis input data.
virtual int RT::IDataSource< T >::count | ( | ) | const [pure virtual] |
returns elements count
Implemented in RT::TDataSource< T >.
virtual T* RT::IDataSource< T >::first | ( | ) | const [pure virtual] |
returns pointer to the first element
Implemented in RT::TDataSource< T >.
virtual T* RT::IDataSource< T >::last | ( | ) | [pure virtual] |
returns pointer to the last element
Implemented in RT::TDataSource< T >.
virtual T* RT::IDataSource< T >::next | ( | ) | [pure virtual] |
returns pointer to the next element
Implemented in RT::TDataSource< T >.
virtual T& RT::IDataSource< T >::operator[] | ( | int | indx | ) | [pure virtual] |
index access to data elements
Implemented in RT::TDataSource< T >.
virtual T* RT::IDataSource< T >::previous | ( | ) | [pure virtual] |
returns pointer to the previous element
Implemented in RT::TDataSource< T >.
virtual void RT::IDataSource< T >::set | ( | T * | t, | |
int | idx | |||
) | [pure virtual] |
Sets the data element
t | Value to copy from | |
idx | Index of the element to change |
Implemented in RT::TDataSource< T >.