summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-02 22:05:25 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-02 22:05:25 (GMT)
commitdb8f63f552de78aed3a0a773240380445519fdaf (patch)
tree84fd4d92821a9d45a9cee88a7231753a2c1b8118 /c++/src/H5PropList.h
parent51455f42822a4bfba5ceaf827a8e4a6a98d1c408 (diff)
downloadhdf5-db8f63f552de78aed3a0a773240380445519fdaf.zip
hdf5-db8f63f552de78aed3a0a773240380445519fdaf.tar.gz
hdf5-db8f63f552de78aed3a0a773240380445519fdaf.tar.bz2
[svn-r8465] Purpose:
Add more C++ wrappers - incrementally check-in Description: Added wrapper for many C property list functions and added Doxygen documentation to existing C++ functions in these files. This is an incremental check-in to preserve the code, corresponding tests will follow in a few weeks. For H5PropList.h and H5PropList.cpp, added C++ wrappers for: H5Pexist H5Pclose_class H5Pget H5Pget_size H5Pget_class_name H5Pget_nprops H5Pset H5Pisa_class H5Premove H5Pequal H5Pget_class_parent For H5FaccProp.h and H5FaccProp.cpp, added C++ wrappers for: H5Ps[g]et_driver H5Ps[g]et_family_offset H5Ps[g]et_fapl_core H5Ps[g]et_fapl_family H5Ps[g]et_fapl_stream H5Ps[g]et_sieve_buf_size H5Ps[g]et_meta_block_size H5Ps[g]et_alignment H5Ps[g]et_multi_type H5Ps[g]et_fclose_degree H5Pset_fapl_stdio H5Pset_fapl_split H5Pset_fapl_log H5Pset_fapl_sec2 For H5FcreatProp.h and H5FcreatProp.cpp, added C++ wrappers for: H5Pfill_value_defined H5Premove_filter H5Pget_filter_by_id H5Pmodify_filter H5Pall_filters_avail H5Pset_shuffle H5Ps[g]et_alloc_time H5Ps[g]et_fill_time H5Pset_fletcher32 For H5DxferProp.h and H5DxferProp.cpp, added C++ wrappers for: H5Ps[g]et_dxpl_multi H5Ps[g]et_small_data_block_size H5Ps[g]et_hyper_vector_size H5Ps[g]et_edc_check Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) SunOS 5.8-64 (sol)
Diffstat (limited to 'c++/src/H5PropList.h')
-rw-r--r--c++/src/H5PropList.h37
1 files changed, 35 insertions, 2 deletions
diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h
index f796959..1c7d934 100644
--- a/c++/src/H5PropList.h
+++ b/c++/src/H5PropList.h
@@ -43,13 +43,46 @@ class H5_DLLCPP PropList : public IdComponent {
PropList& operator=( const PropList& rhs );
// Copies a property from one property list or property class to another
- void copyProp( PropList& dest, PropList& src, const string& name);
- void copyProp( PropList& dest, PropList& src, const char* name);
+ void copyProp( PropList& dest, PropList& src, const string& name) const;
+ void copyProp( PropList& dest, PropList& src, const char* name) const;
// Gets the class of this property list, i.e. H5P_FILE_CREATE,
// H5P_FILE_ACCESS, ...
hid_t getClass() const;
+ /// Query the existance of a property in a property object.
+ bool propExist(const char* name) const;
+ bool propExist(const string& name) const;
+
+ void closeClass() const;
+
+ void getProperty(const char* name, void* value) const;
+ string getProperty(const char* name) const;
+ void getProperty(const string& name, void* value) const;
+ string getProperty(const string& name) const;
+
+ size_t getPropSize(const char *name) const;
+ size_t getPropSize(const string& name) const;
+
+ string getClassName() const;
+
+ size_t getNumProps() const;
+
+ void setProperty(const char* name, void* charptr) const;
+ void setProperty(const char* name, const char* value) const;
+ void setProperty(const char* name, string& strg) const;
+ void setProperty(const string& name, void* value) const;
+ void setProperty(const string& name, string& strg) const;
+
+ bool isAClass(const PropList& prop_class) const;
+
+ void removeProp(const char *name) const;
+ void removeProp(const string& name) const;
+
+ bool operator==(const PropList& rhs) const;
+
+ PropList getClassParent() const;
+
// Used by the API to close the property list
void p_close() const;