Rogue Wave Views
Studio Package API Reference Guide
Product Documentation:

Rogue Wave 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 ( 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

IlvManager* IlvStBuffer::getManager ( ) const

Returns the manager.

Returns
The manager.
void IlvStBuffer::newName ( const char *  name)

Sets the buffer name.

Parameters
nameThe new name of this buffer. This string is copied.
virtual void IlvStBuffer::setUpPanelClass ( IlvStPanelClass pl) const
virtual

Sets the C++ code information generation.

Parameters
plContains the C++ code information.

Reimplemented in IlvStGadgetBuffer.


© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.