Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::graph::vertex_from_name< VertexProperty > Struct Template Reference

Construct an instance of VertexProperty directly from its name. More...

#include <named_graph.hpp>

Public Types

typedef vertex_name_type argument_type
 
typedef VertexProperty result_type
 

Public Member Functions

VertexProperty operator() (const vertex_name_type &name)
 

Detailed Description

template<typename VertexProperty>
struct boost::graph::vertex_from_name< VertexProperty >

Construct an instance of VertexProperty directly from its name.

This function object should be used within the internal_vertex_constructor trait.

Member Typedef Documentation

template<typename VertexProperty >
typedef vertex_name_type boost::graph::vertex_from_name< VertexProperty >::argument_type
template<typename VertexProperty >
typedef VertexProperty boost::graph::vertex_from_name< VertexProperty >::result_type

Member Function Documentation

template<typename VertexProperty >
VertexProperty boost::graph::vertex_from_name< VertexProperty >::operator() ( const vertex_name_type &  name)
inline

The documentation for this struct was generated from the following file: