38#include "blocxx/BLOCXX_config.h"
60 "enumeration tempfile.");
69 "enumeration tempfile.");
120 "enumeration from a file that does not have the correct "
129 if (
f.read(
reinterpret_cast<char*
>(&size),
sizeof(size),
whence) !=
sizeof(size))
#define BLOCXX_THROW(exType, msg)
Throw an exception using FILE and LINE.
The purpose of the File class is to provide an abstraction layer over the platform dependant function...
This String class is an abstract data type that represents as NULL terminated string of characters.
bool usingTempFile() const
size_t numberOfElements() const
virtual ~TempFileEnumerationImplBase()
bool hasMoreElements() const
void throwIfEmpty() const
TempFileEnumerationImplBase()
size_t readSize(String const &filename)
bool usingTempFile() const
void reset()
reset puts the underlying stream object back into its initialized state.
BLOCXX_COMMON_API File openFile(const String &path)
Open a file for read/write and return an File object that can be used for reading and writing.
bool operator==(const Array< T > &x, const Array< T > &y)