From 1853db4807262d84f1dff7ac2a5391c96e733479 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 28 May 2010 16:50:29 +0000 Subject: [PATCH] Converted osg::notify to OSG_INFO etc. --- src/osgPlugins/osga/OSGA_Archive.cpp | 64 ++++++++++++++-------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/osgPlugins/osga/OSGA_Archive.cpp b/src/osgPlugins/osga/OSGA_Archive.cpp index ca86b79ad..192ca2b09 100644 --- a/src/osgPlugins/osga/OSGA_Archive.cpp +++ b/src/osgPlugins/osga/OSGA_Archive.cpp @@ -145,9 +145,9 @@ OSGA_Archive::IndexBlock* OSGA_Archive::IndexBlock::read(std::istream& in, bool osg::swapBytes(reinterpret_cast(&indexBlock->_offsetOfNextAvailableSpace), sizeof(indexBlock-> _offsetOfNextAvailableSpace)); } -// osg::notify(osg::INFO)<<"indexBlock->_blockSize="<_blockSize<_filePositionNextIndexBlock="<_filePositionNextIndexBlock<_offsetOfNextAvailableSpace="<_offsetOfNextAvailableSpace<_blockSize="<_blockSize<_filePositionNextIndexBlock="<_filePositionNextIndexBlock<_offsetOfNextAvailableSpace="<_offsetOfNextAvailableSpace<allocateData(indexBlock->_blockSize); if (indexBlock->_data) @@ -172,18 +172,18 @@ OSGA_Archive::IndexBlock* OSGA_Archive::IndexBlock::read(std::istream& in, bool ptr += sizeof(unsigned int); ptr += filename_size; - osg::notify(osg::INFO)<<"filename size="<(&_blockSize), sizeof(_blockSize)); out.write(reinterpret_cast(&_filePositionNextIndexBlock), sizeof(_filePositionNextIndexBlock)); @@ -269,7 +269,7 @@ void OSGA_Archive::IndexBlock::write(std::ostream& out) if( _filePosition < currentPos ) // move file ptr to the end of file out.seekp( STREAM_POS( currentPos ) ); - osg::notify(osg::INFO)<<"OSGA_Archive::IndexBlock::write() end"<(_input).rdbuf(fin.rdbuf()); return _open(_input); } @@ -439,8 +439,8 @@ bool OSGA_Archive::_open(std::istream& input) osg::swapBytes(reinterpret_cast(&_version),sizeof(_version)); } - osg::notify(osg::INFO)<<"OSGA_Archive::open() doEndianSwap="<first)<<" pos="<<(int)((mitr->second).first)<<" size="<<(int)((mitr->second).second)<first)<<" pos="<<(int)((mitr->second).first)<<" size="<<(int)((mitr->second).second)<getReaderWriterForExtension(getLowerCaseFileExtension(readFunctor._filename)); if (!rw) { - osg::notify(osg::INFO)<<"OSGA_Archive::readObject(obj, "<second.first ) ); @@ -762,18 +762,18 @@ ReaderWriter::WriteResult OSGA_Archive::write(const WriteFunctor& writeFunctor) if (_status!=WRITE) { - osg::notify(osg::INFO)<<"OSGA_Archive::write(obj, "<getReaderWriterForExtension(getLowerCaseFileExtension(writeFunctor._filename)); if (!rw) { - osg::notify(osg::INFO)<<"OSGA_Archive::write(obj, "<(this)->write(WriteObjectFunctor(obj, fileName, options)); } ReaderWriter::WriteResult OSGA_Archive::writeImage(const osg::Image& image,const std::string& fileName,const Options* options) const { - osg::notify(osg::INFO)<<"OSGA_Archive::writeImage(obj, "<(this)->write(WriteImageFunctor(image, fileName, options)); } ReaderWriter::WriteResult OSGA_Archive::writeHeightField(const osg::HeightField& heightField,const std::string& fileName,const Options* options) const { - osg::notify(osg::INFO)<<"OSGA_Archive::writeHeightField(obj, "<(this)->write(WriteHeightFieldFunctor(heightField, fileName, options)); } ReaderWriter::WriteResult OSGA_Archive::writeNode(const osg::Node& node,const std::string& fileName,const Options* options) const { - osg::notify(osg::INFO)<<"OSGA_Archive::writeNode(obj, "<(this)->write(WriteNodeFunctor(node, fileName, options)); }