VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
Buffer< T, Allocator > Class Template Referencefinal

Public Member Functions

 Buffer ()=default
 
 Buffer (size_t objectCount)
 
 Buffer (Buffer &&other)
 
Bufferoperator= (Buffer &&other)
 
 Buffer (const Buffer &)=delete
 
Bufferoperator= (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 ( )
inlinenoexcept

Member Function Documentation

◆ allocate()

void allocate ( size_t  objectCount)
inline

◆ begin() [1/2]

T* begin ( )
inlinenoexcept

◆ begin() [2/2]

const T* begin ( ) const
inlinenoexcept

◆ 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]

T* end ( )
inlinenoexcept

◆ end() [2/2]

const T* end ( ) const
inlinenoexcept

◆ 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: