Views
Studio Package API Reference Guide
Product Documentation:
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 that is used to create an instance of this type of buffer.