Rogue Wave Views
Studio Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvStBuffers Class Reference

Buffer class. More...

#include <ivstudio/buffers.h>

Public Member Functions

 IlvStBuffers (IlvStudio *editor)
 Initializes an instance of IlvStBuffers. More...
 
IlvStBufferget (const char *name) const
 Returns a buffer. More...
 
void registerType (const char *type, IlvStBufferConstructor fct)
 Registers a new type of buffer. More...
 

Detailed Description

Buffer class.

Library: ivstudio

Rogue Wave Views Studio uses this class to manage its buffers.

See also
IlvStBuffer, IlvStudio.

Constructor & Destructor Documentation

§ IlvStBuffers()

IlvStBuffers::IlvStBuffers ( IlvStudio editor)

Initializes an instance of IlvStBuffers.

Parameters
editorThe Rogue Wave Views Studio editor.

Member Function Documentation

§ get()

IlvStBuffer* IlvStBuffers::get ( const char *  name) const

Returns a buffer.

Parameters
nameThe buffer name.
Returns
The buffer if found, otherwise, returns null.

§ registerType()

void IlvStBuffers::registerType ( const char *  type,
IlvStBufferConstructor  fct 
)

Registers a new type of buffer.

Parameters
typeThe class name of the buffer.
fctThe function which is used to create an instance of this type of buffer.

© Copyright 2017, 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.