#include <IntLink.h>
Inheritance diagram for LHCb::IntLink:
Public Member Functions | |
IntLink () | |
Default Constructor. | |
virtual | ~IntLink () |
Default Destructor. | |
virtual const CLID & | clID () const |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
void | setLink (int key, int value) |
Sets the int value asociated to this key. | |
int | link (int key) const |
Returns the link associated to this key. | |
bool | hasKey (int key) const |
Returns the index of the key. True if key exist, else inserting position. | |
const std::map< int, int > & | link () const |
Retrieve const list of linked ints. | |
void | setLink (const std::map< int, int > &value) |
Update list of linked ints. | |
void | setRegistry (IRegistry *pRegistry) |
IRegistry * | registry () const |
LinkManager * | linkMgr () const |
unsigned char | version () const |
void | setVersion (unsigned char vsn) |
unsigned long | refCount () const |
virtual unsigned long | addRef () |
virtual unsigned long | release () |
const std::string & | name () const |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Static Public Member Functions | |
static const CLID & | classID () |
static void * | operator new (size_t size) |
operator new | |
static void * | operator new (size_t size, void *pObj) |
placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
static void | operator delete (void *p) |
operator delete | |
static void | operator delete (void *p, void *pObj) |
placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
std::map< int, int > | m_link |
list of linked ints | |
Friends | |
friend std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
Definition at line 47 of file IntLink.h.
LHCb::IntLink::IntLink | ( | ) | [inline] |
virtual LHCb::IntLink::~IntLink | ( | ) | [inline, virtual] |
const CLID & LHCb::IntLink::clID | ( | ) | const [inline, virtual] |
Reimplemented from DataObject.
Definition at line 136 of file IntLink.h.
00137 { 00138 return LHCb::IntLink::classID(); 00139 }
const CLID & LHCb::IntLink::classID | ( | ) | [inline, static] |
std::ostream & LHCb::IntLink::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
void LHCb::IntLink::setLink | ( | int | key, | |
int | value | |||
) | [inline] |
int LHCb::IntLink::link | ( | int | key | ) | const [inline] |
bool LHCb::IntLink::hasKey | ( | int | key | ) | const [inline] |
const std::map< int, int > & LHCb::IntLink::link | ( | ) | const [inline] |
void LHCb::IntLink::setLink | ( | const std::map< int, int > & | value | ) | [inline] |
static void* LHCb::IntLink::operator new | ( | size_t | size | ) | [inline, static] |
static void* LHCb::IntLink::operator new | ( | size_t | size, | |
void * | pObj | |||
) | [inline, static] |
static void LHCb::IntLink::operator delete | ( | void * | p | ) | [inline, static] |
static void LHCb::IntLink::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
std::map<int,int> LHCb::IntLink::m_link [private] |