SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
PersistentSTL.h File Reference

Persistent i/o for STL containers. More...

#include <Core/Persistent/Persistent.h>
#include <Core/Persistent/share.h>
#include <map>
#include <vector>
#include <list>

Go to the source code of this file.

Namespaces

 SCIRun
 STL datatypes needed.
 

Macros

#define MAP_VERSION   1
 
#define STLVECTOR_VERSION   2
 
#define STLLIST_VERSION   1
 
#define STLPAIR_VERSION   1
 

Functions

template<class Key , class Data >
void Pio (Piostream &stream, std::map< Key, Data > &data)
 
template<class T >
void Pio (Piostream &stream, std::vector< T > &data)
 
template<class T , class S >
void Pio (Piostream &stream, std::pair< T, S > &pair)
 
void Pio_index (Piostream &stream, std::vector< index_type > &data)
 Export indices 32/64 bit compatible. More...
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< bool > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< char > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< unsigned char > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< short > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< unsigned short > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< int > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< unsigned int > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< long long > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< unsigned long long > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< float > &data)
 
template<>
SCISHARE void Pio (Piostream &stream, std::vector< double > &data)
 
template<class T >
void Pio (Piostream &stream, std::vector< T * > &data)
 
template<class T >
void Pio (Piostream &stream, std::list< T > &data)
 

Detailed Description

Persistent i/o for STL containers.

Author
David Hart, Alexei Samsonov Department of Computer Science University of Utah
Date
Mar. 2000, Dec 2000

Macro Definition Documentation

#define MAP_VERSION   1
#define STLLIST_VERSION   1
#define STLPAIR_VERSION   1
#define STLVECTOR_VERSION   2