|
#include <VTKData.h>
Public Member Functions | |
VTKPointDescriptorEntryImpl (std::string name, V T::*member, std::size_t nComponents) | |
std::string | getTypeName () const override |
Gives the VTKDataType for VTK. More... | |
void | emit (std::ostream &out, const T &t) const override |
writes this VTKData to the given output stream for a single T More... | |
std::size_t | getNumberOfComponents () const override |
Returns the number of components in this type. More... | |
Public Member Functions inherited from Detail::VTKPointDescriptorEntry< T > | |
VTKPointDescriptorEntry (std::string fieldName) | |
initialises this data member with given name. More... | |
virtual | ~VTKPointDescriptorEntry () |
std::string | getName () const |
Returns the name associated with this field. More... | |
Private Attributes | |
const V T::* | member_ |
const std::size_t | nComponents_ |
This class contains the typed information about the descriptor. We need to inherit from the type-erased class to be able to put all these into a single array...
|
inline |
|
inlineoverridevirtual |
writes this VTKData to the given output stream for a single T
out | the output stream |
t | the backing dataobject |
Implements Detail::VTKPointDescriptorEntry< T >.
References Detail::emitProxy(), Detail::VTKPointDescriptorEntryImpl< T, V >::member_, and Detail::VTKPointDescriptorEntryImpl< T, V >::nComponents_.
|
inlineoverridevirtual |
Returns the number of components in this type.
Implements Detail::VTKPointDescriptorEntry< T >.
References Detail::VTKPointDescriptorEntryImpl< T, V >::nComponents_.
|
inlineoverridevirtual |
Gives the VTKDataType for VTK.
Implements Detail::VTKPointDescriptorEntry< T >.
|
private |
Referenced by Detail::VTKPointDescriptorEntryImpl< T, V >::emit().
|
private |