#include <Proxy.h>
Public Types | |
typedef Proxy | Base |
Static Public Member Functions | |
static boost::shared_ptr< T > | create () |
static boost::shared_ptr< T > | find (ProxyID id) |
Protected Member Functions | |
Proxy (ProxyID id) | |
Static Private Member Functions | |
static ProxyBase * | ctor (ProxyID id) |
ThePEG::Proxy< T >::Proxy | ( | ProxyID | id | ) | [inline, protected] |
Reimplemented in ThePEG::RandomEngineGlue::Proxy.
Definition at line 50 of file Proxy.h.
: ProxyBase(id) {}
static boost::shared_ptr<T> ThePEG::Proxy< T >::create | ( | void | ) | [inline, static] |
Definition at line 44 of file Proxy.h.
Referenced by ThePEG::Proxy< Proxy >::create().
{ return boost::static_pointer_cast<T>(ProxyBase::create(&Proxy::ctor)); }
static ProxyBase* ThePEG::Proxy< T >::ctor | ( | ProxyID | id | ) | [inline, static, private] |
Definition at line 53 of file Proxy.h.
Referenced by ThePEG::Proxy< Proxy >::create().
{ return new T(id); }
static boost::shared_ptr<T> ThePEG::Proxy< T >::find | ( | ProxyID | id | ) | [inline, static] |
Reimplemented from ThePEG::ProxyBase.
Definition at line 46 of file Proxy.h.
Referenced by ThePEG::Proxy< Proxy >::find().
{ return boost::dynamic_pointer_cast<T>(ProxyBase::find(id)); }