Hi Robert, Well I moved the PathIterator to public also for the PluginImageWriter (another submission).
Don't you think list<std::string> is a bit a burden (I mean to copy a path into small strings istead of just iterating over the original string)? My "models" for this were actually boost.filesystem and C++0x. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ ----- "Robert Osfield" <[email protected]> a écrit : > Hi Sukender, > > I've merged the move of the functions into the FileNameUtils header, > but moved the declaration of PathIterator back into the .cpp as right > now there is only one function using this class and it's within this > .cpp. If we need this class in plugin or elsewhere in the OSG then > I'll enterain the posibility of moving it into header, but I think my > preference would be to simply to have a function pass back a > list<std::string> and let users iterator of this. > > Robert. > > On Thu, Apr 7, 2011 at 12:59 PM, Sukender <[email protected]> wrote: > > Hi Robert, > > > > Here is a tiny update to FileNameUtils. It brings getPathRoot() and > isAbsolutePath() and PathIterator to the public side of the lib. > > Changes trunk rev 12262. > > > > Cheers, > > > > Sukender > > PVLE - Lightweight cross-platform game engine - > http://pvle.sourceforge.net/ > > > > _______________________________________________ > > osg-submissions mailing list > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
