Rogue Wave Views Manager Package API Reference Guide |
Rogue Wave Views Documentation Home |
Input/Output class. More...
#include <ilviews/gadmgr/gadmgr.h>
Public Member Functions | |
IlvGadgetManagerInputFile (std::istream &stream, IlvGadgetManager *manager=0) | |
Initializes a new IlvGadgetManagerInputFile . More... | |
IlvGadgetManager * | getGadgetManager () const |
Returns the gadget manager. More... | |
virtual void | readAll (IlvManager *) |
Reads an object description file. More... | |
virtual IlvGraphic * | readObject () |
Reads a graphic object. More... | |
virtual const char * | typeOf () const |
Returns the name of this class. More... | |
Public Member Functions inherited from IlvManagerInputFile | |
IlvManagerInputFile (std::istream &stream, IlvManager *manager=0) | |
Constructor. More... | |
IlvManager * | getManager () const |
Returns a pointer to the manager reading the objects. More... | |
virtual void | readLayer (int layer) |
Reads the properties of a layer. More... | |
virtual void | readView (IlUInt currentNViews, IlvView **currentViews) |
Reads transformer information for a view. More... | |
Input/Output class.
Library: ilvgadmgr
This class is used in the same way as IlvManagerInputFile
. It allows you to restore the contents of an IlvGadgetManager
: the set of gadgets, the panel size, the background, the attachments, and the focus chain.
IlvGadgetManager
, IlvGadgetManagerOutputFile
. IlvGadgetManagerInputFile::IlvGadgetManagerInputFile | ( | std::istream & | stream, |
IlvGadgetManager * | manager = 0 |
||
) |
Initializes a new IlvGadgetManagerInputFile
.
stream | A valid input stream. |
manager | The gadget manager to store the graphic objects read from the stream. |
IlvGadgetManager* IlvGadgetManagerInputFile::getGadgetManager | ( | ) | const |
Returns the gadget manager.
readAll()
(inherited from IlvManagerInputFile
) has been done.
|
virtual |
Reads an object description file.
Reads a Rogue Wave Views object description file and stores the created objects in the manager parameter. It calls the member function readObjects()
and reads specific object properties, such as object names.
manager | Pointer to the manager in which the graphic objects must be stored. |
Reimplemented from IlvManagerInputFile.
|
virtual |
Reads a graphic object.
Overloads the member function of IlvInputFile
to add specific layer information in the description block of each object. Is called internally by readAll()
and should never be called directly by the programmer.
Reimplemented from IlvManagerInputFile.
|
virtual |
Returns the name of this class.
"IlvManagerInput"
. Reimplemented from IlvManagerInputFile.
© 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.