iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vector-related utility functions

Functions

template<class Ch , class Tr , class T >
std::basic_ostream< Ch, Tr > & std::operator<< (std::basic_ostream< Ch, Tr > &out, std::vector< T > const &v)
 NRT Implementation of std::vector<T> operator<<. More...
 
template<class Ch , class Tr , class T >
std::basic_istream< Ch, Tr > & std::operator>> (std::basic_istream< Ch, Tr > &in, std::vector< T > &result)
 NRT Implementation of std::vector<T> operator>> More...
 
template<class Ch , class Tr , class T1 , class T2 >
std::basic_ostream< Ch, Tr > & std::operator<< (std::basic_ostream< Ch, Tr > &out, std::map< T1, T2 > const &v)
 NRT Implementation of std::map<T1,T2> operator<<. More...
 
template<class Ch , class Tr , class T1 , class T2 >
std::basic_istream< Ch, Tr > & std::operator>> (std::basic_istream< Ch, Tr > &in, std::map< T1, T2 > &result)
 NRT Implementation of std::map<T1,T2> operator>> More...
 

Function Documentation

template<class Ch , class Tr , class T >
std::basic_ostream< Ch, Tr > & std::operator<< ( std::basic_ostream< Ch, Tr > &  out,
std::vector< T > const &  v 
)
inline

NRT Implementation of std::vector<T> operator<<.

Format is [element1,element2,...] where the [] are optional but must be used if vectors or containers are nested. Other container classes such as Dims, Points, Rectangle, etc must use one of the following [],{},(),<> groupings in order to work properly

Definition at line 40 of file VectorUtilsImpl.H.

template<class Ch , class Tr , class T >
std::basic_istream< Ch, Tr > & std::operator>> ( std::basic_istream< Ch, Tr > &  in,
std::vector< T > &  result 
)
inline

NRT Implementation of std::vector<T> operator>>

Format is [element1,element2,...] where the [] are optional but must be used if vectors or containers are nested. Other container classes such as Dims, Points, Rectangle, etc must use one of the following [],{},(),<> groupings in order to work properly

Definition at line 54 of file VectorUtilsImpl.H.

References std::operator>>().

template<class Ch , class Tr , class T1 , class T2 >
std::basic_ostream< Ch, Tr > & std::operator<< ( std::basic_ostream< Ch, Tr > &  out,
std::map< T1, T2 > const &  v 
)
inline

NRT Implementation of std::map<T1,T2> operator<<.

Format is [key1:value1,key2:value2,...] where the [] are optional but must be used if vectors or containers are nested. Other container classes such as Dims, Points, Rectangle, etc must use one of the following [],{},(),<> groupings in order to work properly

Definition at line 174 of file VectorUtilsImpl.H.

template<class Ch , class Tr , class T1 , class T2 >
std::basic_istream< Ch, Tr > & std::operator>> ( std::basic_istream< Ch, Tr > &  in,
std::map< T1, T2 > &  result 
)
inline

NRT Implementation of std::map<T1,T2> operator>>

Format is [key1:value1,key2:value2,...] where the [] are optional but must be used if vectors or containers are nested. Other container classes such as Dims, Points, Rectangle, etc must use one of the following [],{},(),<> groupings in order to work properly

Definition at line 190 of file VectorUtilsImpl.H.

References std::operator>>().

Referenced by std::operator>>().