Go to the documentation of this file.
43 using ReferenceManager::SafePointer;
76 std::cerr <<
"Failed to write binary. Maybe the disk is full?" << std::endl << std::endl;;
84 std::cerr <<
"Missing keys during writing binary file! : \n"
91 std::cerr <<
"Problems with stream during writing binary file"
102 std::cerr <<
"Failed to finalize binary." << std::endl;
110 std::cerr <<
"Missing keys during finalization of writing! \n"
116 std::cerr <<
"Problems with stream during finalization of writing"
void setWriter(const BinaryWriter *writer)
std::string procedureName() const
virtual void actualWriteBinary(BinaryStream &stream, const Binary *bin) const =0
Does real writing of binary.
void writeBinary(BinaryStream &stream, const Binary *bin) const
static void initialize(BinaryStream &stream)
#define assert(condition)
static void cleanupKeyTables()
std::string errorMessage() const
static void finalizeBinary(BinaryStream &stream, const Binary *binaryToFinalize, const BinaryWriter *writer)
const BinaryWriter * writerToUse_
Contains concrete writer instance that is used for writing binary.