The Gaudi Framework
v36r7 (7f57a304)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PropertyName.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef JOBOPTIONSVC_PROPERTY_NAME_H_
12
#define JOBOPTIONSVC_PROPERTY_NAME_H_
13
// ============================================================================
14
// Includes:
15
// ============================================================================
16
// STD & STL:
17
// ============================================================================
18
#include "
Position.h
"
19
#include <string>
20
// ============================================================================
21
namespace
Gaudi
{
22
namespace
Parsers {
23
// ============================================================================
24
class
Position;
25
// ============================================================================
26
class
PropertyName
final {
27
public
:
28
// ----------------------------------------------------------------------------
29
explicit
PropertyName
(
std::string
property
) :
property_
(
std
::move(
property
) ) {}
30
PropertyName
(
std::string
property
,
const
Position
& pos )
31
:
property_
(
std
::move(
property
) ),
position_
( pos ) {}
32
PropertyName
(
std::string
client
,
std::string
property
)
33
:
client_
(
std
::move(
client
) ),
property_
(
std
::move(
property
) ) {}
34
PropertyName
(
std::string
client
,
std::string
property
,
Position
pos )
35
:
client_
(
std
::move(
client
) ),
property_
(
std
::move(
property
) ),
position_
(
std
::move( pos ) ) {}
36
const
std::string
&
client
()
const
{
return
client_
; }
37
const
std::string
&
property
()
const
{
return
property_
; }
38
const
Position
&
position
()
const
{
return
position_
; }
39
std::string
FullName
()
const
;
40
std::string
ToString
()
const
;
41
bool
HasClient
()
const
{
return
!
client_
.
empty
(); }
42
bool
HasPosition
()
const
{
return
position_
.
Exists
(); }
43
44
private
:
45
std::string
client_
;
46
std::string
property_
;
47
Position
position_
;
48
};
49
// ============================================================================
50
}
// namespace Parsers
51
}
// namespace Gaudi
52
// ============================================================================
53
#endif // JOBOPTIONSVC_PROPERTY_NAME_H_
Gaudi::Parsers::PropertyName::HasPosition
bool HasPosition() const
Definition:
PropertyName.h:42
Gaudi::Parsers::PropertyName::PropertyName
PropertyName(std::string client, std::string property)
Definition:
PropertyName.h:32
Gaudi::Parsers::PropertyName::PropertyName
PropertyName(std::string client, std::string property, Position pos)
Definition:
PropertyName.h:34
std::string
STL class.
Gaudi::Parsers::PropertyName::client_
std::string client_
Definition:
PropertyName.h:45
Gaudi::Parsers::Position::Exists
bool Exists() const
Definition:
Position.h:33
Gaudi::Parsers::PropertyName::position
const Position & position() const
Definition:
PropertyName.h:38
Gaudi::Parsers::PropertyName::client
const std::string & client() const
Definition:
PropertyName.h:36
Gaudi::Parsers::PropertyName::HasClient
bool HasClient() const
Definition:
PropertyName.h:41
Gaudi::Parsers::Position
Definition:
Position.h:23
Gaudi::Parsers::PropertyName::ToString
std::string ToString() const
Definition:
PropertyName.cpp:18
Gaudi::Parsers::PropertyName::PropertyName
PropertyName(std::string property, const Position &pos)
Definition:
PropertyName.h:30
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
Gaudi::Parsers::PropertyName::PropertyName
PropertyName(std::string property)
Definition:
PropertyName.h:29
Position.h
Gaudi::Parsers::PropertyName::position_
Position position_
Definition:
PropertyName.h:47
Gaudi::Parsers::PropertyName::FullName
std::string FullName() const
Definition:
PropertyName.cpp:16
std
STL namespace.
std::string::empty
T empty(T... args)
Gaudi::Parsers::PropertyName
Definition:
PropertyName.h:26
Gaudi::Parsers::PropertyName::property_
std::string property_
Definition:
PropertyName.h:46
Gaudi::Parsers::PropertyName::property
const std::string & property() const
Definition:
PropertyName.h:37
GaudiCoreSvc
src
JobOptionsSvc
PropertyName.h
Generated on Fri Jul 29 2022 20:50:39 for The Gaudi Framework by
1.8.18