Buffer class. More...
#include <ivstudio/buffers.h>
Public Member Functions | |
IlvStBuffers (IlvStudio *editor) | |
Initializes an instance of IlvStBuffers . More... | |
IlvStBuffer * | get (const char *name) const |
Returns a buffer. More... | |
void | registerType (const char *type, IlvStBufferConstructor fct) |
Registers a new type of buffer. More... | |
Buffer class.
Library: ivstudio
Rogue Wave Views Studio uses this class to manage its buffers.
IlvStBuffer
, IlvStudio
. IlvStBuffers::IlvStBuffers | ( | IlvStudio * | editor | ) |
Initializes an instance of IlvStBuffers
.
editor | The Rogue Wave Views Studio editor. |
IlvStBuffer* IlvStBuffers::get | ( | const char * | name | ) | const |
Returns a buffer.
name | The buffer name. |
null
. void IlvStBuffers::registerType | ( | const char * | type, |
IlvStBufferConstructor | fct | ||
) |
Registers a new type of buffer.
type | The class name of the buffer. |
fct | The function that is used to create an instance of this type of buffer. |