ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
pool::Shape Class Reference

#include <StorageSvc/Shape.h>

Inheritance diagram for pool::Shape:
Collaboration diagram for pool::Shape:

Public Member Functions

 Shape ()
 Standard Constructor. More...
 
virtual ~Shape ()
 Standard Destructor. More...
 
const GuidshapeID () const
 Access database identifier. More...
 
GuidshapeID ()
 
void setShapeID (const Guid &id)
 Access database identifier. More...
 
GuidsetShapeID (const std::string &id)
 

Protected Attributes

Guid m_id
 Object global identifier. More...
 

Detailed Description

Description:

Without a concrete implementation behind, this class is rather useless. Objects of this type cannot be used directly. This class can hence only serve as a base class.

Author
M.Frank
Version
1.0
Date
03/09/2002

Definition at line 35 of file Shape.h.

Constructor & Destructor Documentation

◆ Shape()

pool::Shape::Shape ( )
inline

Standard Constructor.

Definition at line 41 of file Shape.h.

41 { }

◆ ~Shape()

virtual pool::Shape::~Shape ( )
inlinevirtual

Standard Destructor.

Definition at line 43 of file Shape.h.

43 { }

Member Function Documentation

◆ setShapeID() [1/2]

void pool::Shape::setShapeID ( const Guid id)
inline

Access database identifier.

Definition at line 48 of file Shape.h.

48 { m_id=id; }

◆ setShapeID() [2/2]

Guid& pool::Shape::setShapeID ( const std::string &  id)
inline

Definition at line 49 of file Shape.h.

49 { m_id.fromString(id); return shapeID(); }

◆ shapeID() [1/2]

Guid& pool::Shape::shapeID ( )
inline

Definition at line 46 of file Shape.h.

46 { return m_id; }

◆ shapeID() [2/2]

const Guid& pool::Shape::shapeID ( ) const
inline

Access database identifier.

Definition at line 45 of file Shape.h.

45 { return m_id; }

Member Data Documentation

◆ m_id

Guid pool::Shape::m_id
protected

Object global identifier.

Definition at line 38 of file Shape.h.


The documentation for this class was generated from the following file:
pool::Shape::shapeID
const Guid & shapeID() const
Access database identifier.
Definition: Shape.h:45
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:191
Guid::fromString
const Guid & fromString(const std::string &s)
Automatic conversion from string representation.
Definition: Guid.cxx:65
pool::Shape::m_id
Guid m_id
Object global identifier.
Definition: Shape.h:38