forked from Unidata/netcdf-cxx4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathncGroupAtt.h
45 lines (32 loc) · 1.03 KB
/
ncGroupAtt.h
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
#include "ncAtt.h"
#include "netcdf.h"
#ifndef NcGroupAttClass
#define NcGroupAttClass
namespace netCDF
{
class NcGroup; // forward declaration.
/*! Class represents a netCDF group attribute */
class NcGroupAtt : public NcAtt
{
public:
/*! assignment operator */
NcGroupAtt& operator= (const NcGroupAtt& rhs);
/*! Constructor generates a \ref isNull "null object". */
NcGroupAtt ();
/*! The copy constructor. */
NcGroupAtt(const NcGroupAtt& rhs) ;
/*!
Constructor for an existing global attribute.
\param grp Parent Group object.
\param index The index (id) of the attribute.
*/
NcGroupAtt(const NcGroup& grp, const int index);
/*! equivalence operator */
bool operator== (const NcGroupAtt& rhs);
/*! comparator operator */
friend bool operator<(const NcGroupAtt& lhs,const NcGroupAtt& rhs);
/*! comparator operator */
friend bool operator>(const NcGroupAtt& lhs,const NcGroupAtt& rhs);
};
}
#endif