Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ConstantDepthCalculator Class Reference

#include <orea/cube/jaggedcube.hpp>

+ Inheritance diagram for ConstantDepthCalculator:
+ Collaboration diagram for ConstantDepthCalculator:

Public Member Functions

 ConstantDepthCalculator (Size d=1)
 
Size depth (const QuantLib::ext::shared_ptr< ore::data::Trade > &) const override
 
- Public Member Functions inherited from DepthCalculator
virtual ~DepthCalculator ()
 
virtual Size depth (const QuantLib::ext::shared_ptr< ore::data::Trade > &t) const =0
 

Private Attributes

Size d_
 

Detailed Description

Definition at line 125 of file jaggedcube.hpp.

Constructor & Destructor Documentation

◆ ConstantDepthCalculator()

ConstantDepthCalculator ( Size  d = 1)

Definition at line 127 of file jaggedcube.hpp.

Member Function Documentation

◆ depth()

Size depth ( const QuantLib::ext::shared_ptr< ore::data::Trade > &  ) const
overridevirtual

Implements DepthCalculator.

Definition at line 128 of file jaggedcube.hpp.

128{ return d_; }

Member Data Documentation

◆ d_

Size d_
private

Definition at line 131 of file jaggedcube.hpp.