LTI-Lib latest version v1.9 - last update 10 Apr 2010

ltiSTLIoInterface.h File Reference

This file contains read and write methods for some often used STL containers. More...

#include "ltiIoHandler.h"
#include <list>
#include <vector>
#include <map>
Include dependency graph for ltiSTLIoInterface.h:
This graph shows which files directly or indirectly include this file:

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)

Detailed Description

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:


Generated on Sat Apr 10 15:26:29 2010 for LTI-Lib by Doxygen 1.6.1