Go to the documentation of this file.
20 #include <unordered_set>
37 # pragma warning( disable : 177 )
63 m_20[
"key"] =
"value";
111 template <
class TYPE>
115 std::string::size_type ipos =
name.find(
"std::" );
116 while ( std::string::npos != ipos ) {
117 name.erase( ipos, 5 );
118 ipos =
name.find(
"std::" );
120 ipos =
name.find(
"__cxx11::" );
121 while ( std::string::npos != ipos ) {
122 name.erase( ipos, 9 );
123 ipos =
name.find(
"__cxx11::" );
125 ipos =
name.find(
" " );
126 while ( std::string::npos != ipos ) {
127 name.erase( ipos, 1 );
128 ipos =
name.find(
" " );
130 ipos =
name.find(
"const" );
131 while ( std::string::npos != ipos ) {
132 name.erase( ipos, 5 );
133 ipos =
name.find(
"const" );
135 ipos =
name.find(
",allocator<" );
136 while ( std::string::npos != ipos ) {
137 std::string::size_type ip2 = ipos + 11;
139 for ( ; ip2 <
name.size(); ++ip2 ) {
140 if (
'<' ==
name[ip2] ) { ip3 += 1; }
141 if (
'>' ==
name[ip2] ) { ip3 -= 1; }
142 if ( 0 == ip3 ) {
break; }
144 name.erase( ipos, ip2 + 1 - ipos );
145 ipos =
name.find(
",allocator<" );
147 if ( std::string::npos !=
name.find(
"map<" ) ) {
148 ipos =
name.find(
",less<" );
149 while ( std::string::npos != ipos ) {
150 std::string::size_type ip2 = ipos + 6;
152 for ( ; ip2 <
name.size(); ++ip2 ) {
153 if (
'<' ==
name[ip2] ) { ip3 += 1; }
154 if (
'>' ==
name[ip2] ) { ip3 -= 1; }
155 if ( 0 == ip3 ) {
break; }
157 name.erase( ipos, ip2 + 1 - ipos );
158 ipos =
name.find(
",less<" );
161 ipos =
name.find(
">>" );
162 while ( std::string::npos != ipos ) {
163 name.replace( ipos, 2,
"> >" );
164 ipos =
name.find(
">>" );
171 always() <<
" My Properties : " <<
endmsg;
Gaudi::Property< std::vector< int > > m_21
const std::string & name() const override
The identifying name of the algorithm object.
Gaudi::Property< std::unordered_set< int > > m_30
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
Alias for backward compatibility.
Gaudi::Property< std::pair< int, int > > m_10
Gaudi::Property< std::tuple< std::string > > m_25
Gaudi::Property< std::vector< std::vector< std::string > > > m_3
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Gaudi::Property< std::pair< double, double > > m_1
Gaudi::Property< std::map< std::string, std::vector< double > > > m_11
Gaudi::Property< std::map< std::string, double > > m_8
Gaudi::Property< GaudiUtils::Map< std::string, std::string > > m_24
Gaudi::Property< std::map< int, int > > m_13
Gaudi::Property< std::tuple< std::string, int, double > > m_22
Gaudi::Property< std::vector< std::pair< double, double > > > m_2
Gaudi::Property< std::map< int, double > > m_5
Gaudi::Property< std::map< std::string, std::vector< int > > > m_12
Gaudi::Property< std::array< int, 1 > > m_26
const ValueType & value() const
Gaudi::Property< std::array< double, 3 > > m_23
Gaudi::Property< std::map< std::string, int > > m_7
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Gaudi::Property< std::map< unsigned int, std::string > > m_16
Gaudi::Property< std::map< int, std::string > > m_15
ExtendedProperties(const std::string &name, ISvcLocator *pSvc)
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
constexpr static const auto SUCCESS
Gaudi::Property< std::map< std::string, std::vector< std::string > > > m_9
StatusCode execute() override
#define DECLARE_COMPONENT(type)
Gaudi::Property< std::map< std::string, std::string > > m_6
Gaudi::Property< std::vector< std::vector< double > > > m_4
Gaudi::Property< std::map< std::string, std::string > > m_20
Gaudi::Property< std::unordered_set< std::string > > m_31
Gaudi::Property< std::vector< std::pair< int, int > > > m_14
Implementation of property with value of concrete type.