NetCDF-C++ 4.3.1
ncGroupAtt.h
1#include "ncAtt.h"
2#include "netcdf.h"
3
4#ifndef NcGroupAttClass
5#define NcGroupAttClass
6
7namespace netCDF
8{
9 class NcGroup; // forward declaration.
10
12 class NcGroupAtt : public NcAtt
13 {
14 public:
15
17 NcGroupAtt& operator= (const NcGroupAtt& rhs);
18
20 NcGroupAtt ();
21
23 NcGroupAtt(const NcGroupAtt& rhs) ;
24
30 NcGroupAtt(const NcGroup& grp, const int index);
31
33 bool operator== (const NcGroupAtt& rhs);
34
36 friend bool operator<(const NcGroupAtt& lhs,const NcGroupAtt& rhs);
37
39 friend bool operator>(const NcGroupAtt& lhs,const NcGroupAtt& rhs);
40
41 };
42
43}
44
45#endif
Abstract base class represents inherited by ncVarAtt and ncGroupAtt.
Definition: ncAtt.h:14
Class represents a netCDF group attribute.
Definition: ncGroupAtt.h:13
NcGroupAtt & operator=(const NcGroupAtt &rhs)
assignment operator
Definition: ncGroupAtt.cpp:27
bool operator==(const NcGroupAtt &rhs)
equivalence operator
Definition: ncGroupAtt.cpp:45
friend bool operator<(const NcGroupAtt &lhs, const NcGroupAtt &rhs)
comparator operator
Definition: ncGroupAtt.cpp:11
friend bool operator>(const NcGroupAtt &lhs, const NcGroupAtt &rhs)
comparator operator
Definition: ncGroupAtt.cpp:17
NcGroupAtt()
Constructor generates a null object.
Definition: ncGroupAtt.cpp:40
Class represents a netCDF group.
Definition: ncGroup.h:28
C++ API for netCDF4.
Definition: ncAtt.h:10

Return to the Main Unidata NetCDF page.
Generated on Wed Nov 10 2021 15:25:08 for NetCDF-C++. NetCDF is a Unidata library.