Example program to test JLANG::JSTDObjectWriter class.  
More...
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include <set>
#include "JLang/JSTDObjectWriter.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
 
Go to the source code of this file.
 | 
| int  | main (int argc, char **argv) | 
|   | 
Example program to test JLANG::JSTDObjectWriter class. 
- Author
 - mdejong 
 
Definition in file JSTDObjectWriter.cc.
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 61 of file JSTDObjectWriter.cc.
   69     JParser<> zap(
"Example program to test object output using STD containers.");
 
   75   catch(
const exception &error) {
 
   76     FATAL(error.what() << endl);
 
   95     JSTDObjectWriter<double> out(buffer);
 
  101     print(cout, 
debug, 
"JSTDObjectWriter<double>(vector<double>&);", buffer.begin(), buffer.end());
 
  104                   buffer.begin(), buffer.end()));
 
  111     JSTDObjectWriter<double> out(buffer);
 
  117     print(cout, 
debug, 
"JSTDObjectWriter<double>(set<double>&);", buffer.begin(), buffer.end());
 
  120                   buffer.begin(), buffer.end()));
 
Utility class to parse command line options. 
 
#define ASSERT(A,...)
Assert macro. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
bool equals(const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min())
Check equality.