/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2011 Sandro Santilli * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * ********************************************************************** * * - Monitor class sizes * **********************************************************************/ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace geos; #define check(x) \ { std::cout << "Size of " << #x << " is " << sizeof(x) << std::endl; } int main() { check(geomgraph::Depth); check(geomgraph::DirectedEdge); check(geomgraph::DirectedEdgeStar); check(geomgraph::Edge); check(geomgraph::EdgeEnd); check(geomgraph::PlanarGraph); check(geomgraph::TopologyLocation); check(geomgraph::index::SweepLineEvent); check(noding::NodedSegmentString); check(noding::snapround::HotPixel); check(geom::Geometry); check(geom::Point); check(geom::LineString); check(geom::LinearRing); check(geom::Polygon); check(geom::GeometryCollection); check(geom::MultiPoint); check(geom::MultiLineString); check(geom::MultiPolygon); check(geom::CoordinateSequence); check(triangulate::quadedge::QuadEdge); check(triangulate::quadedge::QuadEdgeQuartet); check(triangulate::quadedge::Vertex); check(operation::overlayng::Edge); check(operation::overlayng::EdgeSourceInfo); check(operation::overlayng::OverlayLabel); check(int64_t); }