rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGadgetManagerInputFile Class Reference

Input/Output class. More...

#include <ilviews/gadmgr/gadmgr.h>

Inheritance diagram for IlvGadgetManagerInputFile:
IlvManagerInputFile IlvInputFile

List of all members.

Public Member Functions

 IlvGadgetManagerInputFile (IL_STDPREF istream &stream, IlvGadgetManager *mgr=0)
 Constructor.
IlvGadgetManagergetGadgetManager () const
 Returns the gadget manager.
virtual void readAll (IlvManager *mgr)
 Reads an object description file.
virtual IlvGraphicreadObject ()
 Reads a graphic object.
virtual const char * typeOf () const
 Returns the name of this class.

Detailed Description

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.

See also:
IlvGadgetManager, IlvGadgetManagerOutputFile.

Constructor & Destructor Documentation

IlvGadgetManagerInputFile::IlvGadgetManagerInputFile ( IL_STDPREF istream &  stream,
IlvGadgetManager mgr = 0 
)

Constructor.

Initializes a new IlvGadgetManagerInputFile.

Parameters:
stream A valid input stream.
mgr The gadget manager to store the graphic objects read from the stream.

Member Function Documentation

IlvGadgetManager* IlvGadgetManagerInputFile::getGadgetManager (  )  const

Returns the gadget manager.

Returns:
The gadget manager currently being read. This pointer is only valid after a call to 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.

Parameters:
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.

Returns:
A pointer to the graphic object read.

Reimplemented from IlvManagerInputFile.

virtual const char* IlvGadgetManagerInputFile::typeOf (  )  const [virtual]

Returns the name of this class.

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

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.