Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
log4cxx::helpers::ByteArrayOutputStream Class Reference

OutputStream implemented on top of std::vector. More...

#include <bytearrayoutputstream.h>

Inheritance diagram for log4cxx::helpers::ByteArrayOutputStream:
log4cxx::helpers::OutputStream log4cxx::helpers::Object

Public Member Functions

 ByteArrayOutputStream ()
 
virtual ~ByteArrayOutputStream ()
 
void close (Pool &p) override
 
void flush (Pool &p) override
 
void write (ByteBuffer &buf, Pool &p) override
 
ByteList toByteArray () const
 
virtual void close (Pool &p)=0
 
virtual void flush (Pool &p)=0
 
virtual void write (ByteBuffer &buf, Pool &p)=0
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from log4cxx::helpers::OutputStream
 OutputStream ()
 
virtual ~OutputStream ()
 

Detailed Description

OutputStream implemented on top of std::vector.

Constructor & Destructor Documentation

◆ ByteArrayOutputStream()

log4cxx::helpers::ByteArrayOutputStream::ByteArrayOutputStream ( )

◆ ~ByteArrayOutputStream()

virtual log4cxx::helpers::ByteArrayOutputStream::~ByteArrayOutputStream ( )
virtual

Member Function Documentation

◆ close()

void log4cxx::helpers::ByteArrayOutputStream::close ( Pool p)
overridevirtual

◆ flush()

void log4cxx::helpers::ByteArrayOutputStream::flush ( Pool p)
overridevirtual

◆ toByteArray()

ByteList log4cxx::helpers::ByteArrayOutputStream::toByteArray ( ) const

◆ write()

void log4cxx::helpers::ByteArrayOutputStream::write ( ByteBuffer buf,
Pool p 
)
overridevirtual

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