diff --git a/examples/osgarchive/osgarchive.cpp b/examples/osgarchive/osgarchive.cpp index 92ec00de8..2c4fa6996 100644 --- a/examples/osgarchive/osgarchive.cpp +++ b/examples/osgarchive/osgarchive.cpp @@ -140,7 +140,15 @@ int main( int argc, char **argv ) if (list) { - std::cout<<"Cannot list at present."<first<<"\t"<second< FileNamePositionMap; + + const FileNamePositionMap& getFileNamePositionMap() const { return _indexMap; } virtual ReadResult readObject(const std::string& fileName,const Options* options=NULL); virtual ReadResult readImage(const std::string& fileName,const Options* options=NULL); @@ -69,8 +73,6 @@ class OSGDB_EXPORT Archive : public ReaderWriter protected: - typedef std::istream::pos_type pos_type; - typedef std::map FileNamePositionMap; class IndexBlock : public osg::Referenced {