[geos-devel] Include Refactoring
Ferdinando Villa
fvilla at zoo.uvm.edu
Wed Feb 12 14:05:06 EST 2003
what about
namespace geos {
....
}
in all the headers, and
using namespace geos;
in all the implementation files just after the #include's? Almost as
easy as specifying a 100kb Java classpath :)
ciao f
On Wed, 2003-02-12 at 13:58, Martin Davis wrote:
> Good point, Fernandino - we'll look into doing this. I'm no expert on namespaces, but surely it can't be too hard? Oh - I forgot - this is C++... 8^)
>
> Martin Davis, Senior Technical Specialist
> Vivid Solutions Inc.
> Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
> Phone: (250) 385 6040 Fax: (250) 385 6046
> EMail: mbdavis at vividsolutions.com Web: www.vividsolutions.com
>
>
> > -----Original Message-----
> > From: Ferdinando Villa [mailto:fvilla at zoo.uvm.edu]
> > Sent: Wednesday, February 12, 2003 10:43 AM
> > To: GEOS Development List
> > Subject: Re: [geos-devel] Include Refactoring
> >
> >
> > I'll just add my usual plea for a geos namespace here - looks like the
> > right place to do it!
> >
> > ciao f
> >
> > On Wed, 2003-02-12 at 12:24, Paul Ramsey wrote:
> > > For the API headers, it would probably be wise to do a mass
> > renaming, so
> > > that all the headers which get installed have a geos_
> > prefix. That way
> > > we can lower our odds of name collision on systems we install on.
> > > (Martin, insert comment about beauty of Java packaging here. :)
> > >
> > > I was just looking at what is required to do an alpha
> > release of geos
> > > (to go alongside a pre-release of geos-enabled postgis) and having
> > > nicely named includes would be good.
> > >
> > > Thoughts?
> > >
> > > P.
> > --
> > ferdinando villa, ph.d. associate professor
> > gund institute for ecological economics, university of vermont
> > 590 main street, burlington, vt 05405 phone: (802) 656-2972
> >
> >
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> >
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
--
ferdinando villa, ph.d. associate professor
gund institute for ecological economics, university of vermont
590 main street, burlington, vt 05405 phone: (802) 656-2972
More information about the geos-devel
mailing list