Tulip  5.6.0
Large graphs analysis and drawing
tlp::DataType Struct Referenceabstract

#include <DataSet.h>

Inherits DataMem.

Inherited by tlp::DisplayVectorDataType< T >.

Public Member Functions

 DataType (void *value)
 
virtual DataTypeclone () const =0
 
virtual std::string getTypeName () const =0
 
bool isTulipProperty () const
 

Static Public Member Functions

static bool isTulipProperty (const std::string &typeName)
 

Public Attributes

void * value
 

Detailed Description

Describes a value of any type.

Definition at line 57 of file DataSet.h.

Member Function Documentation

◆ clone()

virtual DataType* tlp::DataType::clone ( ) const
pure virtual
Returns
A deep copy of the stored value.

◆ getTypeName()

virtual std::string tlp::DataType::getTypeName ( ) const
pure virtual
Returns
The C++ typename of the stored element

◆ isTulipProperty() [1/2]

bool tlp::DataType::isTulipProperty ( ) const
inline

indicates if it is a Tulip property

Definition at line 79 of file DataSet.h.

◆ isTulipProperty() [2/2]

static bool tlp::DataType::isTulipProperty ( const std::string &  typeName)
static

indicates if it is a Tulip property

Member Data Documentation

◆ value

void* tlp::DataType::value

The actual pointer to the element's data.

Definition at line 86 of file DataSet.h.