svcore
1.9
|
#include <Path.h>
Public Types | |
typedef std::set< PathPoint > | Points |
enum | { NO_ID = -1 } |
typedef int | ExportId |
Public Member Functions | |
Path (sv_samplerate_t sampleRate, int resolution) | |
Path (const Path &)=default | |
Path & | operator= (const Path &)=default |
sv_samplerate_t | getSampleRate () const |
int | getResolution () const |
int | getPointCount () const |
const Points & | getPoints () const |
void | add (PathPoint p) |
void | remove (PathPoint p) |
void | clear () |
void | toXml (QTextStream &out, QString indent="", QString extraAttributes="") const override |
XmlExportable methods. More... | |
QString | toDelimitedDataString (QString delimiter, DataExportOptions, sv_frame_t startFrame, sv_frame_t duration) const |
ExportId | getExportId () const |
Return the numerical export identifier for this object. More... | |
virtual QString | toXmlString (QString indent="", QString extraAttributes="") const |
Convert this exportable object to XML in a string. More... | |
Static Public Member Functions | |
static QString | encodeEntities (QString) |
static QString | encodeColour (int r, int g, int b) |
Protected Attributes | |
sv_samplerate_t | m_sampleRate |
int | m_resolution |
Points | m_points |
Detailed Description
Member Typedef Documentation
typedef std::set<PathPoint> Path::Points |
|
inherited |
Definition at line 33 of file XmlExportable.h.
Member Enumeration Documentation
|
inherited |
Enumerator | |
---|---|
NO_ID |
Definition at line 28 of file XmlExportable.h.
Constructor & Destructor Documentation
|
inline |
|
default |
Member Function Documentation
|
inline |
|
inline |
Definition at line 79 of file Path.h.
Referenced by AlignmentModel::performAlignment().
|
inlineoverridevirtual |
|
inline |
|
inherited |
Return the numerical export identifier for this object.
It's allocated the first time this is called, so objects on which this is never called do not get allocated one.
Definition at line 71 of file XmlExportable.cpp.
References XmlExportable::m_exportId, and mutex.
Referenced by EditableDenseThreeDimensionalModel::toXml(), BasicCompressedDenseThreeDimensionalModel::toXml(), EventSeries::toXml(), ImageModel::toXml(), TextModel::toXml(), Model::toXml(), SparseOneDimensionalModel::toXml(), RegionModel::toXml(), BoxModel::toXml(), SparseTimeValueModel::toXml(), NoteModel::toXml(), and XmlExportable::~XmlExportable().
|
virtualinherited |
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 XmlExportable::toXml().
Referenced by ModelTransformerFactory::getConfigurationForTransform(), RDFTransformFactoryImpl::getTransforms(), and XmlExportable::~XmlExportable().
|
staticinherited |
Definition at line 41 of file XmlExportable.cpp.
Referenced by TextMatcher::test(), PluginXml::toXml(), ReadOnlyWaveFileModel::toXml(), Transform::toXml(), WritableWaveFileModel::toXml(), Model::toXml(), Event::toXml(), RegionModel::toXml(), BoxModel::toXml(), SparseTimeValueModel::toXml(), NoteModel::toXml(), and XmlExportable::~XmlExportable().
|
staticinherited |
Definition at line 54 of file XmlExportable.cpp.
Referenced by XmlExportable::~XmlExportable().
Member Data Documentation
|
protected |
The documentation for this class was generated from the following file:
Generated by 1.8.11