RT::IDataSource< T > Class Template Reference

Abstract class, provides interface to handle technical analysis input data. More...

#include <DataSource.h>

Inheritance diagram for RT::IDataSource< T >:
RT::TDataSource< T >

List of all members.

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

Detailed Description

template<class T>
class RT::IDataSource< T >

Abstract class, provides interface to handle technical analysis input data.


Member Function Documentation

template<class T >
virtual int RT::IDataSource< T >::count (  )  const [pure virtual]

returns elements count

Implemented in RT::TDataSource< T >.

template<class T >
virtual T* RT::IDataSource< T >::first (  )  const [pure virtual]

returns pointer to the first element

Implemented in RT::TDataSource< T >.

template<class T >
virtual T* RT::IDataSource< T >::last (  )  [pure virtual]

returns pointer to the last element

Implemented in RT::TDataSource< T >.

template<class T >
virtual T* RT::IDataSource< T >::next (  )  [pure virtual]

returns pointer to the next element

Implemented in RT::TDataSource< T >.

template<class T >
virtual T& RT::IDataSource< T >::operator[] ( int  indx  )  [pure virtual]

index access to data elements

Implemented in RT::TDataSource< T >.

template<class T >
virtual T* RT::IDataSource< T >::previous (  )  [pure virtual]

returns pointer to the previous element

Implemented in RT::TDataSource< T >.

template<class T >
virtual void RT::IDataSource< T >::set ( T *  t,
int  idx 
) [pure virtual]

Sets the data element

Parameters:
t Value to copy from
idx Index of the element to change

Implemented in RT::TDataSource< T >.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 7 15:51:18 2011 for RTAPI by  doxygen 1.6.3