diff --git a/lib/tdm_ripper.cpp b/lib/tdm_ripper.cpp index d5ec3fc..1e6e495 100644 --- a/lib/tdm_ripper.cpp +++ b/lib/tdm_ripper.cpp @@ -1,8 +1,9 @@ #include "tdm_ripper.hpp" -tdm_ripper::tdm_ripper(std::string tdmfile, std::string tdxfile, bool neglect_empty_groups): - tdmfile_(tdmfile), tdxfile_(tdxfile), +tdm_ripper::tdm_ripper(std::string tdmfile, std::string tdxfile, + bool suppress_status, bool neglect_empty_groups): + tdmfile_(tdmfile), tdxfile_(tdxfile), suppress_status_(suppress_status), neglect_empty_groups_(neglect_empty_groups), num_empty_groups_(0), num_channels_(0), num_groups_(0), channel_id_(0), inc_id_(0), units_(0), channel_name_(0), group_id_(0), group_name_(0), @@ -31,13 +32,19 @@ tdm_ripper::tdm_ripper(std::string tdmfile, std::string tdxfile, bool neglect_em // setup of xml-parser xml_result_ = xml_doc_.load_file(tdmfile_.c_str()); - std::cout<<"\nloading and parsing file: "<())); tdxbuf_ = tdxbuf; - std::cout<<"number of bytes in binary file: "<(id,val)); } } - std::cout<<"number of pairs in\n"; - std::cout< 1 && "please provide a filename and path" ); // declare and initialize tdm_ripper - tdm_ripper ripper(argv[1]); + tdm_ripper ripper(argv[1]); //,"samples/SineData.tdx",false); // ripper.list_datatypes(); // ripper.show_structure();