24   template<
class U, 
class V>
 
   25   inline bool equals(U __begin1, U __end1,
 
   31     for ( ; p != __end1 && q != __end2; ++p, ++q) {
 
   37     return (p == __end1 && q == __end2);
 
   41   void print(std::ostream& out, 
int debug, 
const char* title, T __begin, T __end)
 
   48       copy(__begin, __end, ostream_iterator<typename T::value_type>(out, 
" "));
 
   61 int main(
int argc, 
char **argv)
 
   69     JParser<> zap(
"Example program to test object output using STD containers.");
 
   75   catch(
const exception &error) {
 
   76     FATAL(error.what() << endl);
 
  101     print(cout, 
debug, 
"JSTDObjectWriter<double>(vector<double>&);", buffer.begin(), buffer.end());
 
  104                   buffer.begin(), buffer.end()));
 
  117     print(cout, 
debug, 
"JSTDObjectWriter<double>(set<double>&);", buffer.begin(), buffer.end());
 
  120                   buffer.begin(), buffer.end()));
 
General purpose messaging.
 
#define ASSERT(A,...)
Assert macro.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
int main(int argc, char **argv)
 
virtual bool put(const T &object)=0
Object output.
 
Implementation of object output from STD container.
 
Utility class to parse command line options.
 
void copy(const Head &from, JHead &to)
Copy header from from to to.
 
std::ostream & print(std::ostream &out, const JTestSummary &summary, const char delimiter=' ', const bool useColors=true)
Print test summary.
 
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
std::vector< JHitW0 > buffer_type
hits