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 | |
IlvGadgetManagerOutputFile (std::ostream &stream, const IlvGadgetManager *manager=0) | |
Constructor. More... | |
const IlvGadgetManager * | getGadgetManager () const |
Returns the gadget manager. More... | |
virtual const char * | typeOf () const |
Returns the name of the class. More... | |
virtual void | writeObject (const IlvGraphic *obj) |
Save a graphic object. More... | |
Public Member Functions inherited from IlvManagerOutputFile | |
IlvManagerOutputFile (std::ostream &stream, const IlvManager *manager=0) | |
Constructor. More... | |
const IlvManager * | getManager () const |
Returns a pointer to the manager saving the objects. More... | |
IlBoolean | isSavingLayers () const |
Status of the ability to save layers. More... | |
IlBoolean | isSavingViews () const |
Status of the ability to save views. More... | |
virtual void | saveAll (const IlvManager *manager, IlUInt count=0, IlvGraphic *const *objects=0) |
Writes an object description file. More... | |
void | saveLayers (IlBoolean s) |
Turns on or off the ability to save layers. More... | |
void | saveViews (IlBoolean s) |
Turns on or off the ability to save views. More... | |
Input/output class.
Library: ilvgadmgr
This class is used in the same way as IlvManagerOutputFile
. It allows you to save the contents of an IlvGadgetManager:
the set of gadgets, the panel size, the background, the background bitmap, the attachments, and the focus chain.
IlvGadgetManager
, IlvGadgetManagerInputFile
. IlvGadgetManagerOutputFile::IlvGadgetManagerOutputFile | ( | std::ostream & | stream, |
const IlvGadgetManager * | manager = 0 |
||
) |
Constructor.
Initializes a new IlvGadgetManagerOutputFile
.
stream | The output stream to save to. |
manager | The gadget manager to save. |
const IlvGadgetManager* IlvGadgetManagerOutputFile::getGadgetManager | ( | ) | const |
Returns the gadget manager.
saveAll
(inherited from IlvManagerOutputFile
) has been done.
|
virtual |
Returns the name of the class.
Reimplemented from IlvManagerOutputFile.
|
virtual |
Save a graphic object.
Writes the exact description of a graphic object in the output stream. It overloads the member function of the IlvOutputFile
class to add manager-specific information for this object, such as layer information.
Do not directly call this member function. The saving mechanism is internally performed by saveAll()
.
object | The graphic object. |
Reimplemented from IlvManagerOutputFile.
© 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.