Apache Log4cxx  Version 1.8.0
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 (helpers::Pool &p) override
 
void flush (helpers::Pool &p) override
 
void write (ByteBuffer &buf, helpers::Pool &p) override
 
ByteList toByteArray () const
 
void close ()
 
virtual void close (Pool &p)=0
 
void flush ()
 
virtual void flush (Pool &p)=0
 
void write (ByteBuffer &buf)
 
virtual void write (ByteBuffer &buf, Pool &p)=0
 
- Public Member Functions inherited from log4cxx::helpers::OutputStream
void close ()
 
void flush ()
 
void write (ByteBuffer &buf)
 
- 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() [1/3]

void log4cxx::helpers::OutputStream::close

◆ close() [2/3]

void log4cxx::helpers::ByteArrayOutputStream::close ( helpers::Pool p)
overridevirtual
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to close() without a helpers::Pool parameter.

Implements log4cxx::helpers::OutputStream.

◆ close() [3/3]

virtual void log4cxx::helpers::OutputStream::close
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to close() without a helpers::Pool parameter.

◆ flush() [1/3]

void log4cxx::helpers::OutputStream::flush

◆ flush() [2/3]

void log4cxx::helpers::ByteArrayOutputStream::flush ( helpers::Pool p)
overridevirtual
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to flush() without a helpers::Pool parameter.

Implements log4cxx::helpers::OutputStream.

◆ flush() [3/3]

virtual void log4cxx::helpers::OutputStream::flush
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to flush() without a helpers::Pool parameter.

◆ toByteArray()

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

◆ write() [1/3]

void log4cxx::helpers::OutputStream::write

◆ write() [2/3]

void log4cxx::helpers::ByteArrayOutputStream::write ( ByteBuffer buf,
helpers::Pool p 
)
overridevirtual
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to write() without a helpers::Pool parameter.

Implements log4cxx::helpers::OutputStream.

◆ write() [3/3]

virtual void log4cxx::helpers::OutputStream::write
Deprecated:
The pool parameter is not used and will be removed in a future version.

Implement this method for now, but plan to migrate to write() without a helpers::Pool parameter.


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