The Gaudi Framework
v41r0 (bdbe7744)
Toggle main menu visibility
Loading...
Searching...
No Matches
Property.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 2011-2025 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
#include "
Property.h
"
12
#include "
PropertyName.h
"
13
#include "
PropertyValue.h
"
14
#include "
Utils.h
"
15
16
namespace
gp
=
Gaudi::Parsers
;
17
namespace
gpu
=
Gaudi::Parsers::Utils
;
18
19
const
gp::Position
&
gp::Property::DefinedPosition
()
const
{
return
property_name_
.position(); }
20
const
gp::Position
&
gp::Property::ValuePosition
()
const
{
return
property_value_
.position(); }
21
const
std::string&
gp::Property::ClientName
()
const
{
return
property_name_
.client(); }
22
const
std::string&
gp::Property::NameInClient
()
const
{
return
property_name_
.property(); }
23
std::string
gp::Property::FullName
()
const
{
return
property_name_
.ToString(); }
24
std::string
gp::Property::ValueAsString
()
const
{
return
gpu::replaceEnvironments
(
property_value_
.ToString() ); }
25
std::string
gp::Property::ToString
()
const
{
return
FullName
() +
" = "
+
ValueAsString
(); }
26
bool
gp::Property::IsSimple
()
const
{
return
property_value_
.IsSimple(); }
27
bool
gp::Property::IsVector
()
const
{
return
property_value_
.IsVector(); }
28
bool
gp::Property::IsMap
()
const
{
return
property_value_
.IsMap(); }
Property.h
Utils.h
PropertyName.h
PropertyValue.h
Gaudi::Parsers::Position
Definition
Position.h:17
Gaudi::Parsers::Property::ValueAsString
std::string ValueAsString() const
Definition
Property.cpp:24
Gaudi::Parsers::Property::ValuePosition
const Position & ValuePosition() const
Definition
Property.cpp:20
Gaudi::Parsers::Property::ToString
std::string ToString() const
Definition
Property.cpp:25
Gaudi::Parsers::Property::NameInClient
const std::string & NameInClient() const
Definition
Property.cpp:22
Gaudi::Parsers::Property::DefinedPosition
const Position & DefinedPosition() const
Definition
Property.cpp:19
Gaudi::Parsers::Property::ClientName
const std::string & ClientName() const
Definition
Property.cpp:21
Gaudi::Parsers::Property::property_name_
PropertyName property_name_
Definition
Property.h:60
Gaudi::Parsers::Property::property_value_
PropertyValue property_value_
Definition
Property.h:61
Gaudi::Parsers::Property::IsVector
bool IsVector() const
Definition
Property.cpp:27
Gaudi::Parsers::Property::FullName
std::string FullName() const
Definition
Property.cpp:23
Gaudi::Parsers::Property::IsSimple
bool IsSimple() const
Definition
Property.cpp:26
Gaudi::Parsers::Property::IsMap
bool IsMap() const
Definition
Property.cpp:28
Gaudi::Parsers::Utils
Definition
Utils.h:17
Gaudi::Parsers::Utils::replaceEnvironments
std::string replaceEnvironments(std::string_view input)
Definition
Utils.cpp:17
Gaudi::Parsers
Definition
DODBasicMapper.cpp:17
GaudiCoreSvc
src
JobOptionsSvc
Property.cpp
Generated on
for The Gaudi Framework by
1.17.0