Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
A Model class. More...
#include <ilviews/dataccess/gadgets/htmlrep.h>
Public Member Functions | |
virtual void | exportDefinition (std::ostream &to) |
Exports a definition to an output stream. More... | |
virtual void | exportNotification (std::ostream &to, IliXMLNotification no, const IliModelHookInfo &info) |
Exports a notification to an output stream. More... | |
Public Member Functions inherited from IliXMLDocumentModel | |
IliXMLDocumentModel () | |
The constructor. | |
void | closeDocument () |
Closes the document. | |
IlXmlDocument * | getDocument () const |
Returns the XML document. More... | |
void | readDocument (std::istream &from) |
Reads the XML document from a stream. More... | |
Public Member Functions inherited from IliXMLModel | |
IliXMLModel () | |
The constructor. | |
IliXML * | getXMLObject () 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 IliValue & | getPropertyValue (const char *name) const |
Returns a property value. More... | |
const IliValue & | getPropertyValue (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... | |
A Model class.
Library: dbgadget
The class defines the common interface of the models which are used to export XML document. These models are used by the IliXML
objects.
IliXML
, IliModel
, IliXMLDocumentModel
.
|
virtual |
Exports a definition to an output stream.
By default, a definition contains the data source schema and all data of the data source.
to | The output stream. |
|
virtual |
Exports a notification to an output stream.
to | The output stream. |
no | The notification type:
|
info | Informations about notification. |
© Copyright 2016, 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.