Workspace 6.21.5
Public Member Functions | List of all members
DataObject Class Referenceabstract

Base class for all data objects. More...

#include <Workspace/DataExecution/DataObjects/dataobject.h>

Inheritance diagram for DataObject:
[legend]

Public Member Functions

template<typename T >
DataObjectadaptTo (bool copy=false)
 
template<typename T >
const DataObjectadaptTo (bool copy=false) const
 
void assign (const DataObject &src)
 
virtual void clearData ()=0
 
DataObjectclone () const
 
bool compareData (const DataObject &other) const
 
bool compareData (const DataObject &other, int &relationship) const
 
virtual bool contains (const void *data) const =0
 
virtual bool containsData (const DataObject &object) const =0
 
void destroy ()
 
virtual void ensureHasData (bool recurse=true)=0
 
virtual bool fromQVariant (const QVariant &v)=0
 
virtual const ObjectGroupgetAsObjectGroup () const =0
 
virtual ObjectGroupgetAsObjectGroup ()=0
 
template<typename T >
T * getData ()
 
template<typename T >
const T * getData () const
 
virtual const DataFactorygetFactory () const =0
 
template<typename T >
T & getRawData ()
 
template<typename T >
const T & getRawData () const
 
virtual TypeAdaptorgetTypeAdaptor (const DataFactory &factory) const
 
virtual bool hasData (bool recurse=true) const =0
 
bool isObjectGroup () const
 
template<typename T >
bool isType () const
 
bool isType (const DataFactory &type) const
 
bool matchesType (const DataObject &otherObject) const
 
virtual bool ownsData () const =0
 
virtual void setOwnsData (bool b)=0
 
bool sharesData (const DataObject &otherObject) const
 
virtual QVariant toQVariant () const =0
 
virtual void useData (DataObject &obj, bool transferOwnership=false)=0
 
bool useDataClone (const DataObject &obj)
 
- Public Member Functions inherited from Serialize
virtual ~Serialize ()=default
 
virtual bool canSerialize () const =0
 
virtual bool load (const SerializedItem &item)=0
 
virtual bool save (SerializedItem &item) const =0
 

Detailed Description

All subclasses of DataObject should act more or less like pointers to a particular type (more accurately, like smart pointers).

Member Function Documentation

◆ adaptTo() [1/2]

DataObject * adaptTo ( bool  copy = false)
inline
Precondition
hasData() must be true.
Template Parameters
TThe target datatype to which to adapt.
Parameters
copyTrue if the adaptor should be a unique copy of the source (some adaptor can reference existing data)
Returns
A new DataObject of the target datatype. It is the responsibility of the caller to delete the object when they have finished with it.

Adapts this DataObject into a DataObject of the specified type, if possible without copying the underlying data. The adaption occurs only if this particular DataObject is of a type that has a registered TypeAdaptorFactory that knows how to convert it into the specified type (e.g. a registered DerivedToBaseAdaptor or AssignmentAdaptor).

See also
bool CSIRO::DataExecution::adaptDataObject(DataObject& src, TypedObject<DestType>& dest, bool copy)
bool CSIRO::DataExecution::adaptDataObject(DataObject& src, DataObject& dest, bool copy);

◆ adaptTo() [2/2]

const DataObject * adaptTo ( bool  copy = false) const
inline

◆ assign()

void assign ( const DataObject src)
Parameters
srcA data object which must be of the same type as this one. More accurately, the data factory must be able to assign to this object from src.
Precondition
There must already be valid underlying data to assign to. This can be enforced by calling ensureHasData before the call to assign.

◆ clearData()

virtual void clearData ( )
pure virtual

Clear the underlying data being held by this object. Clients should not normally need to call this function.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ clone()

DataObject * clone ( ) const
Returns
A copy of this DataObject. If the underlying data object doesn't exist, the clone will also hold no data object (it is not an error to clone a DataObject which does not yet hold any data).

This is merely a convenience function which delegates the clone operation to DataFactory::cloneDataObject.

◆ compareData() [1/2]

bool compareData ( const DataObject other) const
Parameters
otherThe other data object to compare to. The type of the two objects must match.
Returns

◆ compareData() [2/2]

bool compareData ( const DataObject other,
int &  relationship 
) const
Parameters
otherThe other data object to compare to. The type of the two objects must match.
relationship(out) The relationship between the two objects:
  • If this < other, relationship will be < 0.
  • If this == other, relationship will == 0.
  • If this > other, relationship will be > 0.

◆ contains()

