Views
Studio Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvStBuffer Class Reference

Buffer class. More...

#include <ivstudio/stbuffer.h>

Inheritance diagram for IlvStBuffer:
IlvStGadgetBuffer

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...
 

Detailed Description

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.

See also
IlvStudio, IlvStBuffers.

Constructor & Destructor Documentation

◆ IlvStBuffer()

IlvStBuffer::IlvStBuffer ( IlvStudio editor,
const char *  name,
IlvManager *  mgr = 0 
)

Constructor.

Initializes a new instance of IlvStBuffer.

Parameters
editorThe Rogue Wave Views Studio editor.
nameThe buffer name.
mgrThe manager.

Member Function Documentation

◆ getManager()

IlvManager* IlvStBuffer::getManager ( ) const

Returns the manager.

Returns
The manager.

◆ newName()

void IlvStBuffer::newName ( const char *  name)

Sets the buffer name.

Parameters
nameThe new name of this buffer. This string is copied.

◆ setUpPanelClass()

virtual void IlvStBuffer::setUpPanelClass ( IlvStPanelClass pl) const
virtual

Sets the C++ code information generation.

Parameters
plContains the C++ code information.

Reimplemented in IlvStGadgetBuffer.