DataEntry

class DataEntry

Implements a class holding a value, a name and a color.

Summary
DataEntryImplements a class holding a value, a name and a color.
Functions
DataEntryInitializes the object.
~DataEntryReleases all allocated resources.
GetNameReturns the name of the data entry.
GetValueReturns the value of the data entry.
GetColorReturns the color of the data entry.

Functions

DataEntry

DataEntry(std::string sName,
double dValue,
float fRed,
float fGreen,
float fBlue)

Initializes the object.

Parameters

sNameName of the data entry.
dValueValue of the data entry.
fRedRed value of the data entry color.
fGreenGreen value of the data entry color.
fBlueBlue value of the data entry color.

~DataEntry

~DataEntry()

Releases all allocated resources.

GetName

std::string GetName()

Returns the name of the data entry.

Returns

The name of the data entry.

GetValue

double GetValue()

Returns the value of the data entry.

Returns

The value of the data entry.

GetColor

glm::vec4 GetColor()

Returns the color of the data entry.

Returns

The color of the data entry.

class DataEntry
Implements a class holding a value, a name and a color.
DataEntry(std::string sName,
double dValue,
float fRed,
float fGreen,
float fBlue)
Initializes the object.
~DataEntry()
Releases all allocated resources.
std::string GetName()
Returns the name of the data entry.
double GetValue()
Returns the value of the data entry.
glm::vec4 GetColor()
Returns the color of the data entry.
Close