CernVM-FS
2.12.0
|
#include <buffer.h>
Public Types | |
typedef A::pointer | pointer_t |
Public Member Functions | |
Buffer () | |
Buffer (const size_t size) | |
virtual | ~Buffer () |
void | Allocate (const size_t size) |
bool | IsInitialized () const |
A::pointer | ptr () |
const A::pointer | ptr () const |
A::pointer | free_space_ptr () |
const A::pointer | free_space_ptr () const |
void | SetUsed (const size_t items) |
void | SetUsedBytes (const size_t bytes) |
size_t | size () const |
size_t | size_bytes () const |
size_t | used () const |
size_t | used_bytes () const |
size_t | free () const |
size_t | free_bytes () const |
Private Member Functions | |
Buffer (const Buffer &other) | |
Buffer & | operator= (const Buffer &other) |
void | Deallocate () |
Private Attributes | |
A | allocator_ |
size_t | used_ |
size_t | size_ |
A::pointer | buffer_ |
bool | initialized_ |
This file is part of the CernVM File System.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |