#include <orea/cube/jaggedcube.hpp>
Public Member Functions | |
TradeBlock () | |
TradeBlock (Size inputDates, Size inputDepth, Size samples) | |
Size | index (Size date, Size dep, Size sample) const |
Size | indexT0 (Size dep) const |
bool | isValid (Size date, Size dep, Size sample) const |
bool | isValidT0 (Size dep) const |
Real | getT0 (Size dep) const |
void | setT0 (Real value, Size dep) |
Real | get (Size date, Size sample, Size dep) const |
void | set (Real value, Size date, Size sample, Size dep) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
Size | dateLen_ |
Size | depth_ |
Size | samples_ |
vector< T > | data_ |
Friends | |
class | boost::serialization::access |
Definition at line 43 of file jaggedcube.hpp.
TradeBlock | ( | ) |
Definition at line 51 of file jaggedcube.hpp.
TradeBlock | ( | Size | inputDates, |
Size | inputDepth, | ||
Size | samples | ||
) |
Size index | ( | Size | date, |
Size | dep, | ||
Size | sample | ||
) | const |
Size indexT0 | ( | Size | dep | ) | const |
Definition at line 65 of file jaggedcube.hpp.
bool isValid | ( | Size | date, |
Size | dep, | ||
Size | sample | ||
) | const |
Definition at line 67 of file jaggedcube.hpp.
bool isValidT0 | ( | Size | dep | ) | const |
Real getT0 | ( | Size | dep | ) | const |
Definition at line 74 of file jaggedcube.hpp.
void setT0 | ( | Real | value, |
Size | dep | ||
) |
Definition at line 82 of file jaggedcube.hpp.
Real get | ( | Size | date, |
Size | sample, | ||
Size | dep | ||
) | const |
Definition at line 90 of file jaggedcube.hpp.
void set | ( | Real | value, |
Size | date, | ||
Size | sample, | ||
Size | dep | ||
) |
Definition at line 99 of file jaggedcube.hpp.
|
private |
|
friend |
Definition at line 110 of file jaggedcube.hpp.
|
private |
Definition at line 45 of file jaggedcube.hpp.
|
private |
Definition at line 46 of file jaggedcube.hpp.
|
private |
Definition at line 47 of file jaggedcube.hpp.
|
private |
Definition at line 48 of file jaggedcube.hpp.