/usr/include/ossim/base/ossimFilenameProperty.h is in libossim-dev 1.8.16-4ubuntu1.
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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts (gpotts@imagelinks.com)
//
//*************************************************************************
// $Id: ossimFilenameProperty.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimFilenameProperty_HEADER
#define ossimFilenameProperty_HEADER
#include <vector>
#include <ossim/base/ossimProperty.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimString.h>
class OSSIMDLLEXPORT ossimFilenameProperty : public ossimProperty
{
public:
enum ossimFilenamePropertyIoType
{
ossimFilenamePropertyIoType_NOT_SPECIFIED = 0,
ossimFilenamePropertyIoType_INPUT = 1,
ossimFilenamePropertyIoType_OUTPUT = 2
};
ossimFilenameProperty(const ossimString& name = ossimString(""),
const ossimFilename& value = ossimFilename(""),
const std::vector<ossimString>& filterList = std::vector<ossimString>());
ossimFilenameProperty(const ossimFilenameProperty& rhs);
virtual ~ossimFilenameProperty();
ossimObject* dup()const;
virtual void valueToString(ossimString& valueResult)const;
virtual bool setValue(const ossimString& value);
const ossimFilenameProperty& operator = (ossimFilenameProperty& rhs);
virtual const ossimProperty& assign(const ossimProperty& rhs);
void clearFilterList();
ossim_uint32 getNumberOfFilters()const;
void setFilter(ossim_uint32 idx,
const ossimString& filterValue);
ossimString getFilter(ossim_uint32 idx)const;
ossimString getFilterListAsString(const ossimString& separator=ossimString("\n"))const;
const std::vector<ossimString>& getFilterList()const;
void addFilter(const ossimString& filter);
void setIoType(ossimFilenamePropertyIoType ioType);
ossimFilenamePropertyIoType getIoType()const;
bool isIoTypeInput()const;
bool isIoTypeOutput()const;
protected:
ossimFilename theValue;
std::vector<ossimString> theFilterList;
ossimFilenamePropertyIoType theIoType;
TYPE_DATA
};
#endif
|