51 #ifndef OPENMESH_BINARY_HELPER_HH 52 #define OPENMESH_BINARY_HELPER_HH 59 #if defined( OM_CC_MIPS ) 87 short int read_short(FILE* _in,
bool _swap=
false);
91 int read_int(FILE* _in,
bool _swap=
false);
103 short int read_short(std::istream& _in,
bool _swap=
false);
107 int read_int(std::istream& _in,
bool _swap=
false);
111 float read_float(std::istream& _in,
bool _swap=
false);
115 double read_double(std::istream& _in,
bool _swap=
false);
120 void write_short(
short int _i, FILE* _out,
bool _swap=
false);
124 void write_int(
int _i, FILE* _out,
bool _swap=
false);
128 void write_float(
float _f, FILE* _out,
bool _swap=
false);
132 void write_double(
double _d, FILE* _out,
bool _swap=
false);
136 void write_short(
short int _i, std::ostream& _out,
bool _swap=
false);
140 void write_int(
int _i, std::ostream& _out,
bool _swap=
false);
144 void write_float(
float _f, std::ostream& _out,
bool _swap=
false);
148 void write_double(
double _d, std::ostream& _out,
bool _swap=
false);
157 #endif // OPENMESH_MESHREADER_HH defined int read_int(FILE *_in, bool _swap=false)
short int read_short(FILE *_in, bool _swap=false)
void write_short(short int _i, FILE *_out, bool _swap=false)
void write_int(int _i, FILE *_out, bool _swap=false)
void write_float(float _f, FILE *_out, bool _swap=false)
float read_float(FILE *_in, bool _swap=false)
double read_double(FILE *_in, bool _swap=false)
void write_double(double _d, FILE *_out, bool _swap=false)