/usr/include/ncVarAtt.h is in libnetcdf-c++4-dev 4.2.1-3.
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 | #include "ncAtt.h"
#include "netcdf.h"
#ifndef NcVarAttClass
#define NcVarAttClass
namespace netCDF
{
class NcGroup; // forward declaration.
class NcVar; // forward declaration.
/*! Class represents a netCDF attribute local to a netCDF variable. */
class NcVarAtt : public NcAtt
{
public:
/*! assignment operator */
NcVarAtt& operator= (const NcVarAtt& rhs);
/*! Constructor generates a \ref isNull "null object". */
NcVarAtt ();
/*! The copy constructor. */
NcVarAtt(const NcVarAtt& rhs) ;
/*!
Constructor for an existing local attribute.
\param grp Parent Group object.
\param NcVar Parent NcVar object.
\param index The index (id) of the attribute.
*/
NcVarAtt(const NcGroup& grp, const NcVar& ncVar, const int index);
/*! Returns the NcVar parent object. */
NcVar getParentVar() const;
/*! comparator operator */
friend bool operator<(const NcVarAtt& lhs,const NcVarAtt& rhs);
/*! comparator operator */
friend bool operator>(const NcVarAtt& lhs,const NcVarAtt& rhs);
};
}
#endif
|