Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
double fOrdinal {0.}
 The value associated with the color.
 

Friends

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

#include <ROOT/RPalette.hxx>

Friends And Related Symbol 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 52 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 {0.}

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: