NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NcGroupAtt.h
Go to the documentation of this file.
1 
16 #ifndef INC_netcdf_NcGroupAtt_h
17 #define INC_netcdf_NcGroupAtt_h
18 
19 #include "NcAtt.h"
20 
21 namespace netcdf {
22 
23 class NcGroup;
24 
25 
26 class NcGroupAtt : public NcAtt
27 {
28 
29  public:
30 
31  NcGroupAtt (
32  int const useFileID,
33  NcGroup const & grp,
34  const int index,
35  std::string const attName);
36 
38  NcGroupAtt (NcGroupAtt const & rhs)
39  : NcAtt (rhs)
40  {
41  }
42 
44  NcGroupAtt (
45  int const useGroupID,
46  NcGroupAtt const & rhs);
47 
50  {
51  NcAtt::operator=(rhs);
52  return *this;
53  }
54 
55  private:
56 
57 
58 };
59 
60 
61 } // namespace netcdf
62 
63 #endif // NcGroupAttClass
NcGroupAtt(NcGroupAtt const &rhs)
Simple copy of attribute; does not affect file.
Definition: NcGroupAtt.h:38
NcGroupAtt & operator=(NcGroupAtt const &rhs)
Copy attribute to this variable.
Definition: NcGroupAtt.h:49
NcGroupAtt(int const useFileID, NcGroup const &grp, const int index, std::string const attName)
attribute name
Definition: NcGroupAtt.cpp:25
Represents a netCDF attribute.
Definition: NcAtt.h:27
Represents a netCDF group attribute.
Definition: NcGroupAtt.h:26
NcAtt & operator=(NcAtt const &rhs)
Copy attribute to this variable.
Definition: NcAtt.cpp:80
Represents a netCDF group.
Definition: NcGroup.h:36