Changeset 150:86273bfe0e4d in glemon-0.x for xml.h
- Timestamp:
- 09/21/06 12:29:29 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2951
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xml.h
r127 r150 21 21 #include <map> 22 22 #include <lemon/error.h> 23 #include <lemon/ xy.h>23 #include <lemon/dim2.h> 24 24 25 25 namespace lemon { … … 410 410 /// 411 411 template<class T> 412 void xml(XmlIo &x,lemon:: xy<T> &v)412 void xml(XmlIo &x,lemon::dim2::Point<T> &v) 413 413 { 414 414 { XmlIo::LineTag t(x,"x"); x(v.x); } … … 421 421 /// 422 422 template<class T> 423 void xml(XmlIo &x,lemon:: BoundingBox<T> &v)423 void xml(XmlIo &x,lemon::dim2::BoundingBox<T> &v) 424 424 { 425 425 if(x.write()) { … … 432 432 v.clear(); 433 433 while(x.nextTag()=="point") { 434 lemon:: xy<T> co;434 lemon::dim2::Point<T> co; 435 435 x("point",co); 436 436 v.add(co);
Note: See TracChangeset
for help on using the changeset viewer.