virtual bool contains ( const void *  data) const
pure virtual
Parameters
dataThe data we are comparing the the data objects underyling data.
Returns
True if this object's underlying data matches the address of the specified data. False if the pointers do not match, or the incoming pointer is null.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ containsData()

virtual bool containsData ( const DataObject object) const
pure virtual
Parameters
objectThe data object we are comparing the data objects underlying data.
Returns
True if this object's underlying data matches the address of the data in the underlying object. False if the pointers do not match, or the incoming pointer is null.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ destroy()

void destroy ( )

Destroy this object, which should have been created by a call to clone or by DataFactory::cloneDataObject from this object's factory. Calling destroy() essentially makes the object self-destruct.

This is merely a convenience function which delegates the destroy operation to DataFactory::destroyDataObject.

◆ ensureHasData()

virtual void ensureHasData ( bool  recurse = true)
pure virtual
Parameters
recurseIf true, ensure not only this object has valid data, but all child objects if this is an object group. The recursion also continues for all subsequent groups below this one too.

Call this function to ensure that we are holding a valid data object. Any new objects created by this call will be owned by the DataObject associated with that particular data (ie that level in the hierarchy).

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ fromQVariant()

virtual bool fromQVariant ( const QVariant &  v)
pure virtual
Parameters
vThe value to store in this data object.

The subclass implementation should take care to handle the case where the data stored in v cannot be converted to the underlying data type. Ideally, the implementation should also consider performance impacts of the conversion and avoid any unnecessary cloning, copy or memory allocation for temporary objects. In most cases, the TypedObject class template will handle these things sensibly, so there should be little need to manually write code for this.

Returns
True if the value could be set, or false otherwise. Note that it is up to the implementation what "success" means, but as a rule of thumb there should be no data loss as a result of calling setValue(toQVariant()).

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ getAsObjectGroup() [1/2]

virtual const ObjectGroup * getAsObjectGroup ( ) const
pure virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ getAsObjectGroup() [2/2]

virtual ObjectGroup * getAsObjectGroup ( )
pure virtual
Returns
A pointer to the underlying data as an ObjectGroup, or if the underlying data is not derived from ObjectGroup, return a null pointer. Note that if hasData() returns false, then this function will also return a null pointer even if T is derived from ObjectGroup.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ getData() [1/2]

T * getData ( )
inline

This function is templated on the type the user expects the data object to hold. It allows to access the underlying data. The difference with getRawData() is this function does not throw any exceptions in case of an error but rather return a nullptr.

Returns
The pointer to the underlying data, or nullptr if either the underlying data is of a different type than the one expected by the user or the object does not have any data.

◆ getData() [2/2]

const T * getData ( ) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ getFactory()

virtual const DataFactory & getFactory ( ) const
pure virtual
Returns
The data factory for this object type.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ getRawData() [1/2]

T & getRawData ( )
inline
Precondition
The object must contain data of type T and the result of hasData(false) must be true.

This function is templated on the type you are expecting the data object to hold. It is merely a convenience wrapper around DataFactoryTraits<T>::getData() to make client code more compact and easier to read. This function should be used in preference to explicitly casting to a TypedObject<T>.

Returns
A reference to the underlying data of the object.

◆ getRawData() [2/2]

const T & getRawData ( ) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ getTypeAdaptor()

TypeAdaptor * getTypeAdaptor ( const DataFactory factory) const
virtual
Returns
The type adaptor factory for the specified data factory, if it exists.

◆ hasData()

virtual bool hasData ( bool  recurse = true) const
pure virtual
Parameters
recurseIf true, test not only this object, but all child objects if this is an object group. The recursion also continues for all subsequent groups below this one too.
Returns
True if this object has valid data. If recurse is true, it will only return true if this object and all its descendents have valid data.

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ isObjectGroup()

bool isObjectGroup ( ) const
Returns
True if this DataObject holds an ObjectGroup subclass.

This function is purely a convenience. It simply calls the same-named function on its data factory.

◆ isType() [1/2]

bool isType ( ) const
inline
Returns
True if the object's type matches the specified type. False otherwise. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Template function for testing the type of the DataObject. Shorthand for:

&object.getFactory() == &DataFactoryTraits<T>::getInstance()

◆ isType() [2/2]

bool isType ( const DataFactory type) const
inline
Returns
True if the object's type matches the specified type. False otherwise. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Utility function for testing the type of the object. Shorthand for:

&object.getFactory() == &type

◆ matchesType()

bool matchesType ( const DataObject otherObject) const
inline
Returns
True if the object's type matches the type of the other object. False otherwise.

