|
Util--
1.1
|
Namespaces | |
| detail | |
| details | |
| endian | |
| factory_toolbox | |
| Toolbox for factory implementation. | |
| hash_toolbox | |
| toolbox for hash containers | |
| plugin | |
| pools | |
| singleton | |
| Singleton manipulation. | |
| smart | |
| Smart pointers implementation. | |
Typedefs | |
| typedef std::list< std::string > | stringlist |
| typedef basic_symbol< char > | symbol |
| specialization of utilmm::basic_symbol using char More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &stream, utilmm::command_line const &cmdline) |
| std::string | shell_expand (std::string const &text) |
| std::string | demangle (char const *name) |
| name demangling function More... | |
| std::string | demangle (std::string const &name) |
| name demangling function More... | |
| std::string | demangle (std::type_info const &type) |
| demangled name function More... | |
| template<typename Ty > | |
| std::string | real_name_of () |
| demangled name function More... | |
| template<typename Iterator > | |
| void | sweep (Iterator begin, Iterator end) |
| template<typename Iterator > | |
| void | sweep_arrays (Iterator begin, Iterator end) |
| stringlist | split (std::string const &s, std::string const &sep=" ", bool ignore_empty=true) |
| std::string | join (stringlist const &l, std::string const &sep=" ") |
| template<typename T > | |
| std::string | join (std::list< T > const &l, std::string const &sep=" ") |
| std::string | upcase (std::string const &s) |
| bool | starts_with (std::string const &str, std::string const &start) |
| boost::filesystem::path | clean_path (std::string str) |
| template<typename Graph , typename DFSVisitor , typename VertexColorMap , typename EdgeColorMap , typename Vertex > | |
| void | undirected_dfs (const Graph &g, DFSVisitor vis, VertexColorMap vertex_color, EdgeColorMap edge_color, Vertex start_vertex) |
| template<typename Graph , typename DFSVisitor , typename VertexColorMap , typename EdgeColorMap > | |
| void | undirected_dfs (const Graph &g, DFSVisitor vis, VertexColorMap vertex_color, EdgeColorMap edge_color) |
| template<typename Graph , typename P , typename T , typename R > | |
| void | undirected_dfs (const Graph &g, const boost::bgl_named_params< P, T, R > ¶ms) |
| template<typename IncidenceGraph , typename DFSVisitor , typename VertexColorMap , typename EdgeColorMap , typename TerminatorFunc > | |
| void | undirected_depth_first_visit (const IncidenceGraph &g, typename boost::graph_traits< IncidenceGraph >::vertex_descriptor u, DFSVisitor vis, VertexColorMap vertex_color, EdgeColorMap edge_color, TerminatorFunc func=TerminatorFunc()) |
| template<class BidirectionalGraph > | |
| undirected_graph < BidirectionalGraph > | make_undirected_graph (const BidirectionalGraph &g) |
| template<class BidirectionalGraph > | |
| undirected_graph < BidirectionalGraph, BidirectionalGraph & > | make_undirected_graph (BidirectionalGraph &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename undirected_graph < BidirectionalGraph > ::vertex_iterator, typename undirected_graph < BidirectionalGraph > ::vertex_iterator > | vertices (const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename undirected_graph < BidirectionalGraph > ::edge_iterator, typename undirected_graph < BidirectionalGraph > ::edge_iterator > | edges (const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename undirected_graph < BidirectionalGraph, GRef > ::out_edge_iterator, typename undirected_graph < BidirectionalGraph, GRef > ::out_edge_iterator > | out_edges (const typename BidirectionalGraph::vertex_descriptor u, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| BidirectionalGraph::vertices_size_type | num_vertices (const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| undirected_graph < BidirectionalGraph > ::edges_size_type | num_edges (const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| BidirectionalGraph::degree_size_type | out_degree (const typename BidirectionalGraph::vertex_descriptor u, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename BidirectionalGraph::edge_descriptor, bool > | edge (const typename BidirectionalGraph::vertex_descriptor u, const typename BidirectionalGraph::vertex_descriptor v, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename BidirectionalGraph::out_edge_iterator, typename BidirectionalGraph::out_edge_iterator > | in_edges (const typename BidirectionalGraph::vertex_descriptor u, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| std::pair< typename undirected_graph < BidirectionalGraph, GRef > ::adjacency_iterator, typename undirected_graph < BidirectionalGraph, GRef > ::adjacency_iterator > | adjacent_vertices (const typename BidirectionalGraph::vertex_descriptor u, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class BidirectionalGraph , class GRef > | |
| BidirectionalGraph::degree_size_type | in_degree (const typename BidirectionalGraph::vertex_descriptor u, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class Edge , class BidirectionalGraph , class GRef > | |
| boost::graph_traits < BidirectionalGraph > ::vertex_descriptor | source (const Edge &e, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<class Edge , class BidirectionalGraph , class GRef > | |
| boost::graph_traits < BidirectionalGraph > ::vertex_descriptor | target (const Edge &e, const undirected_graph< BidirectionalGraph, GRef > &g) |
| template<typename PropertyMap , typename EdgeDescriptor , typename ValueType > | |
| void | put (undirected_property_map< PropertyMap > &map, EdgeDescriptor e, ValueType value) |
| template<typename PropertyMap , typename EdgeDescriptor > | |
| boost::property_traits < PropertyMap >::value_type | get (undirected_property_map< PropertyMap > const &map, EdgeDescriptor e) |
| template<typename PropertyMap > | |
| undirected_property_map < PropertyMap > | make_undirected_edge_map (PropertyMap pmap) |
| typedef std::list<std::string> utilmm::stringlist |
| typedef basic_symbol<char> utilmm::symbol |
specialization of utilmm::basic_symbol using char
You can see it as std::string compared to std::basic_string
|
inline |
|
inline |
| std::string utilmm::demangle | ( | char const * | name | ) |
name demangling function
This function demangle C++ type names to a human-readable form. It convert the name given by typeid().name() in the classical C++ form.
| name | An internal C++ type name |
Referenced by demangle(), and real_name_of().
|
inline |
name demangling function
This function demangle C++ type names to a human-readable form. It convert the name given by typeid().name() in the classical C++ form.
| name | An internal C++ type name |
References demangle().
|
inline |
demangled name function
This function demangle C++ type names to a human-readable form. It convert the name given by typeid().name() in the classical C++ form.
| type | A C++ type descriptor |
References demangle().
|
inline |
| std::pair<typename undirected_graph<BidirectionalGraph>::edge_iterator, typename undirected_graph<BidirectionalGraph>::edge_iterator> utilmm::edges | ( | const undirected_graph< BidirectionalGraph, GRef > & | g | ) |
References utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g.
Referenced by undirected_dfs().
| boost::property_traits<PropertyMap>::value_type utilmm::get | ( | undirected_property_map< PropertyMap > const & | map, |
| EdgeDescriptor | e | ||
| ) |
|
inline |
References out_degree().
Referenced by out_degree().
|
inline |
References out_edges().
Referenced by out_edges().
|
inline |
Referenced by join().
|
inline |
References join().
| undirected_property_map<PropertyMap> utilmm::make_undirected_edge_map | ( | PropertyMap | pmap | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| std::ostream& utilmm::operator<< | ( | std::ostream & | stream, |
| utilmm::command_line const & | cmdline | ||
| ) |
References utilmm::command_line::usage().
|
inline |
References in_degree(), and utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g.
Referenced by in_degree().
|
inline |
References in_edges(), and utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g.
Referenced by in_edges(), and utilmm::detail::undir_dfv_impl_term().
| void utilmm::put | ( | undirected_property_map< PropertyMap > & | map, |
| EdgeDescriptor | e, | ||
| ValueType | value | ||
| ) |
References utilmm::undirected_property_map< PropertyMap >::map().
Referenced by utilmm::detail::undir_dfv_impl_term(), and undirected_dfs().
| std::string utilmm::real_name_of | ( | ) |
demangled name function
This function demangle C++ type names to a human-readable form. It convert the name given by typeid().name() in the classical C++ form.
| Ty | A C++ type |
References demangle().
| std::string utilmm::shell_expand | ( | std::string const & | text | ) |
|
inline |
References utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g, and target().
Referenced by target(), utilmm::endian::to_big(), and utilmm::endian::to_little().
|
inline |
|
inline |
| void utilmm::sweep | ( | Iterator | begin, |
| Iterator | end | ||
| ) |
Calls delete for each iterator value in [begin, end)
Referenced by utilmm::pools::object_pool< T >::~object_pool().
| void utilmm::sweep_arrays | ( | Iterator | begin, |
| Iterator | end | ||
| ) |
Calls delete[] for each iterator value in [begin, end)
|
inline |
References utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g, and source().
Referenced by source(), and utilmm::detail::undir_dfv_impl_term().
| void utilmm::undirected_depth_first_visit | ( | const IncidenceGraph & | g, |
| typename boost::graph_traits< IncidenceGraph >::vertex_descriptor | u, | ||
| DFSVisitor | vis, | ||
| VertexColorMap | vertex_color, | ||
| EdgeColorMap | edge_color, | ||
| TerminatorFunc | func = TerminatorFunc() |
||
| ) |
References utilmm::detail::undir_dfv_impl_term().
| void utilmm::undirected_dfs | ( | const Graph & | g, |
| DFSVisitor | vis, | ||
| VertexColorMap | vertex_color, | ||
| EdgeColorMap | edge_color, | ||
| Vertex | start_vertex | ||
| ) |
| void utilmm::undirected_dfs | ( | const Graph & | g, |
| DFSVisitor | vis, | ||
| VertexColorMap | vertex_color, | ||
| EdgeColorMap | edge_color | ||
| ) |
References undirected_dfs(), and vertices().
| void utilmm::undirected_dfs | ( | const Graph & | g, |
| const boost::bgl_named_params< P, T, R > & | params | ||
| ) |
References utilmm::detail::udfs_dispatch< VertexColorMap >::apply(), and vertices().
|
inline |
| std::pair<typename undirected_graph<BidirectionalGraph>::vertex_iterator, typename undirected_graph<BidirectionalGraph>::vertex_iterator> utilmm::vertices | ( | const undirected_graph< BidirectionalGraph, GRef > & | g | ) |
References utilmm::undirected_graph< BidirectionalGraph, GraphRef >::m_g.
Referenced by undirected_dfs().
1.8.6