#include <bufferdatas.h>
Collaboration diagram for Geddei::BufferDatas:
Public Member Functions | |
BufferDatas (const uint count=0) | |
BufferDatas (const BufferDatas &src) | |
void | copyData (const uint i, const BufferData &d) |
const uint | count () const |
void | nullify () |
BufferDatas & | operator= (const BufferDatas &src) |
BufferData & | operator[] (uint i) |
const BufferData & | operator[] (uint i) const |
void | resize (const uint count) |
BufferDatas | samples (const uint index, const uint amount) |
const BufferDatas | samples (const uint index, const uint amount) const |
void | setData (const uint i, const BufferData *d) |
const uint | size () const |
Friends | |
class | SubProcessor |
This class is a simple, array-like class but has extensions for holding BufferData objects. This class will only be used publicly by SubProcessor developers, the needs of which are very limited. It however needs extensive utility methods for Geddei's internal use and as such most methods are for internal use only and therefore undocumented.
Don't let this worry you. Unless you're working on Geddei's core, you can completely ignore them and you'll really only need to use the array operator. The size() method has been left in too, just for fun.
const uint Geddei::BufferDatas::count | ( | ) | const [inline] |
BufferData& Geddei::BufferDatas::operator[] | ( | uint | i | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get a single BufferData from the array.
For notice of internal development: Don't be tempted to use this method to set the contents BufferDatas. Use setData() instead. It is only non-const for access to non-const methods of the returned BufferData. BufferDatas itself should be left unchanged.
i | The index to retrieve the BufferData object from. |
const BufferData& Geddei::BufferDatas::operator[] | ( | uint | i | ) | const [inline] |
Get a single BufferData from the array.
i | The index to retrieve the BufferData object from. |
const uint Geddei::BufferDatas::size | ( | ) | const [inline] |