/usr/include/ossim/base/ossimContainerProperty.h is in libossim-dev 1.7.21-3ubuntu2.
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 | //*******************************************************************
//
// LICENSE: See top level LICENSE.txt
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimContainerProperty.h 12515 2008-02-27 18:16:15Z dburken $
#ifndef ossimContainerProperty_HEADER
#define ossimContainerProperty_HEADER
#include <vector>
#include <ossim/base/ossimRefPtr.h>
#include <ossim/base/ossimProperty.h>
class OSSIMDLLEXPORT ossimContainerProperty : public ossimProperty
{
public:
ossimContainerProperty(const ossimString& name=ossimString(""));
ossimContainerProperty(const ossimContainerProperty& rhs);
virtual ~ossimContainerProperty();
virtual ossimObject* dup()const;
virtual const ossimProperty& assign(const ossimProperty& rhs);
virtual void addChildren(std::vector<ossimRefPtr<ossimProperty> >& propertyList);
virtual void addChild(ossimProperty* propery);
virtual void addStringProperty(const ossimString& name,
const ossimString& value,
bool readOnlyFlag = false);
virtual const ossimContainerProperty* asContainer()const;
virtual ossimContainerProperty* asContainer();
virtual ossimRefPtr<ossimProperty> getProperty(const ossimString& name,
bool recurse=false);
virtual void deleteChildren();
virtual bool setValue(const ossimString& value);
virtual void valueToString(ossimString& valueResult)const;
virtual ossim_uint32 getNumberOfProperties()const;
virtual ossimRefPtr<ossimProperty> getProperty(ossim_uint32 idx);
virtual void getPropertyList(
std::vector<ossimRefPtr<ossimProperty> >& children) const;
ossimRefPtr<ossimXmlNode> toXml()const;
protected:
std::vector<ossimRefPtr<ossimProperty> > theChildPropertyList;
virtual void copyList(const ossimContainerProperty& rhs);
TYPE_DATA
};
#endif
|