rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvGadgetManagerOutputFile Class Reference

Input/output class. More...

#include <ilviews/gadmgr/gadmgr.h>

Inheritance diagram for IlvGadgetManagerOutputFile:
IlvManagerOutputFile IlvOutputFile

Public Member Functions

 IlvGadgetManagerOutputFile (IL_STDPREF ostream &stream, const IlvGadgetManager *mgr=0)
 Constructor. More...
 
const IlvGadgetManagergetGadgetManager () 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 (ILVSTDPREF ostream &stream, const IlvManager *mgr=0)
 Constructor. More...
 
const IlvManagergetManager () 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...
 

Detailed Description

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.

See Also
IlvGadgetManager, IlvGadgetManagerInputFile.

Constructor & Destructor Documentation

IlvGadgetManagerOutputFile::IlvGadgetManagerOutputFile ( IL_STDPREF ostream &  stream,
const IlvGadgetManager mgr = 0 
)

Constructor.

Initializes a new IlvGadgetManagerOutputFile.

Parameters
streamThe output stream to save to.
mgrThe gadget manager to save.

Member Function Documentation

const IlvGadgetManager* IlvGadgetManagerOutputFile::getGadgetManager ( ) const

Returns the gadget manager.

Returns
The gadget manager currently being saved. This pointer is valid only after a call to saveAll (inherited from IlvManagerOutputFile) has been done.
virtual const char* IlvGadgetManagerOutputFile::typeOf ( ) const
virtual

Returns the name of the class.

Returns
A pointer to the string "<code>IlvManagerOutput</code>".

Reimplemented from IlvManagerOutputFile.

virtual void IlvGadgetManagerOutputFile::writeObject ( const IlvGraphic object)
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.

Parameters
objectThe graphic object.

Reimplemented from IlvManagerOutputFile.


© 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.