rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGadgetManagerOutputFile Class Reference

Input/output class. More...

#include <ilviews/gadmgr/gadmgr.h>

Inheritance diagram for IlvGadgetManagerOutputFile:
IlvManagerOutputFile IlvOutputFile

List of all members.

Public Member Functions

 IlvGadgetManagerOutputFile (IL_STDPREF ostream &stream, const IlvGadgetManager *mgr=0)
 Constructor.
const IlvGadgetManagergetGadgetManager () const
 Returns the gadget manager.
virtual const char * typeOf () const
 Returns the name of the class.
virtual void writeObject (const IlvGraphic *obj)
 Save a graphic object.

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:
stream The output stream to save to.
mgr The 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:
object The 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.