QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
TimeSeries< T, Container >::reverse< container, iterator_category > Struct Template Reference

#include <timeseries.hpp>

+ Collaboration diagram for TimeSeries< T, Container >::reverse< container, iterator_category >:

Public Types

typedef std::reverse_iterator< typename container::const_iterator > const_reverse_iterator
 

Public Member Functions

 reverse (const container &c)
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 

Public Attributes

const container & c_
 

Detailed Description

template<class T, class Container = std::map<Date, T>>
template<class container, class iterator_category>
struct QuantLib::TimeSeries< T, Container >::reverse< container, iterator_category >

Definition at line 120 of file timeseries.hpp.

Member Typedef Documentation

◆ const_reverse_iterator

typedef std::reverse_iterator<typename container::const_iterator> const_reverse_iterator

Definition at line 122 of file timeseries.hpp.

Constructor & Destructor Documentation

◆ reverse()

reverse ( const container &  c)

Definition at line 123 of file timeseries.hpp.

Member Function Documentation

◆ rbegin()

const_reverse_iterator rbegin ( ) const

Definition at line 124 of file timeseries.hpp.

+ Here is the caller graph for this function:

◆ rend()

const_reverse_iterator rend ( ) const

Definition at line 127 of file timeseries.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ c_

const container& c_

Definition at line 130 of file timeseries.hpp.