liborigin2 13/09/2010
Public Member Functions | Private Member Functions | Private Attributes
std::iendianfstream Class Reference

#include <endianfstream.hh>

List of all members.

Public Member Functions

 iendianfstream (const char *_Filename, ios_base::openmode _Mode=ios_base::in)
iendianfstreamoperator>> (Origin::Color &value)
iendianfstreamoperator>> (string &value)
iendianfstreamoperator>> (long double &value)
iendianfstreamoperator>> (double &value)
iendianfstreamoperator>> (float &value)
iendianfstreamoperator>> (unsigned long &value)
iendianfstreamoperator>> (long &value)
iendianfstreamoperator>> (unsigned int &value)
iendianfstreamoperator>> (int &value)
iendianfstreamoperator>> (unsigned short &value)
iendianfstreamoperator>> (short &value)
iendianfstreamoperator>> (unsigned char &value)
iendianfstreamoperator>> (char &value)
iendianfstreamoperator>> (bool &value)

Private Member Functions

void swap_bytes (unsigned char *data, int size)

Private Attributes

bool bigEndian

Constructor & Destructor Documentation

std::iendianfstream::iendianfstream ( const char *  _Filename,
ios_base::openmode  _Mode = ios_base::in 
) [inline]

References bigEndian.


Member Function Documentation

iendianfstream& std::iendianfstream::operator>> ( bool &  value) [inline]
iendianfstream& std::iendianfstream::operator>> ( char &  value) [inline]
iendianfstream& std::iendianfstream::operator>> ( Origin::Color value) [inline]
iendianfstream& std::iendianfstream::operator>> ( string &  value) [inline]
iendianfstream& std::iendianfstream::operator>> ( long double &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( double &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( float &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( unsigned long &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( short &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( unsigned int &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( int &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( unsigned short &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( long &  value) [inline]

References bigEndian, and swap_bytes().

iendianfstream& std::iendianfstream::operator>> ( unsigned char &  value) [inline]
void std::iendianfstream::swap_bytes ( unsigned char *  data,
int  size 
) [inline, private]

Referenced by operator>>().


Member Data Documentation

Referenced by iendianfstream(), and operator>>().


The documentation for this class was generated from the following file: