[Gdal-dev] Some thoughts on C# SWIG wrapper

Richard Matsunaga richard.matsunaga at waypointinfo.com
Fri Mar 2 16:33:17 EST 2007

I've just started using the C# bindings and have some questions.
1. Is the casing used in the bindings a by-product of SWIG, or can this be
changed to follow the usual conventions? e.g. the 'gdal' class, the 'GDAL'
namespace, the use of underscores
2. Is it possible to make enums out of the constants (since the values are
dynamically generated, even separate classes would be better), so they have
some useful context? It makes it much harder for non GDAL/OGR experts to
find the correct values.
3. Might be worth running the assemblies through FxCop to find egregious
violations of standards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20070302/2e3c5c2a/attachment.html

More information about the Gdal-dev mailing list