/// Returns the class of the property list.
Returns the class of the property list.
Returns the class of the property list .
pub fn class(&self) -> Result<PropertyListClass> {
        h5lock!({
            let class_id = h5check(H5Pget_class(self.id()))?;
            let buf = H5Pget_class_name(class_id);
            if buf.is_null() {
                return Err(Error::query().unwrap_or_else(|| "invalid property class".into()));
            }
            let name = string_from_cstr(buf);
            h5_free_memory(buf as _);
            PropertyListClass::from_str(&name)
        })
    }
pub fn class ( & self ) -> Result < PropertyListClass > { h5lock ! ( { let class_id h5check ( H5Pget_class ( self id ( ) ) ) let buf H5Pget_class_name ( class_id ) if buf is_null ( ) { return Err ( Error query ( ) unwrap_or_else ( " " into ( ) ) ) } let name string_from_cstr ( buf ) h5_free_memory ( buf as ) PropertyListClass from_str ( name ) } ) }
Returns the class of the property list.
Returns the class of the property list .
&self