/usr/include/ossim/base/ossimContainerEvent.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 | //*******************************************************************
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimContainerEvent.h 19966 2011-08-16 18:12:56Z gpotts $
#ifndef ossimContainerEvent_HEADER
#define ossimContainerEvent_HEADER
#include <ossim/base/ossimEvent.h>
#include <ossim/base/ossimEventIds.h>
#include <ossim/base/ossimRefPtr.h>
#include <vector>
class OSSIMDLLEXPORT ossimContainerEvent : public ossimEvent
{
public:
typedef std::vector<ossimRefPtr<ossimObject> > ObjectList;
/** constuctor */
ossimContainerEvent(ossimObject* obj1,// the object firing the event.
long id);
void setObjectList(ossimObject* obj);
void setObjectList(ObjectList& objects);
ObjectList& getObjectList(){return m_objectList;}
const ObjectList& getObjectList()const{return m_objectList;}
protected:
/*!
* This is the object associated with the container event.
* if this was an add then it s the object added to the
* container.
*/
ObjectList m_objectList;
TYPE_DATA
};
#endif /* end of: "#ifndef ossimContainerEvent_HEADER" */
|