#include <XmlExportable.h>
Inherited by Document, ImagePoint, Layer, Model, MultiSelection, PlayParameters, PluginXml, TextPoint, Transform, and View.
Inheritance diagram for XmlExportable:

Definition at line 24 of file XmlExportable.h.
Public Member Functions | |
| virtual | ~XmlExportable () |
| virtual void | toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const=0 |
| Stream this exportable object out to XML on a text stream. | |
| virtual QString | toXmlString (QString indent="", QString extraAttributes="") const |
| Convert this exportable object to XML in a string. | |
Static Public Member Functions | |
| static QString | encodeEntities (QString) |
| static QString | encodeColour (QColor) |
| static int | getObjectExportId (const void *) |
| virtual XmlExportable::~XmlExportable | ( | ) | [inline, virtual] |
Definition at line 27 of file XmlExportable.h.
| virtual void XmlExportable::toXml | ( | QTextStream & | stream, | |
| QString | indent = "", |
|||
| QString | extraAttributes = "" | |||
| ) | const [pure virtual] |
Stream this exportable object out to XML on a text stream.
Implemented in PlayParameters, MultiSelection, AggregateWaveModel, EditableDenseThreeDimensionalModel, ImagePoint, ImageModel, Model, NoteModel, SparseModel< PointType >, SparseValueModel< PointType >, TextPoint, TextModel, WaveFileModel, WritableWaveFileModel, Document, Colour3DPlotLayer, ImageLayer, Layer, NoteLayer, SingleColourLayer, SliceLayer, SpectrogramLayer, SpectrumLayer, TextLayer, TimeInstantLayer, TimeRulerLayer, TimeValueLayer, WaveformLayer, PluginXml, Transform, Pane, View, SparseModel< Note >, SparseModel< TextPoint >, SparseModel< ImagePoint >, SparseModel< TimeValuePoint >, SparseModel< OneDimensionalPoint >, SparseModel< AlignmentModel::PathPoint >, SparseValueModel< Note >, and SparseValueModel< TimeValuePoint >.
Referenced by toXmlString().
| QString XmlExportable::toXmlString | ( | QString | indent = "", |
|
| QString | extraAttributes = "" | |||
| ) | const [virtual] |
Convert this exportable object to XML in a string.
The default implementation calls toXml and returns the result as a string. Do not override this unless you really know what you're doing.
Definition at line 25 of file XmlExportable.cpp.
References toXml().
Referenced by LayerFactory::setLayerDefaultProperties().
| QString XmlExportable::encodeEntities | ( | QString | ) | [static] |
Definition at line 41 of file XmlExportable.cpp.
Referenced by AudioGenerator::getDefaultPlayPluginConfiguration(), SVFileReader::readPlugin(), Layer::toBriefXml(), WaveFileModel::toXml(), Transform::toXml(), TextPoint::toXml(), PluginXml::toXml(), Model::toXml(), Layer::toXml(), ImagePoint::toXml(), and Document::writeBackwardCompatibleDerivation().
| QString XmlExportable::encodeColour | ( | QColor | ) | [static] |
| int XmlExportable::getObjectExportId | ( | const void * | ) | [static] |
Definition at line 71 of file XmlExportable.cpp.
Referenced by FFTDataServer::generateFileBasename(), View::getTextLabelHeight(), Layer::toBriefXml(), SparseModel< PointType >::toXml(), Model::toXml(), Layer::toXml(), EditableDenseThreeDimensionalModel::toXml(), Document::toXml(), and Document::writeBackwardCompatibleDerivation().
1.5.1