Static Public Member Functions | List of all members
art::detail::CanBeAggregated< std::string > Struct Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Common/detail/aggregate.h"

Inheritance diagram for art::detail::CanBeAggregated< std::string >:

Static Public Member Functions

static void aggregate (std::string &p, std::string const &other)
 

Detailed Description

template<>
struct art::detail::CanBeAggregated< std::string >

Definition at line 211 of file aggregate.h.

Member Function Documentation

static void art::detail::CanBeAggregated< std::string >::aggregate ( std::string p,
std::string const &  other 
)
inlinestatic

Definition at line 213 of file aggregate.h.

References art::errors::ProductCannotBeAggregated, and string.

214  {
215  if (p != other)
217  << "Products of type \""
218  << cet::demangle_symbol(typeid(std::string).name())
219  << "\" cannot be aggregated unless their values are the same.\n"
220  << "Values presented were: \"" << p << "\" and \"" << other
221  << "\".\n";
222  }
const XML_Char * name
Definition: expat.h:151
const char * p
Definition: xmltok.h:285
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
enum BeamMode string

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