Go to the documentation of this file. 1 #ifndef __JGIZMO__JLINEATTRIBUTES__
2 #define __JGIZMO__JLINEATTRIBUTES__
42 std::vector<TAttLine>(),
45 for (
int i = 1; i <= 10; ++i) {
46 push_back(TAttLine(kBlack, i, width));
71 for (iterator i = this->begin(); i != this->end(); ++i) {
72 i->SetLineWidth(width);
93 return !this->empty();
106 if (index < this->size()) {
107 ps.reset(&this->at(
index));
126 return this->at(
index%this->size());
JLineAttributes(const Width_t width=2)
Constructor.
virtual bool hasNext()
Check availability of next element.
static JLineAttributes & getInstance()
Get reference to unique instance of this class object.
Auxiliary class to set line attributes.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template implementation of class that holds pointer to object(s).
const TAttLine & get(unsigned int index)
Get line attributes.
virtual const pointer_type & next()
Get next element.
void setLineWidth(const Width_t width)
Set line width.
Interface for object iteration with rewinding.
Auxiliary applications for use of ROOT and more.
JRewindableObjectIterator< TAttLine >::pointer_type pointer_type
virtual void rewind()
Rewind index.