Auxiliary class to set line attributes.
More...
#include <JLineAttributes.hh>
Auxiliary class to set line attributes.
Definition at line 27 of file JLineAttributes.hh.
◆ pointer_type
◆ JLineAttributes()
JGIZMO::JLineAttributes::JLineAttributes |
( |
const Width_t |
width = 2 | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 41 of file JLineAttributes.hh.
45 for (
int i = 1; i <= 10; ++i) {
46 push_back(TAttLine(kBlack, i, width));
◆ getInstance()
Get reference to unique instance of this class object.
- Returns
- reference to this class object
Definition at line 56 of file JLineAttributes.hh.
◆ setLineWidth()
void JGIZMO::JLineAttributes::setLineWidth |
( |
const Width_t |
width | ) |
|
|
inline |
Set line width.
- Parameters
-
Definition at line 69 of file JLineAttributes.hh.
71 for (iterator i = this->begin(); i != this->end(); ++i) {
72 i->SetLineWidth(width);
◆ rewind()
virtual void JGIZMO::JLineAttributes::rewind |
( |
| ) |
|
|
inlinevirtual |
◆ hasNext()
virtual bool JGIZMO::JLineAttributes::hasNext |
( |
| ) |
|
|
inlinevirtual |
◆ next()
virtual const pointer_type& JGIZMO::JLineAttributes::next |
( |
| ) |
|
|
inlinevirtual |
◆ get()
const TAttLine& JGIZMO::JLineAttributes::get |
( |
unsigned int |
index | ) |
|
|
inline |
Get line attributes.
- Parameters
-
- Returns
- line attributes
Definition at line 124 of file JLineAttributes.hh.
126 return this->at(
index%this->size());
◆ skip()
Skip items.
- Parameters
-
ns | number of items to skip |
- Returns
- number of items skipped
Reimplemented in JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, JLANG::JSTDObjectIterator< T >, JLANG::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< const T >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< KM3NETDAQ::JDAQEvent >, JLANG::JAbstractObjectReader< JDAQSummaryslice >, and JLANG::JAbstractObjectReader< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 88 of file JObjectIterator.hh.
92 for ( ; i != ns &&
hasNext(); ++i) {
◆ index
unsigned int JGIZMO::JLineAttributes::index |
|
private |
The documentation for this class was generated from the following file: