Re: [Boost-bugs] [Boost C++ Libraries] #2566: Cannot have a 'short' member in a bundled property when saving with read_graphml

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2566: Cannot have a 'short' member in a bundled property when saving with read_graphml
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-07 16:47:24


#2566: Cannot have a 'short' member in a bundled property when saving with
read_graphml
----------------------------------------+-----------------------------------
  Reporter: remi.chateauneu_at_[hidden] | Owner: jewillco
      Type: Bugs | Status: assigned
 Milestone: Boost 1.38.0 | Component: graph
   Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------
Changes (by jewillco):

  * owner: dgregor => jewillco
  * status: new => assigned

Comment:

 It appears that there is a one-to-one mapping between GraphML attribute
 types and data types in bundled properties. Therefore, it is likely not
 possible to allow other data types in bundled properties within the
 current implementation of the GraphML reader. Is it possible to change
 your bundled property to an int type instead? Otherwise, when you are
 setting up your dynamic_properties structure, you could wrap the property
 map in one that does the casts back and forth between int and short.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2566#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC