|
ClockWork DB CoreAPI 1.0.48
Abstract Time Series and Storage/Management Library
|
Inheritance diagram for tom::collections::time_series_impl< T >:
Collaboration diagram for tom::collections::time_series_impl< T >:Public Types | |
| typedef vector_type::const_iterator | const_iterator |
| typedef vector_type::difference_type | difference_type |
| typedef vector_type::iterator | iterator |
| typedef std::random_access_iterator_tag | iterator_category |
| typedef vector_type::pointer | pointer |
| typedef vector_type::reference | reference |
| typedef tom::value_types::scalar< typename T::value_type > | scalar_type |
| typedef T | value_type |
| typedef std::vector< typename T::value_type > | vector_type |
Public Member Functions | |
| time_series_impl (calendar &cal) | |
| template<typename IteratorT > | |
| time_series_impl (calendar &cal, date start, IteratorT begin, IteratorT end) | |
| template<typename Iter > | |
| time_series_impl (calendar &cal, date_int_type start, Iter begin, Iter end) | |
| virtual time_series_iterator & | begin () const |
| virtual const void * | data () const |
| virtual time_series_iterator & | end () const |
| virtual tom::calendars::calendar & | get_calendar () const |
| date_int_type | get_first_date_int () const |
| date_int_type | get_last_date_int () const |
| virtual const observation & | get_observation (const date d) const |
| virtual const observation & | get_observation (date_int_type d) const |
| bool | in_range (date_int_type d) const |
| bool | is_empty () const |
| virtual observation & | operator[] (const date d) |
| virtual const observation & | operator[] (const date d) const |
| virtual observation & | operator[] (const date_int_type d) |
| virtual const observation & | operator[] (const date_int_type d) const |
| virtual std::ostream & | print (std::ostream &) const |
| virtual void | set_observation (const date d, const observation &val) |
| void | set_observation (const date d, const typename T::value_type &val) |
| void | set_observation (const date d, tom::value_type val) |
| void | set_observation (const date_int_type d, const typename T::value_type &val) |
| void | set_observation (const date_int_type d, tom::value_type val) |
| virtual void | set_observation (date d, const Date &v) |
| virtual void | set_observation (date_int_type d, const Date &v) |
| virtual void | set_observation (date_int_type d, const observation &val) |
| void | set_observation_ (date_int_type d, const T &v) |
Public Member Functions inherited from tom::collections::time_series | |
| date | get_first_date () const |
| date | get_last_date () const |
| void | set_observation (const Date &d, bool f) |
| virtual void | set_observation (const Date &d, const char *f) |
| virtual void | set_observation (const Date &d, const observation &val) |
| virtual void | set_observation (const Date &d, const std::string &f) |
| void | set_observation (const Date &d, double f) |
| void | set_observation (const Date &d, float f) |
| void | set_observation (const Date &d, int f) |
| void | set_observation (const Date &d, tom::value_type f) |
| void | set_observation (date d, bool f) |
| virtual void | set_observation (date d, const char *f) |
| virtual void | set_observation (date d, const std::string &f) |
| void | set_observation (date d, double f) |
| void | set_observation (date d, float f) |
| void | set_observation (date d, int f) |
| void | set_observation (date d, tom::value_type f) |
| void | set_observation (date_int_type d, bool f) |
| virtual void | set_observation (date_int_type d, const char *f) |
| virtual void | set_observation (date_int_type d, const std::string &f) |
| void | set_observation (date_int_type d, double f) |
| void | set_observation (date_int_type d, float f) |
| void | set_observation (date_int_type d, int f) |
| void | set_observation (date_int_type d, tom::value_type f) |
Protected Types | |
| enum | Alignment { OFFSET , NATURAL } |
Protected Member Functions | |
| void | assign_nd (date_int_type start, date_int_type end) |
| void | extend (date_int_type d) |
| Alignment | get_alignment () const |
| int | get_offset () const |
| size_t | index_of (date_int_type d) const |
| iterator | real_begin () |
| const_iterator | real_begin () const |
| iterator | real_end () |
| const_iterator | real_end () const |
| void | realign () |
| void | set_alignment (Alignment a) |
| void | set_first_date (date_int_type d) |
| void | set_last_date (date_int_type d) |
| void | unwind_end (date_int_type d) |
| void | unwind_start (date_int_type d) |
Protected Member Functions inherited from tom::collections::time_series | |
| date_int_type | set_first_date_int (const date_int_type d) |
| date_int_type | set_last_date_int (const date_int_type d) |
Protected Attributes | |
| Alignment | m_align |
| calendar & | m_calendar |
| date_int_type | m_calendar_offset |
| date_int_type | m_first_date |
| date_int_type | m_last_date |
| date_int_type | m_min_first_date |
| value_type | m_return_value |
Protected Attributes inherited from tom::collections::time_series | |
| date_int_type | m_end_date_int |
| date_int_type | m_start_date_int |
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Reimplemented from tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Reimplemented from tom::collections::time_series.
|
inlinevirtual |
Reimplemented from tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
virtual |
Implements tom::collections::time_series.
|
virtual |
Implements tom::collections::time_series.
|
virtual |
Implements tom::collections::time_series.
|
virtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.
|
inlinevirtual |
Implements tom::collections::time_series.