The Gaudi Framework  master (37c0b60a)
StringKey.h File Reference
#include <algorithm>
#include <functional>
#include <iosfwd>
#include <string>
#include <vector>
#include <GaudiKernel/Kernel.h>
#include <GaudiKernel/StatusCode.h>
Include dependency graph for StringKey.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Gaudi::StringKey
 
struct  std::hash< Gaudi::StringKey >
 specialization of hash function used in C++11 collections like std::unordered_map More...
 

Namespaces

 Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
 
 Gaudi::Utils
 
 Gaudi::Parsers
 
 std
 STL namespace.
 

Functions

std::size_t Gaudi::hash_value (const Gaudi::StringKey &key)
 hash-function: heeded for boost::hash More...
 
std::string operator+ (const std::string &lhs, const Gaudi::StringKey &rhs)
 
std::string operator+ (const char *lhs, const Gaudi::StringKey &rhs)
 
std::string operator+ (const Gaudi::StringKey &lhs, const std::string &rhs)
 
std::string operator+ (const Gaudi::StringKey &lhs, const char *rhs)
 
GAUDI_API std::ostreamGaudi::Utils::toStream (const Gaudi::StringKey &key, std::ostream &s)
 send the object to stream (needed to use it as property) More...
 
std::ostreamGaudi::operator<< (std::ostream &o, const Gaudi::StringKey &key)
 printout of the object reply on the native printout for the string More...
 
GAUDI_API StatusCode Gaudi::Parsers::parse (Gaudi::StringKey &result, std::string_view input)
 parse the key from the string More...
 
GAUDI_API StatusCode Gaudi::Parsers::parse (std::vector< Gaudi::StringKey > &result, std::string_view input)
 parse the vector of keys from the string More...
 

Function Documentation

◆ operator+() [1/4]

std::string operator+ ( const char *  lhs,
const Gaudi::StringKey rhs 
)
inline

Definition at line 179 of file StringKey.h.

179 { return lhs + rhs.str(); }

◆ operator+() [2/4]

std::string operator+ ( const Gaudi::StringKey lhs,
const char *  rhs 
)
inline

Definition at line 181 of file StringKey.h.

181 { return lhs.str() + rhs; }

◆ operator+() [3/4]

std::string operator+ ( const Gaudi::StringKey lhs,
const std::string rhs 
)
inline

Definition at line 180 of file StringKey.h.

180 { return lhs.str() + rhs; }

◆ operator+() [4/4]

std::string operator+ ( const std::string lhs,
const Gaudi::StringKey rhs 
)
inline

Definition at line 178 of file StringKey.h.

178 { return lhs + rhs.str(); }
Gaudi::StringKey::str
const std::string & str() const
the actual string
Definition: StringKey.h:56