COIN-OR::LEMON - Graph Library

Changeset 150:86273bfe0e4d in glemon-0.x for xml.h


Ignore:
Timestamp:
09/21/06 12:29:29 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2951
Message:

According to xy->Point changement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xml.h

    r127 r150  
    2121#include <map>
    2222#include <lemon/error.h>
    23 #include <lemon/xy.h>
     23#include <lemon/dim2.h>
    2424
    2525namespace lemon {
     
    410410  ///
    411411  template<class T>
    412   void xml(XmlIo &x,lemon::xy<T> &v)
     412  void xml(XmlIo &x,lemon::dim2::Point<T> &v)
    413413  {
    414414    { XmlIo::LineTag t(x,"x"); x(v.x); }
     
    421421  ///
    422422  template<class T>
    423   void xml(XmlIo &x,lemon::BoundingBox<T> &v)
     423  void xml(XmlIo &x,lemon::dim2::BoundingBox<T> &v)
    424424  {
    425425    if(x.write()) {
     
    432432      v.clear();
    433433      while(x.nextTag()=="point") {
    434         lemon::xy<T> co;
     434        lemon::dim2::Point<T> co;
    435435        x("point",co);
    436436        v.add(co);
Note: See TracChangeset for help on using the changeset viewer.