Logo ROOT   6.12/07
Reference Guide
List of all members | Public Attributes | Friends | List of all members
ROOT::Experimental::TPalette::OrdinalAndColor Class Reference

An ordinal value and its associated color.

Definition at line 43 of file TPalette.hxx.

Public Attributes

TColor fColor
 The color associated with the value. More...
 
double fOrdinal
 The value associated with the color. More...
 

Friends

bool operator< (const OrdinalAndColor &lhs, const OrdinalAndColor &rhs)
 Compare two OrdinalAndColors, for sorting. More...
 
bool operator< (const OrdinalAndColor &lhs, double rhs)
 Compare an OrdinalAndColor and an ordinal value. More...
 

#include <ROOT/TPalette.hxx>

Friends And Related Function Documentation

◆ operator< [1/2]

bool operator< ( const OrdinalAndColor lhs,
const OrdinalAndColor rhs 
)
friend

Compare two OrdinalAndColors, for sorting.

Definition at line 48 of file TPalette.hxx.

◆ operator< [2/2]

bool operator< ( const OrdinalAndColor lhs,
double  rhs 
)
friend

Compare an OrdinalAndColor and an ordinal value.

Definition at line 53 of file TPalette.hxx.

Member Data Documentation

◆ fColor

TColor ROOT::Experimental::TPalette::OrdinalAndColor::fColor

The color associated with the value.

Definition at line 45 of file TPalette.hxx.

◆ fOrdinal

double ROOT::Experimental::TPalette::OrdinalAndColor::fOrdinal

The value associated with the color.

Definition at line 44 of file TPalette.hxx.

Collaboration diagram for ROOT::Experimental::TPalette::OrdinalAndColor:
[legend]

The documentation for this class was generated from the following file: