Tulip  5.0.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

virtual DataType* tlp::DataType::clone ( ) const
pure virtual
Returns
A deep copy of the stored value.
virtual std::string tlp::DataType::getTypeName ( ) const
pure virtual
Returns
The C++ typename of the stored element
static bool tlp::DataType::isTulipProperty ( const std::string &  typeName)
static

indicates if it is a Tulip property

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

indicates if it is a Tulip property

Definition at line 79 of file DataSet.h.

Member Data Documentation

void* tlp::DataType::value

The actual pointer to the element's data.

Definition at line 86 of file DataSet.h.