xmscore  1.0
map.h File Reference

std::map types for convenience More...

#include <map>
#include <xmscore/points/ptsfwd.h>
#include <xmscore/stl/vector.h>
#include <xmscore/stl/set.h>

Go to the source code of this file.

Typedefs

typedef std::map< double, double > xms::MapDblDbl
 short rename
 
typedef std::map< double, int > xms::MapDblInt
 short rename
 
typedef std::map< double, std::string > xms::MapDblStr
 short rename
 
typedef std::map< int, bool > xms::MapIntBool
 short rename
 
typedef std::map< int, double > xms::MapIntDbl
 short rename
 
typedef std::map< int, float > xms::MapIntFlt
 short rename
 
typedef std::map< int, float ** > xms::MapIntFlt2d
 short rename
 
typedef std::map< int, int > xms::MapIntInt
 short rename
 
typedef std::map< int, SetInt > xms::MapIntSetInt
 short rename
 
typedef std::map< int, std::string > xms::MapIntStr
 short rename
 
typedef std::map< int, Pt3d > xms::MapIntPt3d
 short rename
 
typedef std::map< int, VecDbl > xms::MapIntVecDbl
 short rename
 
typedef std::map< int, VecFlt > xms::MapIntVecFlt
 short rename
 
typedef std::map< int, VecFlt2d > xms::MapIntVecFlt2d
 short rename
 
typedef std::map< int, VecInt > xms::MapIntVecInt
 short rename
 
typedef std::map< int, MapIntDbl > xms::MapIntMapIntDbl
 short rename
 
typedef std::map< int, MapIntFlt > xms::MapIntMapIntFlt
 short rename
 
typedef std::map< int, MapIntInt > xms::MapIntMapIntInt
 short rename
 
typedef std::map< Pt3d, int > xms::MapPt3dInt
 short rename
 
typedef std::map< std::string, double > xms::MapStrDbl
 short rename
 
typedef std::map< std::string, int > xms::MapStrInt
 short rename
 
typedef std::map< std::string, MapIntDbl > xms::MapStrMapIntDbl
 short rename
 
typedef std::map< std::string, std::string > xms::MapStrStr
 short rename
 
typedef std::map< std::string, VecStr > xms::MapStrVecStr
 short rename
 
typedef std::multimap< bool, int > xms::MmapBoolInt
 short rename
 
typedef std::multimap< double, int > xms::MmapDblInt
 short rename
 
typedef std::multimap< int, int > xms::MmapIntInt
 short rename
 
typedef std::multimap< std::string, int > xms::MmapStrInt
 short rename
 

Functions

template<class _T , class _U >
std::ostream & xms::operator<< (std::ostream &a_output, const std::map< _T, _U > &a_value)
 Streams a map to a_output. More...
 
template<class _T , class _U >
std::ostream & xms::operator<< (std::ostream &a_output, const std::multimap< _T, _U > &a_value)
 Streams a multimap to a_output. More...
 

Detailed Description

std::map types for convenience

Definition in file map.h.

Function Documentation

◆ operator<<() [1/2]

template<class _T , class _U >
std::ostream& xms::operator<< ( std::ostream &  a_output,
const std::map< _T, _U > &  a_value 
)

Streams a map to a_output.

Parameters
a_outputThe stream.
a_valueThe map.
Returns
stream reference.

Definition at line 59 of file map.h.

◆ operator<<() [2/2]

template<class _T , class _U >
std::ostream& xms::operator<< ( std::ostream &  a_output,
const std::multimap< _T, _U > &  a_value 
)

Streams a multimap to a_output.

Parameters
a_outputThe stream.
a_valueThe map.
Returns
stream reference.

Definition at line 73 of file map.h.