Ark Server API (ASE) - Wiki
|
#include <container.h>
Public Member Functions | |
ContainerBuffer (Container &container) | |
Public Member Functions inherited from fmt::Buffer< Container::value_type > | |
virtual | ~Buffer () |
std::size_t | size () const |
std::size_t | capacity () const |
void | resize (std::size_t new_size) |
void | reserve (std::size_t capacity) |
void | clear () FMT_NOEXCEPT |
void | push_back (const Container::value_type &value) |
void | append (const U *begin, const U *end) |
Container::value_type & | operator[] (std::size_t index) |
const Container::value_type & | operator[] (std::size_t index) const |
Protected Member Functions | |
virtual void | grow (std::size_t size) FMT_OVERRIDE |
Protected Member Functions inherited from fmt::Buffer< Container::value_type > | |
Buffer (Container::value_type *ptr=FMT_NULL, std::size_t capacity=0) | |
Private Attributes | |
Container & | container_ |
Additional Inherited Members | |
Protected Attributes inherited from fmt::Buffer< Container::value_type > | |
Container::value_type * | ptr_ |
std::size_t | size_ |
std::size_t | capacity_ |
\rst A "buffer" that appends data to a standard container (e.g. typically a std::vector
or std::basic_string
). \endrst
Definition at line 26 of file container.h.
|
inlineexplicit |
Definition at line 38 of file container.h.
|
inlineprotectedvirtual |
\rst Increases the buffer capacity to hold at least size elements updating ptr_
and capacity_
. \endrst
Implements fmt::Buffer< Container::value_type >.
Definition at line 31 of file container.h.
|
private |
Definition at line 28 of file container.h.