QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
XabrSwaptionVolatilityCube< Model >::PrivateObserver Class Reference
+ Inheritance diagram for XabrSwaptionVolatilityCube< Model >::PrivateObserver:
+ Collaboration diagram for XabrSwaptionVolatilityCube< Model >::PrivateObserver:

Public Member Functions

 PrivateObserver (XabrSwaptionVolatilityCube< Model > *v)
 
void update () override
 
- Public Member Functions inherited from Observer
 Observer ()=default
 
 Observer (const Observer &)
 
Observeroperator= (const Observer &)
 
virtual ~Observer ()
 
std::pair< iterator, boolregisterWith (const ext::shared_ptr< Observable > &)
 
void registerWithObservables (const ext::shared_ptr< Observer > &)
 
Size unregisterWith (const ext::shared_ptr< Observable > &)
 
void unregisterWithAll ()
 
virtual void update ()=0
 
virtual void deepUpdate ()
 

Private Attributes

XabrSwaptionVolatilityCube< Model > * v_
 

Additional Inherited Members

- Public Types inherited from Observer
typedef set_type::iterator iterator
 

Detailed Description

template<class Model>
class QuantLib::XabrSwaptionVolatilityCube< Model >::PrivateObserver

Definition at line 201 of file sabrswaptionvolatilitycube.hpp.

Constructor & Destructor Documentation

◆ PrivateObserver()

PrivateObserver ( XabrSwaptionVolatilityCube< Model > *  v)
explicit

Definition at line 203 of file sabrswaptionvolatilitycube.hpp.

Member Function Documentation

◆ update()

void update ( )
overridevirtual

This method must be implemented in derived classes. An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.

Implements Observer.

Definition at line 205 of file sabrswaptionvolatilitycube.hpp.

Member Data Documentation

◆ v_

XabrSwaptionVolatilityCube<Model>* v_
private

Definition at line 211 of file sabrswaptionvolatilitycube.hpp.