3 #ifndef SPECTMORPH_INFILE_HH     4 #define SPECTMORPH_INFILE_HH    11 #include "smstdioin.hh"    12 #include "smmmapin.hh"    48   std::string           current_event_str;
    49   bool                  current_event_bool;
    50   int                   current_event_int;
    51   std::string           current_event_data;
    52   float                 current_event_float;
    53   std::vector<float>    current_event_float_block;
    54   std::vector<uint16_t> current_event_uint16_block;
    55   size_t                current_event_blob_pos;
    56   size_t                current_event_blob_size;
    57   std::string           current_event_blob_sum;
    58   std::string           m_file_type;
    61   std::set<std::string> skip_events;
    63   bool        read_raw_bool (
bool& b);
    64   bool        read_raw_string (std::string& str);
    65   bool        read_raw_int (
int &i);
    66   bool        read_raw_float (
float &f);
    67   bool        read_raw_float_block (std::vector<float>& fb);
    68   bool        skip_raw_float_block();
    69   bool        read_raw_uint16_block (std::vector<uint16_t>& ib);
    70   bool        skip_raw_uint16_block();
    72   void        read_file_type_and_version();
    75   InFile (
const std::string& filename);
 InFile(const std::string &filename)
Definition: sminfile.cc:17
 
GenericIn * open_blob()
Definition: sminfile.cc:353
 
bool open_ok()
Definition: sminfile.hh:85
 
Generic Input Stream. 
Definition: smgenericin.hh:17
 
const std::vector< uint16_t > & event_uint16_block()
Definition: sminfile.cc:430
 
int event_int()
Definition: sminfile.cc:386
 
float event_float()
Definition: sminfile.cc:375
 
bool event_bool()
Definition: sminfile.cc:397
 
Event event()
Definition: sminfile.cc:69
 
const std::vector< float > & event_float_block()
Definition: sminfile.cc:419
 
Class to read SpectMorph binary data. 
Definition: sminfile.hh:25
 
std::string file_type()
Definition: sminfile.cc:467
 
std::string event_name()
Definition: sminfile.cc:364
 
void next_event()
Definition: sminfile.cc:112
 
std::string event_data()
Definition: sminfile.cc:408
 
void add_skip_event(const std::string &event)
Definition: sminfile.cc:456
 
std::string event_blob_sum()
Definition: sminfile.cc:444
 
Definition: smalignedarray.cc:7
 
int file_version()
Definition: sminfile.cc:478