{}'s has been inserted after the function declarations. (For Misi's sake.)
authoralpar
Wed, 04 Feb 2004 16:02:48 +0000
changeset 62aa1700f78754
parent 61 30e734e6adff
child 63 8a39e8b9cdd7
{}'s has been inserted after the function declarations. (For Misi's sake.)
src/work/alpar/emptygraph.h
     1.1 --- a/src/work/alpar/emptygraph.h	Wed Feb 04 14:36:46 2004 +0000
     1.2 +++ b/src/work/alpar/emptygraph.h	Wed Feb 04 16:02:48 2004 +0000
     1.3 @@ -12,59 +12,59 @@
     1.4  
     1.5    class NodeIt {};
     1.6      
     1.7 -  NodeIt &getFirst(NodeIt &) const;
     1.8 -  InEdgeIt &getFirst(InEdgeIt &,const NodeIt) const;
     1.9 -  OutEdgeIt &getFirst(OutEdgeIt &,const NodeIt) const;
    1.10 -  SymEdgeIt &getFirst(SymEdgeIt &,const NodeIt) const;
    1.11 -  EachEdgeIt &getFirst(EachEdgeIt &) const;
    1.12 +  NodeIt &getFirst(NodeIt &) const {};
    1.13 +  InEdgeIt &getFirst(InEdgeIt &,const NodeIt) const {};
    1.14 +  OutEdgeIt &getFirst(OutEdgeIt &,const NodeIt) const {};
    1.15 +  SymEdgeIt &getFirst(SymEdgeIt &,const NodeIt) const {};
    1.16 +  EachEdgeIt &getFirst(EachEdgeIt &) const {};
    1.17  
    1.18 -  NodeIt next(const NodeIt) const;
    1.19 -  InEdgeIt next(const InEdgeIt) const;
    1.20 -  OutEdgeIt next(const OutEdgeIt) const;
    1.21 -  SymEdgeIt next(const SymEdgeIt) const;
    1.22 -  EachEdgeIt next(const EachEdgeIt) const;
    1.23 +  NodeIt next(const NodeIt) const {};
    1.24 +  InEdgeIt next(const InEdgeIt) const {};
    1.25 +  OutEdgeIt next(const OutEdgeIt) const {};
    1.26 +  SymEdgeIt next(const SymEdgeIt) const {};
    1.27 +  EachEdgeIt next(const EachEdgeIt) const {};
    1.28  
    1.29 -  NodeIt &goNext(NodeIt &) const;
    1.30 -  InEdgeIt &goNext(InEdgeIt &) const;
    1.31 -  OutEdgeIt &goNext(OutEdgeIt &) const;
    1.32 -  SymEdgeIt &goNext(SymEdgeIt &) const;
    1.33 -  EachEdgeIt &goNext(EachEdgeIt &) const;
    1.34 +  NodeIt &goNext(NodeIt &) const {};
    1.35 +  InEdgeIt &goNext(InEdgeIt &) const {};
    1.36 +  OutEdgeIt &goNext(OutEdgeIt &) const {};
    1.37 +  SymEdgeIt &goNext(SymEdgeIt &) const {};
    1.38 +  EachEdgeIt &goNext(EachEdgeIt &) const {};
    1.39  
    1.40 -  NodeIt head(const EdgeIt) const;
    1.41 -  NodeIt tail(const EdgeIt) const;
    1.42 +  NodeIt head(const EdgeIt) const {};
    1.43 +  NodeIt tail(const EdgeIt) const {};
    1.44    
    1.45 -  NodeIt aNode(const InEdgeIt) const;
    1.46 -  NodeIt aNode(const OutEdgeIt) const;
    1.47 -  NodeIt aNode(const SymEdgeIt) const;
    1.48 +  NodeIt aNode(const InEdgeIt) const {};
    1.49 +  NodeIt aNode(const OutEdgeIt) const {};
    1.50 +  NodeIt aNode(const SymEdgeIt) const {};
    1.51  
    1.52 -  NodeIt bNode(const InEdgeIt) const;
    1.53 -  NodeIt bNode(const OutEdgeIt) const;
    1.54 -  NodeIt bNode(const SymEdgeIt) const;
    1.55 +  NodeIt bNode(const InEdgeIt) const {};
    1.56 +  NodeIt bNode(const OutEdgeIt) const {};
    1.57 +  NodeIt bNode(const SymEdgeIt) const {};
    1.58  
    1.59 -  bool valid(const NodeIt) const;
    1.60 -  bool valid(const EdgeIt) const;
    1.61 +  bool valid(const NodeIt) const {};
    1.62 +  bool valid(const EdgeIt) const {};
    1.63  
    1.64 -  void setInvalid(NodeIt &) const;
    1.65 -  void setInvalid(EdgeIt &) const;
    1.66 +  void setInvalid(NodeIt &) const {};
    1.67 +  void setInvalid(EdgeIt &) const {};
    1.68    
    1.69 -  NodeIt addNode();
    1.70 -  EdgeIt addEdge(const NodeIt from,const NodeIt to);
    1.71 +  NodeIt addNode() {};
    1.72 +  EdgeIt addEdge(const NodeIt from,const NodeIt to) {};
    1.73      
    1.74 -  void delete(NodeIt n);
    1.75 -  void delete(EdgeIt e);
    1.76 +  void delete(NodeIt n) {};
    1.77 +  void delete(EdgeIt e) {};
    1.78  
    1.79 -  void clear();
    1.80 +  void clear() {};
    1.81  
    1.82    template<class T> class NodeMap
    1.83    {
    1.84    public:
    1.85      typedef T ValueType;
    1.86      typedef NodeIt KeyType;
    1.87 -    void set(const NodeIt i, const T &t);
    1.88 -    T get(const NodeIt i) const;
    1.89 -    T &operator[](const NodeIt i);
    1.90 +    void set(const NodeIt i, const T &t) {};
    1.91 +    T get(const NodeIt i) const {};
    1.92 +    T &operator[](const NodeIt i) {};
    1.93        
    1.94 -    NodeMap(const Graph &G);
    1.95 +    NodeMap(const Graph &G) {};
    1.96    };
    1.97  
    1.98    template<class T> class EdgeMap
    1.99 @@ -72,10 +72,10 @@
   1.100    public:
   1.101      typedef T ValueType;
   1.102      typedef EdgeIt KeyType;
   1.103 -    void set(const EdgeIt i, const T &t);
   1.104 -    T get(const EdgeIt i) const;
   1.105 -    T &operator[](const EdgeIt i);
   1.106 +    void set(const EdgeIt i, const T &t) {};
   1.107 +    T get(const EdgeIt i) const {};
   1.108 +    T &operator[](const EdgeIt i) {};
   1.109        
   1.110 -    EdgeMap(const Graph &G);
   1.111 +    EdgeMap(const Graph &G) {};
   1.112    };
   1.113  };