#include <Stream.h>
Public Types | |
enum | ByteOrder { BigEndian, LittleEndian } |
Public Member Functions | |
ByteOrder | byteOrder () const |
void | setByteOrder (ByteOrder) |
Protected Member Functions | |
Stream () | |
virtual | ~Stream () |
Protected Attributes | |
bool | _swap |
Definition at line 41 of file Stream.h.
Stream::Stream | ( | ) | [protected] |
Definition at line 46 of file Stream.cpp.
Stream::~Stream | ( | ) | [protected, virtual] |
Definition at line 50 of file Stream.cpp.
Stream::ByteOrder Stream::byteOrder | ( | ) | const |
Definition at line 54 of file Stream.cpp.
References _swap, BigEndian, and LittleEndian.
void Stream::setByteOrder | ( | ByteOrder | bo | ) |
Definition at line 59 of file Stream.cpp.
References _swap, and BigEndian.
Referenced by MeshCore::MeshInput::LoadPLY(), MeshCore::MeshKernel::Read(), and MeshCore::MeshOutput::SavePLY().
bool Base::Stream::_swap [protected] |
Definition at line 53 of file Stream.h.
Referenced by byteOrder(), Base::OutputStream::operator<<(), Base::InputStream::operator>>(), and setByteOrder().