BinaryHelper.hh File Reference

#include <OpenMesh/Core/System/config.h>
#include <cstdio>
#include <iostream>
Include dependency graph for BinaryHelper.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenMesh
namespace  OpenMesh::IO

Functions

Handling binary input/output.

These functions take care of swapping bytes to get the right Endian.

double OpenMesh::IO::read_double (FILE *_in, bool _swap=false)
float OpenMesh::IO::read_float (FILE *_in, bool _swap=false)
int OpenMesh::IO::read_int (FILE *_in, bool _swap=false)
short int OpenMesh::IO::read_short (FILE *_in, bool _swap=false)
void OpenMesh::IO::write_double (double _d, FILE *_out, bool _swap=false)
void OpenMesh::IO::write_float (float _f, FILE *_out, bool _swap=false)
void OpenMesh::IO::write_int (int _i, FILE *_out, bool _swap=false)
void OpenMesh::IO::write_short (short int _i, FILE *_out, bool _swap=false)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:10:41 2013