|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83961 - trunk/libs/graph/src
From: jewillco_at_[hidden]
Date: 2013-04-18 16:21:40
Author: jewillco
Date: 2013-04-18 16:21:39 EDT (Thu, 18 Apr 2013)
New Revision: 83961
URL: http://svn.boost.org/trac/boost/changeset/83961
Log:
Applied patch from #7155 to add "graphml" as a value for "for"; fixes #7155; fixes #7016
Text files modified:
trunk/libs/graph/src/graphml.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/libs/graph/src/graphml.cpp
==============================================================================
--- trunk/libs/graph/src/graphml.cpp (original)
+++ trunk/libs/graph/src/graphml.cpp 2013-04-18 16:21:39 EDT (Thu, 18 Apr 2013)
@@ -71,6 +71,7 @@
else if (for_ == "port") kind = port_key;
else if (for_ == "endpoint") kind = endpoint_key;
else if (for_ == "all") kind = all_key;
+ else if (for_ == "graphml") kind = graphml_key;
else {BOOST_THROW_EXCEPTION(parse_error("Attribute for is not valid: " + for_));}
m_keys[id] = kind;
m_key_name[id] = name;
@@ -132,7 +133,8 @@
hyperedge_key,
port_key,
endpoint_key,
- all_key
+ all_key,
+ graphml_key
};
void
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk