Revision ee0dd796 custompackages/graph-parser/src/utility.h

View differences:

custompackages/graph-parser/src/utility.h
8 8
#include <iostream>
9 9
#include <boost/graph/graph_traits.hpp>
10 10
#include <boost/graph/undirected_graph.hpp>
11
#include <boost/spirit/include/karma.hpp>
12
#include <boost/graph/iteration_macros.hpp>
11 13
#include "common.h"
12 14

  
13 15

  
16

  
14 17
void printGraph(Graph &g);
15 18

  
19
namespace outops {
20
    std::ostream& operator<<(std::ostream& os, const Graph& g);
21
    std::ostream& operator<<(std::ostream& os, const std::set<std::string>& s);
22
}
23

  
24
namespace outopserror {
25
    template <typename T>
26
    std::ostream& operator<<(std::ostream& os, const std::set<T>& s);
27
}
28

  
29
// non-member functions operating on Graph datatype.
30
namespace graphext {
31
    void id_of_vertices(const Graph& g, std::set<std::string>& r);
32

  
33
    // template <typename Container>
34
    // void id_of_vertices(const Graph& g, const Container& container, std::set<std::string>& r);
35
    void id_of_vertices(const Graph& g, const VertexVec& container, std::set<std::string>& r);
36
}
16 37
#endif //GRAPH_PARSER_UTILITY_H

Also available in: Unified diff