latest version v1.9 - last update 10 Apr 2010 |
This file contains read and write methods for some often used STL containers. More...
#include "ltiIoHandler.h"
#include <list>
#include <vector>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | lti |
Functions | |
template<class T , class U > | |
bool | lti::read (ioHandler &handler, std::pair< T, U > &data, const bool complete=true) |
template<class T , class U > | |
bool | lti::write (ioHandler &handler, const std::pair< T, U > &data, const bool complete=true) |
template<class T > | |
bool | lti::read (ioHandler &handler, std::list< T > &data, const bool complete=true) |
template<class T > | |
bool | lti::write (ioHandler &handler, const std::list< T > &data, const bool complete=true) |
template<class T > | |
bool | lti::read (ioHandler &handler, std::vector< T > &data, const bool complete=true) |
template<class T > | |
bool | lti::write (ioHandler &handler, const std::vector< T > &data, const bool complete=true) |
template<class T , class U > | |
bool | lti::read (ioHandler &handler, std::map< T, U > &data, const bool complete=true) |
template<class T , class U > | |
bool | lti::write (ioHandler &handler, const std::map< T, U > &data, const bool complete=true) |
template<class T , class U > | |
bool | lti::read (ioHandler &handler, std::multimap< T, U > &data, const bool complete=true) |
template<class T , class U > | |
bool | lti::write (ioHandler &handler, const std::multimap< T, U > &data, const bool complete=true) |
This file contains read and write methods for some often used STL containers.
Note that for the read() functions to work the type T must implement the the operator=(). Further, for all functions the type T must have a corresponding read/write function. The following functions are implemented:
The parameters are: