18#ifndef VOTCA_TOOLS_RANGEPARSER_H
19#define VOTCA_TOOLS_RANGEPARSER_H
41 void Parse(std::string str);
99 std::list<block_t>::iterator block)
100 : parent_(parent), block_(block) {
101 if (block != parent->
blocks_.end()) {
102 current_ = (*block).begin_;
117 std::list<RangeParser::block_t>::const_iterator iter(rp.
blocks_.begin());
118 for (; iter != rp.
blocks_.end(); ++iter) {
119 if (iter != rp.
blocks_.begin()) {
122 if (iter->begin_ == iter->end_) {
124 }
else if (iter->stride_ == 1) {
125 out << iter->begin_ <<
":" << iter->end_;
127 out << iter->begin_ <<
":" << iter->stride_ <<
":" << iter->end_;
base class for all analysis tools