49 #ifndef OPENMESH_BINARY_HELPER_HH
50 #define OPENMESH_BINARY_HELPER_HH
55 #include <OpenMesh/Core/System/config.h>
57 #if defined( OM_CC_MIPS )
85 short int read_short(FILE* _in,
bool _swap=
false);
89 int read_int(FILE* _in,
bool _swap=
false);
101 short int read_short(std::istream& _in,
bool _swap=
false);
105 int read_int(std::istream& _in,
bool _swap=
false);
109 float read_float(std::istream& _in,
bool _swap=
false);
113 double read_double(std::istream& _in,
bool _swap=
false);
118 void write_short(
short int _i, FILE* _out,
bool _swap=
false);
122 void write_int(
int _i, FILE* _out,
bool _swap=
false);
126 void write_float(
float _f, FILE* _out,
bool _swap=
false);
130 void write_double(
double _d, FILE* _out,
bool _swap=
false);
134 void write_short(
short int _i, std::ostream& _out,
bool _swap=
false);
138 void write_int(
int _i, std::ostream& _out,
bool _swap=
false);
142 void write_float(
float _f, std::ostream& _out,
bool _swap=
false);
146 void write_double(
double _d, std::ostream& _out,
bool _swap=
false);
155 #endif // OPENMESH_MESHREADER_HH defined
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.