| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::Details::Property::StringConverter< DataObjIDColl > Struct Template Reference

`#include <GaudiKernel/DataObjID.h>`

## Public Member Functions
std::string | toString (const DataObjIDColl &v)
DataObjIDColl | fromString (const DataObjIDColl &, const std::string &)

## Detailed Description

### template<>
struct Gaudi::Details::Property::StringConverter< DataObjIDColl >

Definition at line 111 of file DataObjID.h.

## Member Function Documentation

## ◆ fromString()

DataObjIDColl Gaudi::Details::Property::StringConverter< DataObjIDColl >::fromString | ( | const DataObjIDColl & | ,
|  | const std::string & | s
| ) |  |

Definition at line 96 of file DataObjID.cpp.

97 {
98 DataObjIDColl c;
99 if ( !Gaudi::Parsers::parse_( c, s ).isSuccess() ) {
100 throw std::invalid_argument( "cannot parse '" + s + "' to DataObjIDColl" );
101 }
102 return c;
103 }
gaudirun.c
c
Definition: gaudirun.py:487
Gaudi::Parsers::parse_
StatusCode parse_(ResultT &result, const std::string &input)
Definition: Factory.h:29
std::unordered_set
STL class.
gaudirun.s
string s
Definition: gaudirun.py:316
std::invalid_argument
STL class.

## ◆ toString()

std::string Gaudi::Details::Property::StringConverter< DataObjIDColl >::toString | ( | const DataObjIDColl & | v | ) |

Definition at line 92 of file DataObjID.cpp.

92 {
93 return Gaudi::Utils::toString( v );
94 }
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition: ToStream.h:334

The documentation for this struct was generated from the following files:

- GaudiKernel/GaudiKernel/DataObjID.h
- GaudiKernel/src/Lib/DataObjID.cpp