The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
DataObjID.cpp File Reference
#include <Gaudi/Parsers/Factory.h>
#include <GaudiKernel/Bootstrap.h>
#include <GaudiKernel/DataObjID.h>
#include <GaudiKernel/IClassIDSvc.h>
#include <GaudiKernel/ISvcLocator.h>
#include <GaudiKernel/ToStream.h>
#include <functional>
#include <iomanip>
#include <iostream>
Include dependency graph for DataObjID.cpp:

Go to the source code of this file.

Classes

struct  Gaudi::Parsers::DataObjIDGrammar< Iterator, Skipper >
 
struct  Gaudi::Parsers::DataObjIDGrammar< Iterator, Skipper >::Operations
 

Namespaces

namespace  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.
 
namespace  Gaudi::Parsers
 

Functions

 Gaudi::Parsers::REGISTER_GRAMMAR (DataObjID, DataObjIDGrammar)
 
StatusCode parse (DataObjID &dest, std::string_view src)
 
std::ostream & toStream (const DataObjID &d, std::ostream &os)
 

Function Documentation

◆ parse()

StatusCode parse ( DataObjID & dest,
std::string_view src )

Definition at line 58 of file DataObjID.cpp.

58{ return Gaudi::Parsers::parse_( dest, quote( src ) ); }
StatusCode parse_(ResultT &result, std::string_view input)
Definition Factory.h:26

◆ toStream()

std::ostream & toStream ( const DataObjID & d,
std::ostream & os )

Definition at line 84 of file DataObjID.cpp.

84 {
86 return ( d.m_clid != 0 || !d.className().empty() ) ? toStream( std::tie( d.className(), d.m_key ), os )
87 : toStream( d.m_key, os );
88}
std::ostream & toStream(const DataObjID &d, std::ostream &os)
Definition DataObjID.cpp:84
const std::string & className() const
return the ClassName (if available)
Definition DataObjID.cpp:90
std::string m_key
Definition DataObjID.h:95
CLID m_clid
Definition DataObjID.h:92
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
Definition ToStream.h:304