Namespaces | |
| details | |
Classes | |
| struct | Decl |
Token to register an algorithm, used in AlgorithmFactory. More... | |
| class | AlgorithmFactory |
| An algorithm factory class. More... | |
| struct | FWInterfaceTraits |
| Template type for the third parameter of FWInterfacedIF objects. More... | |
| class | FWInterfacedIF |
| class | FWInterfacedBase |
| Base class for specialization. More... | |
| class | FWInterfaced |
| class | FWInterfaced< pmtana::PedAlgoFixed, pmtana::PMTPedestalBase, ArtTraits > |
Framework interface to pmtana::PedAlgoFixed. More... | |
Functions | |
| template<typename S , typename Coll > | |
| S | join (S const &sep, Coll const &s) |
Returns a concatenation of strings in s separated by sep. More... | |
| template<typename Coll > | |
| std::string | join (const char *sep, Coll const &s) |
Returns a concatenation of strings in s separated by sep.
| S | type of string |
| Coll | type of collection of strings |
| sep | separator string |
| s | list of strings |
S with the concatenation of all elements of sExample:
will print: `Options: 'one', '2', 'III', 'd'.`.
Note that actually S can be any copyable type supporting in-place addition (that is concatenation for strings). Indeed, elements in Coll do not even need to be of type S as long as S::operator+=(Coll::value_type) is supported.
Definition at line 573 of file OpRecoFactoryStuff.h.
| std::string opdet::factory::join | ( | const char * | sep, |
| Coll const & | s | ||
| ) |
Definition at line 584 of file OpRecoFactoryStuff.h.
1.8.5