Tulip 5.7.1
Large graphs analysis and drawing
Loading...
Searching...
No Matches
tlp::BooleanVectorProperty Class Reference

#include <BooleanProperty.h>

Inherits tlp::AbstractVectorProperty< vectType, eltType, propType >.

Public Member Functions

 BooleanVectorProperty (Graph *g, const std::string &n="")
 
PropertyInterfaceclonePrototype (Graph *, const std::string &) const override
 
const std::string & getTypename () const override
 

Public Attributes

 DEFINE_GET_CPP_CLASS_NAME
 

Static Public Attributes

static const std::string propertyTypename
 

Detailed Description

A graph property that maps a std::vector<bool> value to graph elements.

Definition at line 66 of file BooleanProperty.h.

Constructor & Destructor Documentation

◆ BooleanVectorProperty()

tlp::BooleanVectorProperty::BooleanVectorProperty ( Graph g,
const std::string &  n = "" 
)
inline

Definition at line 69 of file BooleanProperty.h.

Member Function Documentation

◆ clonePrototype()

PropertyInterface * tlp::BooleanVectorProperty::clonePrototype ( Graph graph,
const std::string &  name 
) const
overridevirtual

Creates a property of the same type (e.g. tlp::DoubleProperty) in the graph. The new property will not contain a copy of this property's values.

Parameters
graphThe Graph in which to create the new property.
nameThe name of the new property.
Returns
The newly created property.

Implements tlp::PropertyInterface.

◆ getTypename()

const std::string & tlp::BooleanVectorProperty::getTypename ( ) const
inlineoverridevirtual

Gets a string describing the type of the property value (e.g. "graph", "double", "layout", "string", "integer", "color", "size").

Returns
The name of this property's type.

Implements tlp::PropertyInterface.

Definition at line 74 of file BooleanProperty.h.

Member Data Documentation

◆ DEFINE_GET_CPP_CLASS_NAME

tlp::BooleanVectorProperty::DEFINE_GET_CPP_CLASS_NAME

Definition at line 77 of file BooleanProperty.h.

◆ propertyTypename

const std::string tlp::BooleanVectorProperty::propertyTypename
static

Definition at line 73 of file BooleanProperty.h.