Input/output class. More...
#include <ilviews/gadmgr/gadmgr.h>
Public Member Functions | |
| IlvGadgetManagerOutputFile (std::ostream &stream, const IlvGadgetManager *manager=0) | |
Initializes a new IlvGadgetManagerOutputFile. 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 *) |
| Save a graphic object. More... | |
Public Member Functions inherited from IlvManagerOutputFile | |
| void | exportCSS (IlBoolean s) |
| Turns on or off the ability to export CSS file. Toggles the ability for manager to export CSS stylesheet into a separate file if such a file hasn't been created yet. More... | |
| const IlvManager * | getManager () const |
| Returns a pointer to the manager saving the objects. More... | |
| IlBoolean | isExportingCSS () const |
| Status of the ability to export CSS file. More... | |
| IlBoolean | isSavingAsApplicationStyle () const |
| Status of whether this manager is saving CSS separately for view objects. More... | |
| IlBoolean | isSavingCSS () const |
| Status of the ability to save CSS stylesheets. 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 | saveCSS (IlBoolean s) |
| Turns on or off the ability to save CSS stylesheets. More... | |
| void | saveCSSAsApplicationStyle (IlBoolean s) |
| Turns on or off the ability for this manager to save CSS for each view object separately. 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 |
||
| ) |
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.