/usr/include/ossim/base/ossimKeyword.h is in libossim-dev 1.7.21-4.
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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Ken Melero
// Description: This class defines a keyword.
// NOTE: The keywordlist class cleans up all allocated
// memory from instantiating a keyword.
//
//********************************************************************
// $Id: ossimKeyword.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimKeyword_HEADER
#define ossimKeyword_HEADER
#include <ossim/base/ossimString.h>
class OSSIMDLLEXPORT ossimKeyword
{
public:
ossimKeyword();
ossimKeyword(const char* key, const char* description);
ossimKeyword(const char* key, const char* description, const char* value);
ossimKeyword(const ossimKeyword& src);
~ossimKeyword();
const ossimKeyword& operator=(const ossimKeyword& kw);
operator const char*() const;
const char* key() const;
const char* description() const;
const char* value() const;
ossimString keyString() const;
ossimString descriptionString() const;
ossimString valueString() const;
void setValue(const char* val);
void setValue(const ossimString& val);
void setDescription(const char* desc);
void setDescription(const ossimString& desc);
friend OSSIM_DLL std::ostream& operator<<(std::ostream& os, const ossimKeyword& kw);
private:
ossimString theKey;
ossimString theDesc;
ossimString theValue;
};
#endif
|