Scalar Scalar int size
Definition: benchVecAdd.cpp:17
This gives functionality to read information from binary formats like STL etc. This class is complete...
Definition: BinaryReader.h:16
double readFloat(unsigned int size)
read the next so many bytes as a double (not in this case they were saves as a float orgainlly)
Definition: BinaryReader.cc:85
void ignoreChar(unsigned int size)
read and ignore the next number of characters
Definition: BinaryReader.cc:110
~BinaryReader()
Destructor, simple closes the file.
Definition: BinaryReader.cc:26
std::ifstream binaryFile_
The pointer for the binary file.
Definition: BinaryReader.h:67
BinaryReader(std::string)
Default constuction, requires to users to prove the name of the file that will be opened.
Definition: BinaryReader.cc:18
unsigned int readUnsignedInt(unsigned int size)
read the next so many bytes as a unsined int
Definition: BinaryReader.cc:98
void closeFile()
close the file with fileName
Definition: BinaryReader.cc:34
double readDouble(unsigned int size)
read the next so many bytes as a double
Definition: BinaryReader.cc:71
std::string readString(unsigned int numChar)
reads the next so many Characters (bytes) as a std::string
Definition: BinaryReader.cc:57
void openFile(std::string fileName)
opens the file with fileName
Definition: BinaryReader.cc:43
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286