|
ROOT 6.12/07 Reference Guide |
Definition at line 36 of file TDrawingAttrs.hxx.
Public Types | |
| using | value_type = Internal::TDrawingAttrAndUseCount< PRIMITIVE > |
Public Member Functions | |
| void | DecrUse (TDrawingAttrRef< PRIMITIVE > idx) |
| Remove a use of the attribute at table index idx. More... | |
| const PRIMITIVE & | Get (TDrawingAttrRef< PRIMITIVE > idx) const |
Get the value at index idx (const version). More... | |
| PRIMITIVE & | Get (TDrawingAttrRef< PRIMITIVE > idx) |
Get the value at index idx (non-const version). More... | |
| std::vector< value_type > & | GetTable () |
| Access to the underlying attribute table (non-const version). More... | |
| const std::vector< value_type > & | GetTable () const |
| Access to the underlying attribute table (const version). More... | |
| void | IncrUse (TDrawingAttrRef< PRIMITIVE > idx) |
| Add a use of the attribute at table index idx. More... | |
| TDrawingAttrRef< PRIMITIVE > | Register (const PRIMITIVE &val) |
| Register an attribute with the table. More... | |
| TDrawingAttrRef< PRIMITIVE > | SameAs (const PRIMITIVE &val) |
| Find the index belonging to the attribute at the given address and add a use. More... | |
| void | Update (TDrawingAttrRef< PRIMITIVE > idx, const PRIMITIVE &val) |
| Update an existing attribute entry in the table. More... | |
Private Attributes | |
| std::vector< value_type > | fTable |
| Table of attribute primitives. More... | |
#include <ROOT/TDrawingAttrs.hxx>
| using ROOT::Experimental::Internal::TDrawingAttrTable< PRIMITIVE >::value_type = Internal::TDrawingAttrAndUseCount<PRIMITIVE> |
Definition at line 125 of file TDrawingAttrs.hxx.
|
inline |
Remove a use of the attribute at table index idx.
Definition at line 141 of file TDrawingAttrs.hxx.
|
inline |
Get the value at index idx (const version).
Definition at line 147 of file TDrawingAttrs.hxx.
|
inline |
Get the value at index idx (non-const version).
Definition at line 150 of file TDrawingAttrs.hxx.
|
inline |
Access to the underlying attribute table (non-const version).
Definition at line 157 of file TDrawingAttrs.hxx.
|
inline |
Access to the underlying attribute table (const version).
Definition at line 160 of file TDrawingAttrs.hxx.
|
inline |
Add a use of the attribute at table index idx.
Definition at line 138 of file TDrawingAttrs.hxx.
| TDrawingAttrRef< PRIMITIVE > Internal::TDrawingAttrTable::Register | ( | const PRIMITIVE & | val | ) |
Register an attribute with the table.
Definition at line 152 of file TDrawingAttrs.cxx.
| TDrawingAttrRef< PRIMITIVE > Internal::TDrawingAttrTable::SameAs | ( | const PRIMITIVE & | val | ) |
Find the index belonging to the attribute at the given address and add a use.
val, which might be IsInvalid() if val is not part of this table. Definition at line 167 of file TDrawingAttrs.cxx.
|
inline |
Update an existing attribute entry in the table.
Definition at line 144 of file TDrawingAttrs.hxx.
|
private |
Table of attribute primitives.
Slots can be freed and re-used. Drawing options will reference slots in here through their index.
Definition at line 130 of file TDrawingAttrs.hxx.