Files Classes Functions Hierarchy
#include <linechopped.h>
Public Member Functions | |
| pointindexed (PT const &pt_, INDX const index_) | |
| Construct an indexed point. | |
| operator string () const | |
| Serialize this object by writing it out as a string. | |
| boolc | operator== (pointindexed< PT, INDX > const &p2) const |
| Equal if components are equal. | |
Public Attributes | |
| PT | pt |
| The point. | |
| INDX | index |
| The index. | |
Definition at line 55 of file linechopped.h.
| pointindexed< PT, INDX >::pointindexed | ( | PT const & | pt_, | |
| INDX const | index_ | |||
| ) | [inline] |
| pointindexed< PT, INDX >::operator string | ( | ) | const [inline] |
Serialize this object by writing it out as a string.
Definition at line 69 of file linechopped.h.
References pointindexed< PT, INDX >::index, and pointindexed< PT, INDX >::pt.
00070 { string s( (stringc)pt ); s += " "; stringstream ss; 00071 ss << index; return s + ss.str(); }
| boolc pointindexed< PT, INDX >::operator== | ( | pointindexed< PT, INDX > const & | p2 | ) | const [inline] |
Equal if components are equal.
Definition at line 74 of file linechopped.h.
References pointindexed< PT, INDX >::index, and pointindexed< PT, INDX >::pt.
| INDX pointindexed< PT, INDX >::index |
The index.
Definition at line 62 of file linechopped.h.
Referenced by pointindexed< PT, INDX >::operator string(), and pointindexed< PT, INDX >::operator==().
| PT pointindexed< PT, INDX >::pt |
The point.
Definition at line 60 of file linechopped.h.
Referenced by pointindexed< PT, INDX >::operator string(), and pointindexed< PT, INDX >::operator==().
1.5.8