/usr/include/ossim/imaging/ossimArcInfoGridWriter.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimArcInfoGridWriter.h 16081 2009-12-10 20:56:36Z eshirschorn $
#ifndef ossimArcInfoGridWriter_HEADER
#define ossimArcInfoGridWriter_HEADER
#include <ossim/imaging/ossimImageFileWriter.h>
#include <ossim/base/ossimKeywordlist.h>
//*******************************************************************
// CLASS: ossimArdcInfoGridWriterFactory
//*******************************************************************
class OSSIM_DLL ossimArcInfoGridWriter : public ossimImageFileWriter
{
public:
ossimArcInfoGridWriter();
virtual ~ossimArcInfoGridWriter();
ossimArcInfoGridWriter(ossimImageSource *inputSource,
const ossimFilename& filename);
virtual bool isOpen()const;
virtual bool open();
virtual void close();
/*!
* saves the state of the object.
*/
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
/*!
* Method to the load (recreate) the state of an object from a keyword
* list. Return true if ok or false on error.
*/
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
/**
* Returns a 3-letter extension from the image type descriptor
* (theOutputImageType) that can be used for image file extensions.
*
* @param imageType string representing image type.
*
* @return the 3-letter string extension.
*/
virtual ossimString getExtension() const;
private:
virtual bool writeFile();
virtual bool writeBinaryAigHeader();
virtual bool writeBinaryAigBounds();
virtual bool writeBinaryAigStats();
ossimIpt theOutputTileSize;
TYPE_DATA
};
#endif
|