Logo ROOT  
Reference Guide
ROOT::Experimental::RPalette::OrdinalAndColor Struct Reference

An ordinal value and its associated color.

Definition at line 41 of file RPalette.hxx.

Public Attributes

RColor 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/RPalette.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 46 of file RPalette.hxx.

◆ operator< [2/2]

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

Compare an OrdinalAndColor and an ordinal value.

Definition at line 51 of file RPalette.hxx.

Member Data Documentation

◆ fColor

RColor ROOT::Experimental::RPalette::OrdinalAndColor::fColor

The color associated with the value.

Definition at line 43 of file RPalette.hxx.

◆ fOrdinal

double ROOT::Experimental::RPalette::OrdinalAndColor::fOrdinal

The value associated with the color.

Definition at line 42 of file RPalette.hxx.

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

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