summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-20 20:52:36 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-20 20:52:36 (GMT)
commit7d3bfaaaa31ad4ead22a282f09f40502147ecd01 (patch)
tree375bcc610f260903d990d09b720c1e13e31a5697 /c++/src/H5Attribute.h
parentf1bc8e830e46a23705d5ec5eee2fbc02cc8467ae (diff)
downloadhdf5-7d3bfaaaa31ad4ead22a282f09f40502147ecd01.zip
hdf5-7d3bfaaaa31ad4ead22a282f09f40502147ecd01.tar.gz
hdf5-7d3bfaaaa31ad4ead22a282f09f40502147ecd01.tar.bz2
[svn-r8554] Purpose:
Add documentation and an overloaded function - incrementally check-in Description: Added Attribute::getName that takes no argument for user's convenience. Also added Doxygen documentation to existing functions in H5Attribute.cpp. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows 2000 Misc. update:
Diffstat (limited to 'c++/src/H5Attribute.h')
-rw-r--r--c++/src/H5Attribute.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index 7053f8c..a027fc3 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -36,11 +36,12 @@ class H5_DLLCPP Attribute : public AbstractDs {
// Gets the name of this attribute.
ssize_t getName( size_t buf_size, string& attr_name ) const;
string getName( size_t buf_size ) const; // returns name, not its length
+ string getName() const; // returns name, no argument
// do not inherit iterateAttrs from H5Object
int iterateAttrs() { return 0; }
- // Used by the API to appropriately close a attribute
+ // Used by the API to appropriately close an attribute
virtual void p_close() const;
// Creates a copy of an existing attribute using the attribute id
@@ -57,6 +58,9 @@ class H5_DLLCPP Attribute : public AbstractDs {
// defined in AbstractDs for generic datatype and specific
// sub-types
virtual hid_t p_getType() const;
+
+ // Default constructor
+ Attribute();
};
#ifndef H5_NO_NAMESPACE
}