Graphite  Version 3
An experimental 3D geometry processing program
geofile.h File Reference

Functions to read and write structured files. More...

#include <geogram/basic/common.h>
#include <geogram/basic/numeric.h>
#include <geogram/basic/memory.h>
#include <geogram/basic/string.h>
#include <geogram/third_party/zlib/zlib.h>
#include <stdexcept>
#include <fstream>
#include <map>

Go to the source code of this file.

Classes

class  GEO::GeoFileException
 GeoFile exception. More...
 
class  GEO::GeoFile
 Base class for reading or writing Geogram structured binary files. More...
 
struct  GEO::GeoFile::AttributeInfo
 Internal representation of attributes. More...
 
struct  GEO::GeoFile::AttributeSetInfo
 Internal representation of an attribute set. More...
 
class  GEO::InputGeoFile
 Used to read a structured binary file. More...
 
class  GEO::OutputGeoFile
 Used to write a structured binary file. More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 

Functions

template<class T >
bool GEO::read_ascii_attribute (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Reads an ASCII attribute from a file. More...
 
template<class T >
bool GEO::write_ascii_attribute (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Writes an ASCII attribute to a file. More...
 
template<>
bool GEO::read_ascii_attribute< char > (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Reads an ASCII attribute from a file. More...
 
template<>
bool GEO::write_ascii_attribute< char > (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Writes an ASCII attribute to a file. More...
 
template<>
bool GEO::read_ascii_attribute< bool > (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Reads an ASCII attribute from a file. More...
 
template<>
bool GEO::write_ascii_attribute< bool > (FILE *file, Memory::pointer base_addr, index_t nb_elements)
 Writes an ASCII attribute to a file. More...
 

Detailed Description

Functions to read and write structured files.

Definition in file geofile.h.