Revision 437fd680 custompackages/graph-parser/src/utility.h

View differences:

custompackages/graph-parser/src/utility.h
17 17
    std::ostream& operator<<(std::ostream& os, const Graph& g);
18 18

  
19 19
    // I have to use pair to add more than one argument for cout operator<<
20
    std::ostream& operator<<(std::ostream& os, std::pair<const Graph&, const VertexIndexMap&> p);
20
    std::ostream& operator<<(std::ostream& os, std::pair<const Graph&, const VertexIndexPMap&> p);
21 21

  
22
    template <typename T> // declared in utitlity.tpp
23
    std::ostream& operator<<(std::ostream& os, const std::set<T>& s);
22
    // For set
23
    template <typename T> std::ostream& operator<<(std::ostream& os, const std::set<T>& data);
24 24

  
25
    std::ostream& operator<<(std::ostream& os, const std::map<string, int>& m);
25
    // For vector
26
    template <typename T> std::ostream& operator<<(std::ostream& os, const std::vector<T>& data);
26 27

  
28
    // For map
29
    template <typename T> std::ostream& operator<<(std::ostream& os, const std::map<string, T>& data);
30

  
31
    // For 2-D vector
27 32
    std::ostream& operator<<(std::ostream& os, const vector< vector< int> >& data);
28 33
}
29 34

  
......
38 43
    void id_of_some_vertices(const Graph& g, const Container& container, std::set<std::string>& r);
39 44

  
40 45
    void print_v_index_std_map(const Graph& g, const VertexIndexStdMap& v_index_std_map);
41
    void print_v_index_map(const Graph& g, const VertexIndexMap& v_index_map);
46
    void print_v_index_pmap(const Graph& g, const VertexIndexPMap& v_index_pmap);
47
    void print_e_index_pmap(const Graph& g, const EdgeIndexPMap& e_index_pmap);
42 48
}
43 49

  
44 50
namespace setops {

Also available in: Unified diff