Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::ovectorstream Class Reference

std::ostream interface for a std::vector of characters (std::vector<char>) More...

#include <bayeux/datatools/memory_streambuf.h>

Inheritance diagram for datatools::ovectorstream:
datatools::vector_output_buffer

Public Member Functions

 ovectorstream (size_t capacity_=DEFAULT_CAPACITY, size_t increment_=DEFAULT_INCREMENT, size_t max_capacity_=0)
 
- Public Member Functions inherited from datatools::vector_output_buffer
 vector_output_buffer (size_t capacity_=1000, size_t increment_=1000, size_t max_capacity_=0)
 Constructor. More...
 
virtual ~vector_output_buffer ()
 
const std::vector< char > & buffer () const
 
void set_max_capacity (size_t max_capacity_)
 
void reset (size_t capacity_=1000, size_t increment_=1000, size_t max_capacity_=0)
 
size_t get_size () const
 
const char * get_address () const
 
void dump () const
 
int overflow (int c_)
 

Additional Inherited Members

- Public Types inherited from datatools::vector_output_buffer
typedef std::vector< char >::const_iterator iterator
 
- Static Public Attributes inherited from datatools::vector_output_buffer
static const size_t MIN_CAPACITY = 128
 
static const size_t MIN_INCREMENT = 128
 
static const size_t DEFAULT_CAPACITY = 1024
 
static const size_t DEFAULT_INCREMENT = 0
 
- Protected Member Functions inherited from datatools::vector_output_buffer
void _init (size_t capacity_)
 
void _set_increment (size_t increment_)
 

Detailed Description

std::ostream interface for a std::vector of characters (std::vector<char>)

Constructor & Destructor Documentation

◆ ovectorstream()

datatools::ovectorstream::ovectorstream ( size_t  capacity_ = DEFAULT_CAPACITY,
size_t  increment_ = DEFAULT_INCREMENT,
size_t  max_capacity_ = 0 
)

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