DATRW++ library: seismic data I/O with multiple formats
Internal utility: Support for format modifiers

Provide mechanism to extract format modifiers. More...

Files

file  formatmodifier.cc
 provide format modifiers (implementation)
 
file  formatmodifier.h
 provide format modifiers (prototypes)
 

Namespaces

 datrw::formatmodifiers
 Namespace containing components of format modifiers.
 

Classes

class  datrw::formatmodifiers::ModifierHelp
 Help formatting modifier online help. More...
 
struct  datrw::formatmodifiers::Value
 A struct to store values for a given key. More...
 
class  datrw::Subformat
 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...
 

Macros

#define DATRW_assert_modifiers_are_recognized(S, F)
 abort if user passed unused modifiers More...
 
#define DATRW_expect_no_modifier(F, M)
 Issue warning if modifiers are passed but not evaluated. More...
 

Typedefs

typedef std::map< std::string, Valuedatrw::formatmodifiers::Tparamap
 A map to store parameters. More...
 

Functions

Tparamap datrw::formatmodifiers::makeparamap (const std::string &p, const std::string &delimiter=":", const std::string &assign="=")
 Create a parameter map from a parameter string. More...
 
void datrw::formatmodifiers::online_help (std::ostream &os)
 Provide online help on modifiers. More...
 
template<class C >
std::ostream & datrw::formatmodifiers::operator<< (ModifierHelp &mh, const C &c)
 Output operator for ModifierHelpFor line indentation an object of type ModifierHelp can be used like an output stream;. More...
 

Detailed Description

Provide mechanism to extract format modifiers.