Inviwo  0.9.10.1
Inviwo documentation
inviwo::DataRepresentation< Owner > Class Template Referenceabstract

Base class for all DataRepresentations. More...

#include <datarepresentation.h>

+ Inheritance diagram for inviwo::DataRepresentation< Owner >:

Public Types

using ReprOwner = Owner
 

Public Member Functions

virtual DataRepresentationclone () const =0
 
const DataFormatBasegetDataFormat () const
 
std::string getDataFormatString () const
 
DataFormatId getDataFormatId () const
 
virtual std::type_index getTypeIndex () const =0
 
void setOwner (Owner *owner)
 
Owner * getOwner ()
 
const Owner * getOwner () const
 
bool isValid () const
 
void setValid (bool valid)
 

Protected Member Functions

 DataRepresentation (const DataFormatBase *format)
 
 DataRepresentation (const DataRepresentation &rhs)=default
 
DataRepresentationoperator= (const DataRepresentation &that)=default
 
void setDataFormat (const DataFormatBase *format)
 

Protected Attributes

bool isValid_ = true
 
const DataFormatBasedataFormatBase_ = DataUInt8::get()
 
Owner * owner_ = nullptr
 

Detailed Description

template<typename Owner>
class inviwo::DataRepresentation< Owner >

Base class for all DataRepresentations.

See also
Data

The documentation for this class was generated from the following file: