ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
StorageSvc
StorageSvc
Shape.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//====================================================================
6
// Shape definition file
7
//--------------------------------------------------------------------
8
//
9
// Author : M.Frank
10
//====================================================================
11
#ifndef POOL_SHAPE_H
12
#define POOL_SHAPE_H
13
14
// Framework include files
15
#include "
PersistentDataModel/Guid.h
"
16
#include <string>
17
18
/*
19
* POOL namespace
20
*/
21
namespace
pool
{
22
35
class
Shape
{
36
protected
:
38
Guid
m_id
;
39
public
:
41
Shape
() { }
43
virtual
~Shape
() { }
45
const
Guid
&
shapeID
()
const
{
return
m_id
; }
46
Guid
&
shapeID
() {
return
m_id
; }
48
void
setShapeID
(
const
Guid
&
id
) {
m_id
=id; }
49
Guid
&
setShapeID
(
const
std::string &
id
) {
m_id
.fromString(
id
);
return
shapeID
(); }
50
};
51
}
// End namespace pool
52
#endif
// POOL_SHAPE_H
Guid.h
This file contains the class definition for the Guid class (migrated from POOL).
pool::Shape::setShapeID
Guid & setShapeID(const std::string &id)
Definition
Shape.h:49
pool::Shape::shapeID
const Guid & shapeID() const
Access database identifier.
Definition
Shape.h:45
pool::Shape::~Shape
virtual ~Shape()
Standard Destructor.
Definition
Shape.h:43
pool::Shape::Shape
Shape()
Standard Constructor.
Definition
Shape.h:41
pool::Shape::shapeID
Guid & shapeID()
Definition
Shape.h:46
pool::Shape::setShapeID
void setShapeID(const Guid &id)
Access database identifier.
Definition
Shape.h:48
pool::Shape::m_id
Guid m_id
Object global identifier.
Definition
Shape.h:38
pool
Framework include files.
Definition
libname.h:15
pool::Guid
::Guid Guid
Definition
T_AthenaPoolCustCnv.h:19
Generated on
for ATLAS Offline Software by
1.17.0