[osg-users] ArchiveStatus defined in osgDB/Archive

Robert Osfield robert.osfield at gmail.com
Tue Jul 15 02:29:28 PDT 2008


Hi Biv,

Since Archive inherits from ReaderWriter, the Archive::ArchiveStatus
is the same thing as ReaderWriter::ArchiveStatus.  I guess it's
possibly slightly less confusing to have the functions use
ReaderWriter::ArchiveStatus, but there's not much in it.

Robert.

On Mon, Jul 14, 2008 at 10:39 PM, Gerrick Bivins
<gbivins at objectreservoir.com> wrote:
> Hello All,
> Should the following lines in osgDB/Archive
>
> /** Open an archive for reading or writing.*/
> OSGDB_EXPORT Archive* openArchive(const std::string& filename,
> Archive::ArchiveStatus status, unsigned int indexBlockSizeHint=4096);
>
> /** Open an archive for reading or writing.*/
> OSGDB_EXPORT Archive* openArchive(const std::string& filename,
> Archive::ArchiveStatus status, unsigned int
> indexBlockSizeHint,ReaderWriter::Options* options);
>
>
>  actually be :
> /** Open an archive for reading or writing.*/
> OSGDB_EXPORT Archive* openArchive(const std::string& filename,
> ReaderWriter::ArchiveStatus status, unsigned int indexBlockSizeHint=4096);
>
> /** Open an archive for reading or writing.*/
> OSGDB_EXPORT Archive* openArchive(const std::string& filename,
> ReaderWriter::ArchiveStatus status, unsigned int
> indexBlockSizeHint,ReaderWriter::Options* options);
>
>
> biv
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list