XRootD
XrdEc::Convert Class Reference
+ Collaboration diagram for XrdEc::Convert:

Static Public Member Functions

template<typename... Args>
static std::string toString (Args &&...args)
 

Detailed Description

Anything-to-string conversion, the only reason to put this in its own class is to keep the stringstream parsing methods out of the public namespace.

Definition at line 31 of file XrdEcRedundancyProvider.cc.

Member Function Documentation

◆ toString()

template<typename... Args>
static std::string XrdEc::Convert::toString ( Args &&...  args)
inlinestatic

Convert an arbitrary number of arguments of variable type to a single std::string.

Parameters
argsthe input arguments to convert to string.

Definition at line 40 of file XrdEcRedundancyProvider.cc.

40  {
41  std::stringstream s;
42  argsToStream(s, std::forward<Args>(args)...);
43  return s.str();
44  }

The documentation for this class was generated from the following file: