| 
|   | ServiceHandle (const std::string &serviceName, const std::string &theParentName) | 
|   | Create a handle ('smart pointer') to a service.  More...
  | 
|   | 
| template<typename CT  = T, typename NCT  = typename std::remove_const<T>::type>  | 
|   | ServiceHandle (const ServiceHandle< NCT > &other, typename std::enable_if< std::is_const< CT >::value &&!std::is_same< CT, NCT >::value >::type *=nullptr) | 
|   | Copy constructor from a non const T to const T service handle.  More...
  | 
|   | 
| template<class OWNER , typename  = typename std::enable_if<std::is_base_of<IProperty, OWNER>::value>::type>  | 
|   | ServiceHandle (OWNER *owner, std::string PropName, std::string svcName, std::string doc="") | 
|   | Autodeclaring constructor with property name, service type/name and documentation.  More...
  | 
|   | 
| StatusCode  | initialize (const std::string &serviceName, const std::string &theParentName) | 
|   | 
| StatusCode  | retrieve () const  | 
|   | Retrieve the Service.  More...
  | 
|   | 
| T *  | get () const  | 
|   | Release the Service.  More...
  | 
|   | 
| T *  | operator-> () const  | 
|   | Allow non const access to the service, even from a const handle...  More...
  | 
|   | 
| T &  | operator* () const  | 
|   | 
  Public Member Functions inherited from GaudiHandle< T > | 
| template<typename CT  = T, typename NCT  = typename std::remove_const<T>::type>  | 
|   | GaudiHandle (const GaudiHandle< NCT > &other, typename std::enable_if< std::is_const< CT >::value &&!std::is_same< CT, NCT >::value >::type *=nullptr) | 
|   | Copy constructor needed for correct ref-counting.  More...
  | 
|   | 
|   | GaudiHandle (const GaudiHandle &other) | 
|   | Copy constructor needed for correct ref-counting.  More...
  | 
|   | 
| template<typename CT  = T, typename NCT  = typename std::remove_const<T>::type>  | 
| std::enable_if< std::is_const< CT >::value &&!std::is_same< CT, NCT >::value, GaudiHandle & >::type  | operator= (const GaudiHandle< NCT > &other) | 
|   | Assignment operator for correct ref-counting.  More...
  | 
|   | 
| GaudiHandle &  | operator= (const GaudiHandle &other) | 
|   | Assignment operator for correct ref-counting.  More...
  | 
|   | 
| StatusCode  | retrieve () const  | 
|   | Retrieve the component.  More...
  | 
|   | 
| StatusCode  | release () const  | 
|   | Release the component.  More...
  | 
|   | 
| bool  | isValid () const  | 
|   | Check if the handle is valid (try to retrive the object is not done yet).  More...
  | 
|   | 
|   | operator bool () const  | 
|   | For testing if handle has component.  More...
  | 
|   | 
| T *  | get () | 
|   | Return the wrapped pointer, not calling retrieve() if null.  More...
  | 
|   | 
| std::add_const< T >::type *  | get () const  | 
|   | Return the wrapped pointer, not calling retrieve() if null.  More...
  | 
|   | 
| bool  | isSet () const  | 
|   | True if the wrapped pointer is not null.  More...
  | 
|   | 
| T &  | operator* () | 
|   | 
| T *  | operator-> () | 
|   | 
| std::add_const< T >::type &  | operator* () const  | 
|   | 
| std::add_const< T >::type *  | operator-> () const  | 
|   | 
| std::string  | getDefaultType () | 
|   | Helper function to get default type string from the class type.  More...
  | 
|   | 
| std::string  | getDefaultName () | 
|   | 
  Public Member Functions inherited from GaudiHandleBase | 
| std::string  | typeAndName () const  | 
|   | The full type and name: "type/name".  More...
  | 
|   | 
| std::string  | type () const  | 
|   | The concrete component class name: the part before the '/'.  More...
  | 
|   | 
| std::string  | name () const  | 
|   | The instance name: the part after the '/'.  More...
  | 
|   | 
| bool  | empty () const  | 
|   | Check if the handle has been set to empty string (i.e.  More...
  | 
|   | 
| void  | setTypeAndName (std::string myTypeAndName) | 
|   | The component "type/name" string.  More...
  | 
|   | 
| void  | setName (const std::string &myName) | 
|   | Set the instance name (part after the '/') without changing the class type.  More...
  | 
|   | 
| std::string  | pythonPropertyClassName () const  override | 
|   | Name of the componentType with "Handle" appended.  More...
  | 
|   | 
| std::string  | messageName () const  | 
|   | name used for printing messages  More...
  | 
|   | 
| std::string  | pythonRepr () const  override | 
|   | Python representation of handle, i.e.  More...
  | 
|   | 
  Public Member Functions inherited from GaudiHandleInfo | 
| virtual  | ~GaudiHandleInfo ()=default | 
|   | virtual destructor so that derived class destructor is called.  More...
  | 
|   | 
| const std::string &  | componentType () const  | 
|   | 
| const std::string &  | propertyName () const  | 
|   | name as used in declareProperty(name,gaudiHandle)  More...
  | 
|   | 
| void  | setPropertyName (std::string propName) | 
|   | set name as used in declareProperty(name,gaudiHandle).  More...
  | 
|   | 
| const std::string &  | parentName () const  | 
|   | The name of the parent.  More...
  | 
|   | 
template<class T>
class ServiceHandle< T >
Handle to be used in lieu of naked pointers to services. 
This allows better control through the framework of service loading and usage.
- Author
 - Marti.nosp@m.n.Wo.nosp@m.udstr.nosp@m.a@ce.nosp@m.rn.ch 
 
Definition at line 32 of file PropertyHolder.h.