Rechercher une page de manuel
QuantLib_RelinkableHandle
Langue: en
Version: 373935 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
QuantLib::RelinkableHandle -Relinkable handle to an observable.
SYNOPSIS
#include <ql/handle.hpp>
Inherits QuantLib::Handle< T >.
Public Member Functions
RelinkableHandle (const boost::shared_ptr< T > &p=boost::shared_ptr< T >(), bool registerAsObserver=true)
RelinkableHandle (T *p, bool registerAsObserver=true)
void linkTo (const boost::shared_ptr< T > &, bool registerAsObserver=true)
Detailed Description
template<class T> class QuantLib::RelinkableHandle< T >
Relinkable handle to an observable.An instance of this class can be relinked so that it points to another observable. The change will be propagated to all handles that were created as copies of such instance.
Precondition:
- Class T must inherit from Observable
Warning
- see the Handle documentation for issues relatives to registerAsObserver.
Author
Generated automatically by Doxygen for QuantLib from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre