The Gaudi Framework  master (37c0b60a)
IClassIDSvc Class Referenceabstract

interface to the CLID database More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/IClassIDSvc.h>

Inheritance diagram for IClassIDSvc:
Collaboration diagram for IClassIDSvc:

Public Member Functions

 DeclareInterfaceID (IClassIDSvc, 1, 0)
 InterfaceID. More...
 
virtual CLID nextAvailableID () const =0
 get next available CLID More...
 
virtual bool isIDInUse (const CLID &id) const =0
 check if id is used More...
 
virtual bool isNameInUse (const std::string &name) const =0
 check if name is used More...
 
virtual StatusCode getTypeNameOfID (const CLID &id, std::string &typeName) const =0
 get user assigned type name associated with clID More...
 
virtual StatusCode getTypeInfoNameOfID (const CLID &id, std::string &typeInfoName) const =0
 get user assigned type-info name associated with clID More...
 
virtual StatusCode getIDOfTypeName (const std::string &typeName, CLID &id) const =0
 get id associated with type name (if any) More...
 
virtual StatusCode getIDOfTypeInfoName (const std::string &typeInfoName, CLID &id) const =0
 get id associated with type-info name (if any) More...
 
virtual StatusCode setTypeForID (const CLID &, const std::string &typeName, const std::string &typeInfoName="")=0
 associate type name and type-info name with clID More...
 
- Public Member Functions inherited from IService
 DeclareInterfaceID (IService, 4, 0)
 InterfaceID. More...
 
virtual StatusCode sysInitialize ()=0
 Initialize Service. More...
 
virtual StatusCode sysStart ()=0
 Start Service. More...
 
virtual StatusCode sysStop ()=0
 Stop Service. More...
 
virtual StatusCode sysFinalize ()=0
 Finalize Service. More...
 
virtual StatusCode sysReinitialize ()=0
 Re-initialize the Service. More...
 
virtual StatusCode sysRestart ()=0
 Re-start the Service. More...
 

Additional Inherited Members

- Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
 take union of the ext_iids of all Interfaces... More...
 
- Protected Member Functions inherited from IService
virtual void setServiceManager (ISvcManager *)=0
 

Detailed Description

interface to the CLID database

Author
Paolo Calafiura pcala.nosp@m.fiur.nosp@m.a@lbl.nosp@m..gov - ATLAS Collaboration

Definition at line 25 of file IClassIDSvc.h.

Member Function Documentation

◆ DeclareInterfaceID()

IClassIDSvc::DeclareInterfaceID ( IClassIDSvc  ,
,
 
)

◆ getIDOfTypeInfoName()

virtual StatusCode IClassIDSvc::getIDOfTypeInfoName ( const std::string typeInfoName,
CLID id 
) const
pure virtual

get id associated with type-info name (if any)

◆ getIDOfTypeName()

virtual StatusCode IClassIDSvc::getIDOfTypeName ( const std::string typeName,
CLID id 
) const
pure virtual

get id associated with type name (if any)

◆ getTypeInfoNameOfID()

virtual StatusCode IClassIDSvc::getTypeInfoNameOfID ( const CLID id,
std::string typeInfoName 
) const
pure virtual

get user assigned type-info name associated with clID

◆ getTypeNameOfID()

virtual StatusCode IClassIDSvc::getTypeNameOfID ( const CLID id,
std::string typeName 
) const
pure virtual

get user assigned type name associated with clID

◆ isIDInUse()

virtual bool IClassIDSvc::isIDInUse ( const CLID id) const
pure virtual

check if id is used

◆ isNameInUse()

virtual bool IClassIDSvc::isNameInUse ( const std::string name) const
pure virtual

check if name is used

◆ nextAvailableID()

virtual CLID IClassIDSvc::nextAvailableID ( ) const
pure virtual

get next available CLID

Exceptions
std::runtime_errorif no CLID can be allocated

◆ setTypeForID()

virtual StatusCode IClassIDSvc::setTypeForID ( const CLID ,
const std::string typeName,
const std::string typeInfoName = "" 
)
pure virtual

associate type name and type-info name with clID


The documentation for this class was generated from the following file: