Public Member Functions | |
EFStream () | |
Default constructor. More... | |
bool | ByteSwap (void) |
Gets byte swap state. More... | |
void | SetByteSwap (bool state) |
Sets byte swap state. More... | |
void | SwapEndian (char *s, std::streamsize N) |
Method to swap the Endianness of a stream. More... | |
std::istream & | Read (char *s, std::streamsize n) |
Overloaded fstream read method with byte swapping capacity. More... | |
Private Attributes | |
bool | byte_swap_ |
Definition at line 19 of file NeEFStream.h.
NeuralEngine::EFStream::EFStream | ( | ) |
Default constructor.
Hmetal T, 02/08/2019.
bool NeuralEngine::EFStream::ByteSwap | ( | void | ) |
Gets byte swap state.
Hmetal T, 02/08/2019.
void NeuralEngine::EFStream::SetByteSwap | ( | bool | state | ) |
Sets byte swap state.
Hmetal T, 02/08/2019.
state | true to state. |
void NeuralEngine::EFStream::SwapEndian | ( | char * | s, |
std::streamsize | N | ||
) |
Method to swap the Endianness of a stream.
Hmetal T, 02/08/2019.
s | [in,out] If non-null, the char to process. |
N | The std::streamsize to process. |
std::istream & NeuralEngine::EFStream::Read | ( | char * | s, |
std::streamsize | n | ||
) |
Overloaded fstream read method with byte swapping capacity.
Hmetal T, 02/08/2019.
s | [in,out] If non-null, the char to process. |
n | The std::streamsize to process. |
|
private |
Definition at line 71 of file NeEFStream.h.