Reference

tlp_SpreadValue(3tulip)

NAME

tlp::SpreadValue -

SYNOPSIS

#include <SpreadValue.h>

Public Types

enum Type { none = -1, doublev = 0, coordv, colorv }

Public Member Functions

SpreadValue ()
SpreadValue (Type valueType)
SpreadValue (const double &value)
SpreadValue (const Coord &value)
SpreadValue (const Color &value)
SpreadValue (const QString &value)
QString toString ()

Static Public Member Functions

static SpreadValue computeOpp2Value (const QChar &, const SpreadValue &, const SpreadValue &)
static SpreadValue computeOpp2EqualValueType (const QChar &, const SpreadValue &, const SpreadValue &)
static bool transform2SameValueType (const SpreadValue &, const SpreadValue &, SpreadValue &, SpreadValue &)
static void value2List (const SpreadValue &, QList< double > &)
static bool valueList2List (const QList< SpreadValue > &, QList< QList< double > > &)
static void list2Value (QList< double > &, unsigned int, SpreadValue::Type, SpreadValue &)

Public Attributes

Type valueType
double doubleV
Coord coordV
Color colorV

Member Enumeration Documentation

enum tlp::SpreadValue::Type

Enumerator:

none
doublev
coordv
colorv

Constructor & Destructor Documentation

tlp::SpreadValue::SpreadValue () [inline]

tlp::SpreadValue::SpreadValue (Type valueType) [inline]

tlp::SpreadValue::SpreadValue (const double & value) [inline]

tlp::SpreadValue::SpreadValue (const Coord & value) [inline]

tlp::SpreadValue::SpreadValue (const Color & value) [inline]

tlp::SpreadValue::SpreadValue (const QString & value)

Member Function Documentation

SpreadValue tlp::SpreadValue::computeOpp2EqualValueType (const QChar & opp, const SpreadValue & arg1, const SpreadValue & arg2) [static]

SpreadValue tlp::SpreadValue::computeOpp2Value (const QChar & opp, const SpreadValue & arg1, const SpreadValue & arg2) [static]

void tlp::SpreadValue::list2Value (QList< double > & in, unsigned int begin, SpreadValue::Type type, SpreadValue & value) [static]

QString tlp::SpreadValue::toString () [inline]

bool tlp::SpreadValue::transform2SameValueType (const SpreadValue & arg1, const SpreadValue & arg2, SpreadValue & resultArg1, SpreadValue & resultArg2) [static]

void tlp::SpreadValue::value2List (const SpreadValue & value, QList< double > & out) [static]

bool tlp::SpreadValue::valueList2List (const QList< SpreadValue > & values, QList< QList< double > > & out) [static]

Member Data Documentation

Color tlp::SpreadValue::colorV

Coord tlp::SpreadValue::coordV

double tlp::SpreadValue::doubleV

Type tlp::SpreadValue::valueType

Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.