NetCDF-C++  4.3.1-developer
ncGroupAtt.h
1 #include "ncAtt.h"
2 #include "netcdf.h"
3 
4 #ifndef NcGroupAttClass
5 #define NcGroupAttClass
6 
7 namespace 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
NcGroupAtt & operator=(const NcGroupAtt &rhs)
assignment operator
Definition: ncGroupAtt.cpp:27
friend bool operator>(const NcGroupAtt &lhs, const NcGroupAtt &rhs)
comparator operator
Definition: ncGroupAtt.cpp:17
friend bool operator<(const NcGroupAtt &lhs, const NcGroupAtt &rhs)
comparator operator
Definition: ncGroupAtt.cpp:11
C++ API for netCDF4.
Definition: ncAtt.h:9
Class represents a netCDF group.
Definition: ncGroup.h:27
Class represents a netCDF group attribute.
Definition: ncGroupAtt.h:12
NcGroupAtt()
Constructor generates a null object.
Definition: ncGroupAtt.cpp:40
bool operator==(const NcGroupAtt &rhs)
equivalence operator
Definition: ncGroupAtt.cpp:45
Abstract base class represents inherited by ncVarAtt and ncGroupAtt.
Definition: ncAtt.h:13

Return to the Main Unidata NetCDF page.
Generated on Fri Nov 11 2016 15:28:29 for NetCDF-C++. NetCDF is a Unidata library.