The ChainCon Software (Release 0.03)
|
A filtered cell complex. More...
#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/struct/hashsets.h"
Go to the source code of this file.
Classes | |
class | tFilteredComplex< CellT > |
A filtered complex. More... | |
Functions | |
template<class CellT > | |
std::ostream & | operator<< (std::ostream &out, const tFilteredComplex< CellT > &C) |
Writes a filtered cell complex to an output stream in the text format. More... | |
template<class CellT > | |
std::istream & | operator>> (std::istream &in, tFilteredComplex< CellT > &K) |
Reads a filtered cell complex from an input stream. More... | |
A filtered cell complex.
Definition in file filtcomplex.h.
std::ostream& operator<< | ( | std::ostream & | out, |
const tFilteredComplex< CellT > & | C | ||
) |
Writes a filtered cell complex to an output stream in the text format.
Definition at line 155 of file filtcomplex.h.
References tFilteredComplex< CellT >::size().
std::istream& operator>> | ( | std::istream & | in, |
tFilteredComplex< CellT > & | K | ||
) |
Reads a filtered cell complex from an input stream.
The cells are supposed to be listed in the input stream in the reverse order, that is, each cell should be followed by its boundary cells, which is not verified in this procedure. Reading the cells is interrupted in case of the empty cell (which is added to the complex if the empty cell is in use) or when the end of the stream is encountered.
Definition at line 174 of file filtcomplex.h.
References tFilteredComplex< CellT >::add().