ROOT 6.12/07 Reference Guide |
Definition at line 56 of file TDrawingOptsBase.hxx.
Public Member Functions | |
~OptsAttrRefArr () | |
const PRIMITIVE & | Get (TCanvas &canv, TDrawingAttrRef< PRIMITIVE > idx) const |
Access to attribute (const version). More... | |
PRIMITIVE & | Get (TCanvas &canv, TDrawingAttrRef< PRIMITIVE > idx) |
Access to attribute (non-const version). More... | |
TDrawingAttrRef< PRIMITIVE > | Register (TCanvas &canv, const PRIMITIVE &val) |
Register an attribute. More... | |
void | RegisterCopy (TCanvas &canv) |
Once copied, elements of a OptsAttrRefArr need to increase their use count. More... | |
void | Release (TCanvas &canv) |
Clear all attribute references, removing their uses in TCanvas . More... | |
TDrawingAttrRef< PRIMITIVE > | SameAs (TCanvas &canv, TDrawingAttrRef< PRIMITIVE > idx) |
Re-use an existing attribute. More... | |
TDrawingAttrRef< PRIMITIVE > | SameAs (TCanvas &canv, const PRIMITIVE &val) |
Re-use an existing attribute. More... | |
void | Update (TCanvas &canv, TDrawingAttrRef< PRIMITIVE > idx, const PRIMITIVE &val) |
Update the attribute at index idx to the value val . More... | |
Private Attributes | |
std::vector< TDrawingAttrRef< PRIMITIVE > > | fRefArray |
Indexes of the TCanvas 's attribute table entries used by the options object. More... | |
#include <ROOT/TDrawingOptsBase.hxx>
TDrawingOptsBaseNoDefault::OptsAttrRefArr::~OptsAttrRefArr | ( | ) |
Definition at line 241 of file TDrawingAttrs.cxx.
const PRIMITIVE & TDrawingOptsBaseNoDefault::OptsAttrRefArr::Get | ( | TCanvas & | canv, |
TDrawingAttrRef< PRIMITIVE > | idx | ||
) | const |
Access to attribute (const version).
Definition at line 229 of file TDrawingAttrs.cxx.
PRIMITIVE & TDrawingOptsBaseNoDefault::OptsAttrRefArr::Get | ( | TCanvas & | canv, |
TDrawingAttrRef< PRIMITIVE > | idx | ||
) |
Access to attribute (non-const version).
Definition at line 235 of file TDrawingAttrs.cxx.
TDrawingAttrRef< PRIMITIVE > TDrawingOptsBaseNoDefault::OptsAttrRefArr::Register | ( | TCanvas & | canv, |
const PRIMITIVE & | val | ||
) |
Register an attribute.
Definition at line 185 of file TDrawingAttrs.cxx.
void TDrawingOptsBaseNoDefault::OptsAttrRefArr::RegisterCopy | ( | TCanvas & | canv | ) |
Once copied, elements of a OptsAttrRefArr need to increase their use count.
Definition at line 222 of file TDrawingAttrs.cxx.
void TDrawingOptsBaseNoDefault::OptsAttrRefArr::Release | ( | TCanvas & | canv | ) |
Clear all attribute references, removing their uses in TCanvas
.
Definition at line 214 of file TDrawingAttrs.cxx.
TDrawingAttrRef< PRIMITIVE > TDrawingOptsBaseNoDefault::OptsAttrRefArr::SameAs | ( | TCanvas & | canv, |
TDrawingAttrRef< PRIMITIVE > | idx | ||
) |
Re-use an existing attribute.
Definition at line 193 of file TDrawingAttrs.cxx.
TDrawingAttrRef< PRIMITIVE > TDrawingOptsBaseNoDefault::OptsAttrRefArr::SameAs | ( | TCanvas & | canv, |
const PRIMITIVE & | val | ||
) |
Re-use an existing attribute.
IsInvalid()
if val
could not be found. Definition at line 201 of file TDrawingAttrs.cxx.
void TDrawingOptsBaseNoDefault::OptsAttrRefArr::Update | ( | TCanvas & | canv, |
TDrawingAttrRef< PRIMITIVE > | idx, | ||
const PRIMITIVE & | val | ||
) |
Update the attribute at index idx
to the value val
.
Definition at line 207 of file TDrawingAttrs.cxx.
|
private |
Indexes of the TCanvas
's attribute table entries used by the options object.
Definition at line 58 of file TDrawingOptsBase.hxx.