Public Methods |
| Pairs (std::string line, std::string::size_type startpos=0) |
| extract all pairs found in line. More...
|
void | add (std::string::size_type first, std::string::size_type second) |
| add a pair to the list. More...
|
void | clear () |
| clears the list. More...
|
bool | is_in_pair (std::string::size_type pos) |
| checks if the position is between two pairs. More...
|
void | extract (std::string line, std::string::size_type startpos=0) |
| extracts all pairs by itsself. More...
|
Private Types |
typedef std::list< Pair > | Pair_list |
typedef std::list< Pair
>::iterator | Pair_list_it |
Private Methods |
bool | is_in_pair (std::string::size_type pos, std::string::size_type pair1, std::string::size_type pair2) const |
| checks if the position is between the two pairs. More...
|
Private Attributes |
Pair_list | pairs |