The Conley-Morse Graphs Software
Functions
byteutil.h File Reference

Utility procedures for writing and reading entire data structures with bzip2 compression, using the two classes "ByteCompressor" and "ByteDecompressor" defined elsewhere. More...

#include <algorithm>
#include <new>
#include <vector>
#include <string>
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/struct/digraph.h"
#include "chomp/struct/multitab.h"
#include "chomp/struct/hashsets.h"
#include "chomp/system/timeused.h"
#include "config.h"
#include "typedefs.h"
#include "conindex.h"
#include "morsedec.h"
#include "typedyns.h"
#include "utils.h"
#include "bytecompr.h"

Go to the source code of this file.

Functions

ByteCompressoroperator<< (ByteCompressor &c, const std::string &v)
 
ByteDecompressoroperator>> (ByteDecompressor &c, std::string &v)
 
template<class T >
ByteCompressoroperator<< (ByteCompressor &c, const std::vector< T > &v)
 
template<class T >
ByteDecompressoroperator>> (ByteDecompressor &c, std::vector< T > &v)
 
template<class T >
ByteCompressoroperator<< (ByteCompressor &c, const chomp::homology::hashedset< T > &v)
 
template<class T >
ByteDecompressoroperator>> (ByteDecompressor &c, chomp::homology::hashedset< T > &v)
 
ByteCompressoroperator<< (ByteCompressor &c, const spcCube &q)
 
ByteDecompressoroperator>> (ByteDecompressor &c, spcCube &q)
 

Detailed Description

Utility procedures for writing and reading entire data structures with bzip2 compression, using the two classes "ByteCompressor" and "ByteDecompressor" defined elsewhere.

Author
Pawel Pilarczyk

Definition in file byteutil.h.

Function Documentation

◆ operator<<() [1/4]

template<class T >
ByteCompressor & operator<< ( ByteCompressor c,
const chomp::homology::hashedset< T > &  v 
)
inline

Definition at line 119 of file byteutil.h.

◆ operator<<() [2/4]

ByteCompressor & operator<< ( ByteCompressor c,
const spcCube q 
)
inline

Definition at line 151 of file byteutil.h.

References custom::difference::spaceDim.

◆ operator<<() [3/4]

ByteCompressor & operator<< ( ByteCompressor c,
const std::string &  v 
)
inline

Definition at line 64 of file byteutil.h.

◆ operator<<() [4/4]

template<class T >
ByteCompressor & operator<< ( ByteCompressor c,
const std::vector< T > &  v 
)
inline

Definition at line 91 of file byteutil.h.

◆ operator>>() [1/4]

template<class T >
ByteDecompressor & operator>> ( ByteDecompressor c,
chomp::homology::hashedset< T > &  v 
)
inline

Definition at line 130 of file byteutil.h.

◆ operator>>() [2/4]

ByteDecompressor & operator>> ( ByteDecompressor c,
spcCube q 
)
inline

Definition at line 161 of file byteutil.h.

References custom::difference::spaceDim.

◆ operator>>() [3/4]

ByteDecompressor & operator>> ( ByteDecompressor c,
std::string &  v 
)
inline

Definition at line 74 of file byteutil.h.

◆ operator>>() [4/4]

template<class T >
ByteDecompressor & operator>> ( ByteDecompressor c,
std::vector< T > &  v 
)
inline

Definition at line 102 of file byteutil.h.