rwlogo

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator
List of all members | Public Member Functions
IliXMLStreamModel Class Reference

A Model class. More...

#include <ilviews/dataccess/gadgets/htmlrep.h>

Inheritance diagram for IliXMLStreamModel:
IliXMLModel IliModel

Public Member Functions

 IliXMLStreamModel ()
 The constructor.
 
virtual void closeInputStream (IL_STDPREF istream *istr)
 Closes a stream to import. More...
 
virtual void closeOutputStream (IL_STDPREF ostream *ostr)
 Closes a stream to export. More...
 
virtual IL_STDPREF istream * openInputStream (IlBoolean notify=IlTrue)
 Opens a stream to import. More...
 
virtual IL_STDPREF ostream * openOutputStream (IlBoolean notify=IlTrue)
 Opens a stream to export. More...
 
- Public Member Functions inherited from IliXMLModel
 IliXMLModel ()
 The constructor.
 
IliXMLgetXMLObject () const
 Returns the IliXML object which is connected to this model. More...
 
- Public Member Functions inherited from IliModel
 IliModel ()
 The constructor initializes a new IliModel instance.
 
IlInt declareProperty (const IliDatatype *typ, const char *name, const char *title, IlBoolean pub)
 Declares a new property. More...
 
virtual void defineProperties ()
 Called to define the list of properties. More...
 
virtual const char * getLabel () const =0
 Returns the model label, it is used by the gadget inspector. More...
 
virtual const char * getMappingInspectorModelName () const
 Returns the mapping inspector model name. More...
 
virtual const char * getName () const
 Returns the model name. More...
 
IlInt getPropertyCount () const
 Returns the property count. More...
 
IlInt getPropertyIndex (const char *name) const
 Returns a property index. More...
 
const char * getPropertyName (IlInt index) const
 Returns a property name. More...
 
const IliValuegetPropertyValue (const char *name) const
 Returns a property value. More...
 
const IliValuegetPropertyValue (IlInt index) const
 Returns a property value. More...
 
virtual IlBoolean isPublic () const
 Returns the model visibility. More...
 
void setPropertyValue (const char *name, const IliValue &val)
 Sets a property value. More...
 
void setPropertyValue (IlInt index, const IliValue &val)
 Sets a property value. More...
 

Detailed Description

A Model class.

Library: dbgadget

The class defines the common interface of the models which are used to access a stream. These models are used by the IliXML objects.

See Also
IliXML, IliModel.

Member Function Documentation

virtual void IliXMLStreamModel::closeInputStream ( IL_STDPREF istream *  istr)
virtual

Closes a stream to import.

Parameters
istrThe stream.
virtual void IliXMLStreamModel::closeOutputStream ( IL_STDPREF ostream *  ostr)
virtual

Closes a stream to export.

Parameters
ostrThe stream.
virtual IL_STDPREF istream* IliXMLStreamModel::openInputStream ( IlBoolean  notify = IlTrue)
virtual

Opens a stream to import.

Parameters
notifyIf IlTrue, the stream is used to import a notification, otherwise to import a definition.
Returns
The stream.
virtual IL_STDPREF ostream* IliXMLStreamModel::openOutputStream ( IlBoolean  notify = IlTrue)
virtual

Opens a stream to export.

Parameters
notifyIf IlTrue, the stream is used to export a notification, otherwise to export a definition.
Returns
The stream.

© Copyright 2015, 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.