Utility function for testing whether the data types of two DataObjects match. Shorthand for:

&object.getFactory() == &otherObject.getFactory()

◆ ownsData()

virtual bool ownsData ( ) const
pure virtual

The underlying data can be owned by another DataObject, in which case the caller must be very careful to ensure that access to the underlying data is only attempted at times when it can be guaranteed that the owner still exists. When a DataObject is deleted, it will delete its underlying data only if it owns that data. At certain other times, such as during assignment, a DataObject may also delete its underlying data, but again only if it owns that data.

Returns
True if this object owns its data.
See also
setOwnsData(), useData()

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ setOwnsData()

virtual void setOwnsData ( bool  b)
pure virtual
Parameters
bIf this is true, then the data object will own the underlying data it is currently holding until it either deletes that data, has ownership removed with another call to setOwnsData() or some other action is performed which causes the underlying data to be replaced or cleared.
Note
Client code would not normally call this function. It is used by the workspace internally to manage the transfer of ownership from one data object to another.
See also
ownsData(), useData()

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ sharesData()

bool sharesData ( const DataObject otherObject) const
Returns
True if the otherObject is using the same object as this object.
See also
DataFactory::sharesData()

◆ toQVariant()

virtual QVariant toQVariant ( ) const
pure virtual
Returns
This data object converted to a QVariant (it should always be a copy, never the original data, except for when the underlying type is already QVariant).

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ useData()

virtual void useData ( DataObject obj,
bool  transferOwnership = false 
)
pure virtual
Parameters
objThe DataObject whose underlying data is to be shared.
transferOwnershipIf this parameter is true, then ownership will be transferred from obj to this object. Transfer of ownership must be carried out by calling setOwnsData() on obj at the appropriate point. Note that it is an error to set this parameter to true if obj does not own the data when passed into this function.

This function is not often used outside of core workspace code or code related to polymorphic operations. The caller is responsible for ensuring that obj is exactly the same data type as this one (ie no adaptors can be involved). Failure to obey this rule will almost certainly result in crashes.

If you want to make a DataObject hold an existing data item, such as one that you dynamically create and want to pass ownership to the DataObject, you need to use DataFactoryTraits::setData() instead. The rationale for this is that DataFactoryTraits requires a template type to be specified, so its setData() member function will be able to perform checks that the DataObject is of the correct type to hold the data being passed to it.

See also
ownsData(), setOwnsData(), DataFactoryTraits::setData()

