/usr/include/ossim/base/ossimId.h is in libossim-dev 1.8.16-3+b1.
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimId.h 20314 2011-12-01 21:46:37Z oscarkramer $
#ifndef ossimId_HEADER
#define ossimId_HEADER
#include <iosfwd>
#include <ossim/base/ossimConstants.h>
class OSSIM_DLL ossimId
{
public:
friend OSSIM_DLL std::ostream& operator <<(std::ostream &out, const ossimId& data);
explicit ossimId(ossim_int64 id = 0)
:theId(id)
{}
virtual ~ossimId(){}
virtual void print(std::ostream& out)const;
void setId(ossim_int64 id){theId = id;}
ossim_int64 getId()const{return theId;}
bool operator ==(const ossimId& rhs)const
{
return (theId == rhs.theId);
}
bool operator !=(const ossimId& rhs)const
{
return (theId != rhs.theId);
}
bool operator == (ossim_int64 rhs) const
{
return (theId == rhs);
}
bool operator != (ossim_int64 rhs) const
{
return (theId != rhs);
}
bool operator <(const ossimId& rhs)const
{
return (theId < rhs.theId);
}
bool operator <=(const ossimId& rhs)const
{
return (theId <= rhs.theId);
}
bool operator >(const ossimId& rhs)const
{
return (theId > rhs.theId);
}
bool operator >=(const ossimId& rhs)const
{
return (theId >= rhs.theId);
}
bool operator <(ossim_int64 rhs)const
{
return (theId < rhs);
}
bool operator >(ossim_int64 rhs)const
{
return (theId > rhs);
}
bool operator <=(ossim_int64 rhs)const
{
return (theId <= rhs);
}
bool operator >=(ossim_int64 rhs)const
{
return (theId >= rhs);
}
static const ossim_int64 INVALID_ID;
protected:
ossim_int64 theId;
};
#endif
|