DUNE: Uniform Navigational Environment  2020.01.0
DUNE::Utils::TupleList Class Reference

Public Member Functions

 TupleList (std::string str, std::string sep="=", std::string tuple_sep=";", bool ignore_case=false)
 
void clear (void)
 
std::string get (std::string label)
 
template<typename Type >
Type get (std::string label, Type dflt)
 
TupleListoperator<< (const std::string str)
 
std::map< std::string, std::string > getMap ()
 
std::map< std::string, std::string > getMapReversed ()
 

Friends

std::ostream & operator<< (std::ostream &os, const TupleList &)
 
std::string & operator<< (std::string &os, const TupleList &)
 

Constructor & Destructor Documentation

DUNE::Utils::TupleList::TupleList ( std::string  str,
std::string  sep = "=",
std::string  tuple_sep = ";",
bool  ignore_case = false 
)
inline

Member Function Documentation

void DUNE::Utils::TupleList::clear ( void  )
inline
std::string DUNE::Utils::TupleList::get ( std::string  label)
inline
template<typename Type >
Type DUNE::Utils::TupleList::get ( std::string  label,
Type  dflt 
)
inline
std::map< std::string, std::string > DUNE::Utils::TupleList::getMap ( )

Referenced by get().

std::map< std::string, std::string > DUNE::Utils::TupleList::getMapReversed ( )

Referenced by get().

TupleList & DUNE::Utils::TupleList::operator<< ( const std::string  str)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const TupleList tl 
)
friend
std::string& operator<< ( std::string &  os,
const TupleList tl 
)
friend
Collaboration diagram for DUNE::Utils::TupleList:
Collaboration graph