Implemented in TypedObject< T >, TypedObject< bool >, TypedObject< CSIRO::DataExecution::Dependency >, TypedObject< IntVector >, TypedObject< int >, TypedObject< CSIRO::DataAnalysis::Array3dTyped >, TypedObject< CSIRO::DataAnalysis::ColorScale >, TypedObject< CSIRO::DataAnalysis::ArrayNd >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRange >, TypedObject< CSIRO::DataExecution::ObjectArray >, TypedObject< double >, TypedObject< ScaleType >, TypedObject< QString >, TypedObject< TickLabelNumberFormat >, TypedObject< QStringList >, TypedObject< CSIRO::DataAnalysis::Chart >, TypedObject< QImage >, TypedObject< CSIRO::DataAnalysis::ColorSpectrum >, TypedObject< ColorScaleImage::Orientation >, TypedObject< ColorScaleImage::NumberFormat >, TypedObject< QColor >, TypedObject< QFont >, TypedObject< CSIRO::DataAnalysis::SqlCompositePrimaryKey >, TypedObject< CSIRO::DataExecution::ObjectDictionary >, TypedObject< QVariant >, TypedObject< CSIRO::DataAnalysis::ScriptedDataSeriesMapper >, TypedObject< CSIRO::DataAnalysis::ImageOverlay >, TypedObject< CSIRO::DataAnalysis::GridPlot >, TypedObject< ImageTileSet::SizePolicy >, TypedObject< QJsonDocument >, TypedObject< CSIRO::DataAnalysis::ImageTileSet >, TypedObject< QSqlDatabase >, TypedObject< CreateSqlTableFromCsvFile::ColumnHeaderFormatting >, TypedObject< CreateSqlTableFromCsvFile::DetermineDatatypes >, TypedObject< CSIRO::DataAnalysis::TransferFunction2d >, TypedObject< CsvReader::ColumnHeaderFormatting >, TypedObject< QVector< double > >, TypedObject< CSIRO::DataAnalysis::DataSeries >, TypedObject< QVector< int > >, TypedObject< DiscreteNamedDimensionRangeFilter::Operator >, TypedObject< CSIRO::DataAnalysis::NamedDimensionRangeFilter >, TypedObject< GetImage3dSlice::SlicePlane >, TypedObject< CSIRO::DataAnalysis::SqlResultSet >, TypedObject< ImageOverlay::Anchor >, TypedObject< CSIRO::DataExecution::TypedObjectArray< T > >, TypedObject< CSIRO::DataAnalysis::DataSeriesMapper >, TypedObject< size_type >, TypedObject< CSIRO::DataAnalysis::ArrayNdDimensionLabels >, TypedObject< CSIRO::DataAnalysis::AxisSettings >, TypedObject< Plot::LegendAnchor >, TypedObject< CSIRO::DataAnalysis::PlotItem >, TypedObject< CSIRO::DataAnalysis::Plot >, TypedObject< PlotItem::ColorMode >, TypedObject< PlotItem::LineMode >, TypedObject< PlotItem::LineStyle >, TypedObject< PlotItem::LineType >, TypedObject< PlotItem::Glyph >, TypedObject< PlotRecolor::Theme >, TypedObject< RawVoxelReader::VoxelDataSize >, TypedObject< ResizeImage::ResizeUnits >, TypedObject< ResizeImage::SmoothingType >, TypedObject< CSIRO::DataAnalysis::TransferFunction2dClassification >, TypedObject< QDateTime >, TypedObject< Compare::Operator >, TypedObject< QByteArray >, TypedObject< DoubleToString::Format >, TypedObject< FileIterator::OutputFormat >, TypedObject< CSIRO::DataExecution::FileFilter >, TypedObject< CSIRO::DataExecution::FileSortFlags >, TypedObject< FileLoop::OutputFormat >, TypedObject< CSIRO::DataExecution::DirIteratorFlags >, TypedObject< PlatformInfo::Platform >, TypedObject< CSIRO::DataExecution::StringSelection >, TypedObject< QTime >, TypedObject< CSIRO::Mongo::Bson >, TypedObject< CSIRO::Mesh::MeshModelInterface >, TypedObject< CSIRO::Rendering::Shader >, TypedObject< CSIRO::Mesh::MeshModelLibrary >, TypedObject< CSIRO::Rendering::Transform >, TypedObject< CSIRO::Rendering::SceneItem >, TypedObject< CSIRO::Mesh::NodeMapper >, TypedObject< CSIRO::Mesh::MeshModel >, TypedObject< NodeHandleList >, TypedObject< CSIRO::Mesh::Vector3dGroup >, TypedObject< CSIRO::Mesh::BoundingBox >, TypedObject< CSIRO::Mesh::BoundingCylinder >, TypedObject< CSIRO::Mesh::BoundingPlane >, TypedObject< CSIRO::Mesh::BoundingSphere >, TypedObject< CSIRO::Mesh::Vector3d >, TypedObject< CSIRO::Mesh::TruncatedCone >, TypedObject< CSIRO::Mesh::ElementScriptMapper >, TypedObject< VectorMapping >, TypedObject< CSIRO::Mesh::ElementStateMapper >, TypedObject< EnsureElementStateExists::StateType >, TypedObject< EnsureNodeStateExists::StateType >, TypedObject< CSIRO::Mesh::TypedMeshModelFilter >, TypedObject< MeshModel::ListType >, TypedObject< QVector4D >, TypedObject< RangeInOut >, TypedObject< CSIRO::Mesh::MeshModelSource >, TypedObject< CSIRO::Mesh::TransformMatrix >, TypedObject< DataType >, TypedObject< quint8 >, TypedObject< quint16 >, TypedObject< MeshModelInterface::int_type >, TypedObject< CSIRO::Mesh::NodeCriterion >, TypedObject< CSIRO::Mesh::NodeScriptMapper >, TypedObject< CSIRO::Mesh::NodeStateMapper >, TypedObject< CSIRO::Mesh::NodeTextureMapper >, TypedObject< CSIRO::Mesh::Region >, TypedObject< CSIRO::Mesh::ElementCriterion >, TypedObject< CSIRO::Mesh::TransformGroup >, TypedObject< SmoothMeshMethod >, TypedObject< Vector3dGroup >, TypedObject< CSIRO::Mesh::VectorNodeStateMapper >, TypedObject< CSIRO::Mesh::VectorNodeTextureMapper >, TypedObject< CSIRO::Package::PackageItem >, TypedObject< CreateInstaller::VendorPackageNameLocation >, TypedObject< CSIRO::Package::LinuxDesktopIcon >, TypedObject< CSIRO::Package::StartMenuItem >, TypedObject< CSIRO::Provenance::ProvenanceReporter::Reporter >, TypedObject< Provenance::ReportItemAs >, TypedObject< WorkflowResult >, TypedObject< CSIRO::Rendering::AmbientLight >, TypedObject< CSIRO::Rendering::Camera >, TypedObject< CSIRO::Rendering::SceneOverlay >, TypedObject< CSIRO::Rendering::Texturizer >, TypedObject< CSIRO::Rendering::BillboardImageShader >, TypedObject< SurfaceRepresentation >, TypedObject< CSIRO::Rendering::BlinnPhongShader >, TypedObject< CSIRO::Rendering::Scene >, TypedObject< Camera::ProjectionMode >, TypedObject< CSIRO::Rendering::CameraInteractionOptions >, TypedObject< ClipRegion::ClipCriteria >, TypedObject< CSIRO::Rendering::ClipRegion >, TypedObject< CSIRO::Rendering::Annotation >, TypedObject< CSIRO::Rendering::ColorStateShader >, TypedObject< SuperquadricMesher::TextureCoords >, TypedObject< CSIRO::Rendering::DepthShader >, TypedObject< CSIRO::Rendering::DirectionalLight >, TypedObject< CSIRO::Mesh::ElementMapper >, TypedObject< CSIRO::Rendering::ElementColoringShader >, TypedObject< LodAccessMethod >, TypedObject< GridScaleBuilder::Plane >, TypedObject< CSIRO::Rendering::LambertShader >, TypedObject< CSIRO::Rendering::Glypher >, TypedObject< CSIRO::Rendering::NodeColoringShader >, TypedObject< NormalShader::Mode >, TypedObject< CSIRO::Rendering::NormalShader >, TypedObject< CSIRO::Rendering::OctreeShader >, TypedObject< CSIRO::Rendering::RenderTargetType >, TypedObject< CSIRO::Rendering::PlotGrid3dRenderOptions >, TypedObject< CSIRO::Rendering::PointLight >, TypedObject< CSIRO::Rendering::LightAttenuationFactors >, TypedObject< RadialGridBuilder::Plane >, TypedObject< RenderTargetType >, TypedObject< RenderSettings::FaceCulling >, TypedObject< RenderSettings::SymbolSizeCoordinateSystem >, TypedObject< unsigned int >, TypedObject< CSIRO::Rendering::RenderFilter >, TypedObject< RenderViewFrustumToMesh::TextureLocation >, TypedObject< CSIRO::Rendering::Texture2D >, TypedObject< CSIRO::Rendering::RodGlypher >, TypedObject< RodGlypherTargetType >, TypedObject< CSIRO::Rendering::ShaderLibrary >, TypedObject< CSIRO::Rendering::SceneItemLibrary >, TypedObject< CSIRO::Rendering::RenderSettings >, TypedObject< CSIRO::Rendering::SceneItemInstance >, TypedObject< SphereGlypher::SphereType >, TypedObject< CSIRO::Rendering::SphereGlypher >, TypedObject< LinearSpatialPartitioningTree::TreeLayout >, TypedObject< LinearSpatialPartitioningTree::QuadtreePlane >, TypedObject< PatchCountSpecification >, TypedObject< CSIRO::Rendering::SpotLight >, TypedObject< CSIRO::Rendering::SquareGlypher >, TypedObject< CSIRO::Rendering::StreakGlypher >, TypedObject< CSIRO::Rendering::SuperquadricGlypher >, TypedObject< Texturizer::Wrapping >, TypedObject< CSIRO::Rendering::Texture3D >, TypedObject< CSIRO::Rendering::TextureCoordShader >, TypedObject< CSIRO::Rendering::TextureProjectionShader >, TypedObject< CSIRO::Mesh::VectorNodeMapper >, TypedObject< CSIRO::Rendering::VectorGlypher >, TypedObject< CSIRO::Rendering::VolumeShader >, TypedObject< CSIRO::Ssh::SshSession >, TypedObject< QPointF >, TypedObject< ReportingLevel >, and TypedObject< uint >.

◆ useDataClone()

bool useDataClone ( const DataObject obj)
Parameters
objThe DataObject whose underlying data is to be cloned and embedded within this data object. This object will take ownership of the cloned data.

Convenience method similar to useData. Clones obj and assumes ownership of its data. Similar to assign(), but rather than using the assignment operator, clones a completely new object and assumes ownership of it.

Note
The data type must be Clonable.
See also
useData(), ownsData(), setOwnsData(), DataFactoryTraits::setData()