The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
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.
 
virtual CLID nextAvailableID () const =0
 get next available CLID
 
virtual bool isIDInUse (const CLID &id) const =0
 check if id is used
 
virtual bool isNameInUse (const std::string &name) const =0
 check if name is used
 
virtual StatusCode getTypeNameOfID (const CLID &id, std::string &typeName) const =0
 get user assigned type name associated with clID
 
virtual StatusCode getTypeInfoNameOfID (const CLID &id, std::string &typeInfoName) const =0
 get user assigned type-info name associated with clID
 
virtual StatusCode getIDOfTypeName (const std::string &typeName, CLID &id) const =0
 get id associated with type name (if any)
 
virtual StatusCode getIDOfTypeInfoName (const std::string &typeInfoName, CLID &id) const =0
 get id associated with type-info name (if any)
 
virtual StatusCode setTypeForID (const CLID &, const std::string &typeName, const std::string &typeInfoName="")=0
 associate type name and type-info name with clID
 
- Public Member Functions inherited from IService
 DeclareInterfaceID (IService, 4, 0)
 InterfaceID.
 
virtual StatusCode sysInitialize ()=0
 Initialize Service.
 
virtual StatusCode sysStart ()=0
 Start Service.
 
virtual StatusCode sysStop ()=0
 Stop Service.
 
virtual StatusCode sysFinalize ()=0
 Finalize Service.
 
virtual StatusCode sysReinitialize ()=0
 Re-initialize the Service.
 
virtual StatusCode sysRestart ()=0
 Re-start the Service.
 

Additional Inherited Members

- Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using ext_iids
 take union of the ext_iids of all Interfaces...
 
- 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 24 of file IClassIDSvc.h.

Member Function Documentation

◆ DeclareInterfaceID()

IClassIDSvc::DeclareInterfaceID ( IClassIDSvc ,
1 ,
0  )

◆ 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: