The Conley-Morse Graphs Software
|
Data conversion for sending/receiving: std::vectors and hashed sets of any objects. More...
#include <vector>
#include <utility>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/struct/hashsets.h"
#include "chomp/multiwork/mw.h"
Go to the source code of this file.
Functions | |
template<class AnyType > | |
chomp::multiwork::mwData & | operator<< (chomp::multiwork::mwData &data, const std::vector< AnyType > &vect) |
Writes a standard vector of any objects to a MultiWork data structure. More... | |
template<class AnyType > | |
chomp::multiwork::mwData & | operator>> (chomp::multiwork::mwData &data, std::vector< AnyType > &vect) |
Reads a standard vector of any objects from a MultiWork data structure. More... | |
template<class Type1 , class Type2 > | |
chomp::multiwork::mwData & | operator<< (chomp::multiwork::mwData &data, const std::pair< Type1, Type2 > &p) |
Writes a standard pair of any objects to a MultiWork data structure. More... | |
template<class Type1 , class Type2 > | |
chomp::multiwork::mwData & | operator>> (chomp::multiwork::mwData &data, std::pair< Type1, Type2 > &p) |
Reads a standard pair of any objects from a MultiWork data structure. More... | |
template<class AnyType > | |
chomp::multiwork::mwData & | operator<< (chomp::multiwork::mwData &data, const chomp::homology::hashedset< AnyType > &vect) |
Writes a standard vector of any objects to a MultiWork data structure. More... | |
template<class AnyType > | |
chomp::multiwork::mwData & | operator>> (chomp::multiwork::mwData &data, chomp::homology::hashedset< AnyType > &vect) |
Reads a standard vector of any objects from a MultiWork data structure. More... | |
Data conversion for sending/receiving: std::vectors and hashed sets of any objects.
This file contains the definitions of the operators << and >> for encoding some variables to the binary data structure and retrieving them. This binary data structure is used in the communication between the coordinator and workers.
Definition in file datavector.h.
|
inline |
Writes a standard vector of any objects to a MultiWork data structure.
Definition at line 114 of file datavector.h.
|
inline |
Writes a standard pair of any objects to a MultiWork data structure.
Definition at line 89 of file datavector.h.
|
inline |
Writes a standard vector of any objects to a MultiWork data structure.
Definition at line 56 of file datavector.h.
|
inline |
Reads a standard vector of any objects from a MultiWork data structure.
Definition at line 126 of file datavector.h.
|
inline |
Reads a standard pair of any objects from a MultiWork data structure.
Definition at line 99 of file datavector.h.
|
inline |
Reads a standard vector of any objects from a MultiWork data structure.
Definition at line 68 of file datavector.h.