Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Input/Output class. More...
#include <ilviews/gadmgr/gadmgr.h>
Public Member Functions | |
IlvGadgetManagerInputFile (IL_STDPREF istream &stream, IlvGadgetManager *mgr=0) | |
Constructor. | |
IlvGadgetManager * | getGadgetManager () const |
Returns the gadget manager. | |
virtual void | readAll (IlvManager *mgr) |
Reads an object description file. | |
virtual IlvGraphic * | readObject () |
Reads a graphic object. | |
virtual const char * | typeOf () const |
Returns the name of this class. |
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 | ( | IL_STDPREF istream & | stream, | |
IlvGadgetManager * | mgr = 0 | |||
) |
Constructor.
Initializes a new IlvGadgetManagerInputFile
.
stream | A valid input stream. | |
mgr | 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 void IlvGadgetManagerInputFile::readAll | ( | IlvManager * | manager | ) | [virtual] |
Reads an object description file.
Reads an 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 IlvGraphic* IlvGadgetManagerInputFile::readObject | ( | ) | [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 const char* IlvGadgetManagerInputFile::typeOf | ( | ) | const [virtual] |
Returns the name of this class.
Reimplemented from IlvManagerInputFile.
© Copyright 2012, 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.