Tulip  5.7.1
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
A deep copy of the stored value.

◆ getTypeName()

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

◆ isTulipProperty() [1/2]

bool tlp::DataType::isTulipProperty ( ) const

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)

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.