Belle II Software  release-08-01-10
BufferedWriter Class Reference
Inheritance diagram for BufferedWriter:
Collaboration diagram for BufferedWriter:

Public Member Functions

 BufferedWriter (size_t size, unsigned char *memory=NULL)
 
 BufferedWriter (const BufferedWriter &w)
 
void seekTo (size_t pos)
 
unsigned char * ptr ()
 
size_t count () const
 
size_t size () const
 
size_t write (const void *, size_t) override
 
bool available () override
 
const BufferedWriteroperator= (const BufferedWriter &)
 
virtual void writeBool (bool)
 
virtual void writeChar (char)
 
virtual void writeShort (short)
 
virtual void writeInt (int)
 
virtual void writeLong (long long)
 
virtual void writeUChar (unsigned char)
 
virtual void writeUShort (unsigned short)
 
virtual void writeUInt (unsigned int)
 
virtual void writeULong (unsigned long long)
 
virtual void writeFloat (float)
 
virtual void writeDouble (double)
 
virtual void writeString (const std::string &)
 
virtual void writeObject (const Serializable &)
 

Protected Member Functions

void reverse (void *buf, size_t len)
 

Protected Attributes

unsigned char * m_memory
 
size_t m_size
 
size_t m_pos
 
bool m_allocated
 

Detailed Description

Definition at line 19 of file BufferedWriter.h.


The documentation for this class was generated from the following files: