Buffer class. More...
#include <ivstudio/stbuffer.h>
Public Member Functions | |
IlvStBuffer (IlvStudio *editor, const char *name, IlvManager *mgr=0) | |
Constructor. More... | |
IlvManager * | getManager () const |
Returns the manager. More... | |
void | newName (const char *name) |
Sets the buffer name. More... | |
virtual void | setUpPanelClass (IlvStPanelClass *pl) const |
Sets the C++ code information generation. More... | |
Buffer class.
Library: ivstudio
A buffer is a document that is edited in Rogue Wave Views Studio. It uses an IlvManager
to display, edit, save and read its contents. If you need to subclass the manager to save more information concerning your objects, for example, you have to subclass a corresponding buffer. The IlvStBuffer
class is defined to encapsulate the IlvManager
.
IlvStudio
, IlvStBuffers
. IlvStBuffer::IlvStBuffer | ( | IlvStudio * | editor, |
const char * | name, | ||
IlvManager * | mgr = 0 |
||
) |
Constructor.
Initializes a new instance of IlvStBuffer
.
editor | The Rogue Wave Views Studio editor. |
name | The buffer name. |
mgr | The manager. |
IlvManager* IlvStBuffer::getManager | ( | ) | const |
Returns the manager.
void IlvStBuffer::newName | ( | const char * | name | ) |
Sets the buffer name.
name | The new name of this buffer. This string is copied. |
|
virtual |
Sets the C++ code information generation.
pl | Contains the C++ code information. |
Reimplemented in IlvStGadgetBuffer.