DATRW++ library: seismic data I/O with multiple formats
datrw::Subformat Class Reference

Class to handle format modifiersThis class is used to parse a format modifier string. Detailed instructions will be given upon request. For some hints have a look at tests/libdatrwxxtests.c. More...

#include <formatmodifier.h>

Collaboration diagram for datrw::Subformat:

Public Member Functions

 Subformat (const std::string &modifiers)
 constructor parses format modifier string More...
 
bool allarechecked () const
 check if user provided keys not being recognized More...
 
bool isset (const std::string &k) const
 check if user provided this key More...
 
void notchecked (std::ostream &os) const
 output all modifier which have not been checked yet More...
 
std::istringstream & operator() (const std::string &k, const std::string &dev="false") const
 function operator returns string stream More...
 
std::string value (const std::string &k, const std::string &dev="false") const
 function operator returns string More...
 

Private Attributes

formatmodifiers::Tparamap Mparamap
 actual container for parameters More...
 
std::istringstream Mstream
 string stream used by function operator member function More...
 

Detailed Description

Class to handle format modifiers

This class is used to parse a format modifier string. Detailed instructions will be given upon request. For some hints have a look at tests/libdatrwxxtests.c.

Examples:
libdatrwxxtests.cc.

Definition at line 178 of file formatmodifier.h.


The documentation for this class was generated from the following files: