37 bool operator==(
const PropList &rhs)
const;
43 void closeClass()
const;
46 void copy(
const PropList &like_plist);
49 void copyProp(
PropList &dest,
const char *name)
const;
50 void copyProp(
PropList &dest,
const H5std_string &name)
const;
54 void copyProp(
PropList &dest,
PropList &src,
const H5std_string &name)
const;
58 hid_t getClass()
const;
61 H5std_string getClassName()
const;
67 size_t getNumProps()
const;
70 void getProperty(
const char *name,
void *value)
const;
71 void getProperty(
const H5std_string &name,
void *value)
const;
72 H5std_string getProperty(
const char *name)
const;
73 H5std_string getProperty(
const H5std_string &name)
const;
76 void setProperty(
const char *name,
const char *charptr)
const;
77 void setProperty(
const char *name,
const void *value)
const;
78 void setProperty(
const char *name,
const H5std_string &strg)
const;
79 void setProperty(
const H5std_string &name,
const void *value)
const;
80 void setProperty(
const H5std_string &name,
const H5std_string &strg)
const;
82 void setProperty(
const char *name,
void *value)
const;
83 void setProperty(
const char *name, H5std_string &strg)
const;
84 void setProperty(
const H5std_string &name,
void *value)
const;
85 void setProperty(
const H5std_string &name, H5std_string &strg)
const;
88 size_t getPropSize(
const char *name)
const;
89 size_t getPropSize(
const H5std_string &name)
const;
92 bool isAClass(
const PropList &prop_class)
const;
95 bool propExist(
const char *name)
const;
96 bool propExist(
const H5std_string &name)
const;
99 void removeProp(
const char *name)
const;
100 void removeProp(
const H5std_string &name)
const;
116 virtual hid_t getId()
const;
121 #ifndef DOXYGEN_SHOULD_SKIP_THIS
124 static void deleteConstants();
130 virtual void p_setId(
const hid_t new_id);
139 friend void f_PropList_setId(
PropList *plist, hid_t new_id);
141 #endif // DOXYGEN_SHOULD_SKIP_THIS
146 #endif // H5PropList_H
size_t getNumProps() const
Returns the number of properties in this property list or class.
Definition: H5PropList.cpp:573
Exception provides wrappers of HDF5 error handling functions.
Definition: H5Exception.h:27
bool propExist(const char *name) const
Query the existence of a property in a property object.
Definition: H5PropList.cpp:376
Definition: H5Exception.h:123
void closeClass() const
Close a property list class.
Definition: H5PropList.cpp:416
void incRefCount() const
Increment reference counter for the id of this object.
Definition: H5IdComponent.cpp:54
virtual ~PropList()
Properly terminates access to this property list.
Definition: H5PropList.cpp:827
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5PropList.h:104
size_t getPropSize(const char *name) const
Query the size of a property in a property list or class.
Definition: H5PropList.cpp:520
void removeProp(const char *name) const
Removes a property from a property list.
Definition: H5PropList.cpp:754
PropList & operator=(const PropList &rhs)
Assignment operator.
Definition: H5PropList.cpp:203
bool operator==(const PropList &rhs) const
Compares this property list or class against the given list or class.
Definition: H5PropList.cpp:786
H5std_string getDetailMsg() const
Returns the detailed message set at the time the exception is thrown.
Definition: H5Exception.cpp:264
PropList()
Default constructor: creates a stub property list object.
Definition: H5PropList.cpp:89
void getProperty(const char *name, void *value) const
Query the value of a property in a property list.
Definition: H5PropList.cpp:437
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:27
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:26
PropList getClassParent() const
Returns the parent class of a generic property class.
Definition: H5PropList.cpp:807
virtual hid_t getId() const
Get the id of this property list.
Definition: H5PropList.cpp:292
hid_t getClass() const
Returns the class of this property list, i.e. H5P_FILE_CREATE...
Definition: H5PropList.cpp:354
Definition: H5AbstractDs.cpp:33
H5std_string getClassName() const
Return the name of a generic property list class.
Definition: H5PropList.cpp:552
void setProperty(const char *name, const char *charptr) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: H5PropList.cpp:632
virtual void close()
Closes the property list if it is not a default one.
Definition: H5PropList.cpp:334
void copy(const PropList &like_plist)
Makes a copy of an existing property list.
Definition: H5PropList.cpp:174
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:24
bool isAClass(const PropList &prop_class) const
Determines whether a property list is a certain class.
Definition: H5PropList.cpp:733
void copyProp(PropList &dest, const char *name) const
Copies a property from this property list or class to another.
Definition: H5PropList.cpp:219
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|