VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Public Member Functions | List of all members
Buffer< T, Allocator > Class Template Referencefinal

`#include <malloc.h>`

## Public Member Functions
| Buffer ()=default
| Buffer (size_t objectCount)
| Buffer (Buffer &&other)
Buffer & | operator= (Buffer &&other)
| Buffer (const Buffer &)=delete
Buffer & | operator= (const Buffer &)=delete
| ~Buffer () noexcept
T * | data ()
const T * | data () const
T * | get ()
const T * | get () const
T & | operator[] (size_t index)
const T & | operator[] (size_t index) const
T * | begin () noexcept
T * | end () noexcept
const T * | begin () const noexcept
const T * | end () const noexcept
size_t | size () const
bool | empty () const
void | allocate (size_t objectCount)
void | deallocate ()

## Constructor & Destructor Documentation

## ◆ Buffer() [1/4]

Buffer | ( |  | ) |
| default

## ◆ Buffer() [2/4]

Buffer | ( | size_t | objectCount | ) |
| inline

## ◆ Buffer() [3/4]

Buffer | ( | Buffer< T, Allocator > && | other | ) |
| inline

## ◆ Buffer() [4/4]

Buffer | ( | const Buffer< T, Allocator > & |  | ) |
| delete

## ◆ ~Buffer()

~Buffer | ( |  | ) |
| inline noexcept

## Member Function Documentation

## ◆ allocate()

void allocate | ( | size_t | objectCount | ) |
| inline

## ◆ begin() [1/2]

const T * begin | ( |  | ) | const
| inline noexcept

## ◆ begin() [2/2]

T * begin | ( |  | ) |
| inline noexcept

## ◆ data() [1/2]

T * data | ( |  | ) |
| inline

## ◆ data() [2/2]

const T * data | ( |  | ) | const
| inline

## ◆ deallocate()

void deallocate | ( |  | ) |
| inline

## ◆ empty()

bool empty | ( |  | ) | const
| inline

## ◆ end() [1/2]

const T * end | ( |  | ) | const
| inline noexcept

## ◆ end() [2/2]

T * end | ( |  | ) |
| inline noexcept

## ◆ get() [1/2]

T * get | ( |  | ) |
| inline

## ◆ get() [2/2]

const T * get | ( |  | ) | const
| inline

## ◆ operator=() [1/2]

Buffer & operator= | ( | Buffer< T, Allocator > && | other | ) |
| inline

## ◆ operator=() [2/2]

Buffer & operator= | ( | const Buffer< T, Allocator > & |  | ) |
| delete

## ◆ operator[]() [1/2]

T & operator[] | ( | size_t | index | ) |
| inline

## ◆ operator[]() [2/2]

const T & operator[] | ( | size_t | index | ) | const
| inline

## ◆ size()

size_t size | ( |  | ) | const
| inline

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

- malloc.h