Namespaces | Functions

cubemain.h File Reference

This file contains the definition of some functions that are common for all types of cubes, independent of the details of their implementation, mainly the text input/output procedures. More...

#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/struct/bitfield.h"
#include "chomp/struct/integer.h"
#include "chomp/struct/hashsets.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  chomp
 

This namespace contains the entire CHomP library interface.


namespace  chomp::homology
 

This namespace contains the core of the homology computation procedures and related classes and templates contained in the CHomP C++ library.


Functions

template<class dest_cube , class src_cube >
dest_cube chomp::homology::cube_cast (const src_cube &src)
 Converts one cube into another.
template<class cubetype >
std::ostream & chomp::homology::WriteCube (std::ostream &out, const cubetype &c)
 Writes a cube to the output stream in the text mode.
template<class cubetype >
std::istream & chomp::homology::ReadCubeFix (std::istream &in, cubetype &c, int dimfix)
 Reads a cube from the input text stream.
template<class cubetype >
std::istream & chomp::homology::ReadCube (std::istream &in, cubetype &c)
 Reads a cube from the input text stream.
template<class cubsettype >
std::istream & chomp::homology::ReadCubes (std::istream &in, cubsettype &s)
 Reads a set of cubes and ignores the line at the beginning of the file which starts with the letter 'd' (like "dimension 2").
template<class tCube >
std::istream & chomp::homology::ReadCubicalMap (std::istream &in, mvmap< tCube, tCube > &m)
 Reads a combinatorial cubical multivalued map from an input text stream.

Detailed Description

This file contains the definition of some functions that are common for all types of cubes, independent of the details of their implementation, mainly the text input/output procedures.

Author:
Pawel Pilarczyk

Definition in file cubemain.h.