icedb  version 0.5.1
Snow particle scattering database API
Classes | Namespaces | Functions
splitSet.hpp File Reference
#include "defs.h"
#include <string>
#include <map>
#include <set>
#include <vector>
Include dependency graph for splitSet.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  icedb::splitSet::intervals< T >
 Class to define and search on intervals. More...
 

Namespaces

 icedb
 
 icedb::splitSet
 

Functions

template<class T >
void icedb::splitSet::splitSet (const std::string &instr, std::set< T > &expanded, const std::map< std::string, std::string > *aliases)
 
template<>
void icedb::splitSet::splitSet< std::string > (const std::string &instr, std::set< std::string > &expanded, const std::map< std::string, std::string > *aliases)
 
template<class T >
void icedb::splitSet::splitSet (const T &start, const T &end, const T &interval, const std::string &specializer, std::set< T > &expanded)
 Shortcut that already passes parsed ICEDB_LOG_INFOrmation. More...
 
template<class T >
void icedb::splitSet::extractInterval (const std::string &instr, T &start, T &end, T &interval, size_t &num, std::string &specializer)
 Extracts ICEDB_LOG_INFOrmation from interval notation. More...
 
void icedb::splitSet::splitVector (const std::string &instr, std::vector< std::string > &out, char delim='\0')
 Convenience function to split a null-separated string list into a vector of strings. More...
 
void icedb::splitSet::splitNullVector (const std::string &instr, std::vector< std::string > &out)
 
void icedb::splitSet::splitNullMap (const std::string &instr, std::map< std::string, std::string > &out)
 Convenience function to split a null-separated string list into a map of strings. More...