Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
87b69927
Commit
87b69927
authored
Jul 17, 2009
by
Tiago Peixoto
Browse files
Sync graphviz_spirit with boost 1.39
parent
602541aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/read_graphviz_spirit.cpp
View file @
87b69927
...
...
@@ -5,32 +5,35 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
// read_graphviz_spirit.hpp -
// read_graphviz_spirit.hpp -
// Initialize a model of the BGL's MutableGraph concept and an associated
// collection of property maps using a graph expressed in the GraphViz
// DOT Language.
// DOT Language.
//
// Based on the grammar found at:
// http://www.graphviz.org/cvs/doc/info/lang.html
//
// See documentation for this code at:
// See documentation for this code at:
// http://www.boost.org/libs/graph/doc/read-graphviz.html
//
// Authors: Ronald Garcia and Douglas Gregor
//
#define BOOST_GRAPH_SOURCE
#ifndef BOOST_GRAPH_READ_GRAPHVIZ_ITERATORS
# define BOOST_GRAPH_READ_GRAPHVIZ_ITERATORS
#endif
#include <boost/graph/graphviz.hpp>
namespace
boost
{
namespace
detail
{
namespace
graph
{
namespace
boost
{
namespace
detail
{
namespace
graph
{
bool
read_graphviz
(
std
::
istream
&
in
,
mutate_graph
&
graph
)
BOOST_GRAPH_DECL
bool
read_graphviz
(
std
::
istream
&
in
,
mutate_graph
&
graph
)
{
using
namespace
boost
;
using
namespace
boost
::
spirit
;
using
namespace
boost
::
spirit
::
classic
;
typedef
std
::
istream_iterator
<
char
>
is_t
;
typedef
multi_pass
<
is_t
>
iterator_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment