ident
This commit is contained in:
parent
dc4cc8f197
commit
7e8207236e
1 changed files with 26 additions and 26 deletions
|
@ -36,35 +36,35 @@
|
||||||
|
|
||||||
namespace boost { namespace spirit { namespace traits {
|
namespace boost { namespace spirit { namespace traits {
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct is_container<mapnik::geometry_type const> : mpl::true_ {} ;
|
struct is_container<mapnik::geometry_type const> : mpl::true_ {} ;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct container_iterator<mapnik::geometry_type const>
|
struct container_iterator<mapnik::geometry_type const>
|
||||||
{
|
{
|
||||||
typedef mapnik::util::vertex_iterator<double> type;
|
typedef mapnik::util::vertex_iterator<double> type;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct begin_container<mapnik::geometry_type const>
|
struct begin_container<mapnik::geometry_type const>
|
||||||
{
|
{
|
||||||
static mapnik::util::vertex_iterator<double>
|
static mapnik::util::vertex_iterator<double>
|
||||||
call (mapnik::geometry_type const& g)
|
call (mapnik::geometry_type const& g)
|
||||||
{
|
{
|
||||||
return mapnik::util::vertex_iterator<double>(g.data());
|
return mapnik::util::vertex_iterator<double>(g.data());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct end_container<mapnik::geometry_type const>
|
struct end_container<mapnik::geometry_type const>
|
||||||
{
|
{
|
||||||
static mapnik::util::vertex_iterator<double>
|
static mapnik::util::vertex_iterator<double>
|
||||||
call (mapnik::geometry_type const& g)
|
call (mapnik::geometry_type const& g)
|
||||||
{
|
{
|
||||||
return mapnik::util::vertex_iterator<double>();
|
return mapnik::util::vertex_iterator<double>();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
}}}
|
}}}
|
||||||
|
|
||||||
#endif // CONTAINER_ADAPTER_HPP
|
#endif // CONTAINER_ADAPTER_HPP
|
||||||
|
|
Loading…
Add table
Reference in a new issue