rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IliXMLImportModel Class Reference

A Model class. More...

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

Inheritance diagram for IliXMLImportModel:
IliXMLDocumentModel IliXMLModel IliModel

Public Member Functions

 IliXMLImportModel ()
 The constructor.
 
virtual void importDefinition (IL_STDPREF istream &from)
 Imports a definition from an input stream. More...
 
virtual void importNotification (IL_STDPREF istream &from)
 Imports a notification from an input stream. More...
 
- Public Member Functions inherited from IliXMLDocumentModel
 IliXMLDocumentModel ()
 The constructor.
 
void closeDocument ()
 Closes the document.
 
IlXmlDocumentgetDocument () const
 Returns the XML document. More...
 
void readDocument (IL_STDPREF istream &from)
 Reads the XML document from a stream. 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 import XML document. These models are used by the IliXML objects.

See Also
IliXML, IliModel, IliXMLDocumentModel.

Member Function Documentation

virtual void IliXMLImportModel::importDefinition ( IL_STDPREF istream &  from)
virtual

Imports a definition from an input stream.

By default, the model import the data and the columns properties. But the model does not create or delete columns from the data source. If you want a model which does these features, you must create you own model class.

Parameters
fromThe input stream.
virtual void IliXMLImportModel::importNotification ( IL_STDPREF istream &  from)
virtual

Imports a notification from an input stream.

Parameters
fromThe input stream.

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