//-------------------------------------------------------------------------- // Function: H5Object::getFileName ///\brief Gets the name of the file, in which this HDF5 object belongs. ///\return File name ///\exception H5::IdComponentException // Programmer Binh-Minh Ribler - Jul, 2004 //-------------------------------------------------------------------------- H5std_string H5Object::getFileName() const { try { return(p_get_file_name()); } catch (IdComponentException E) { throw FileIException(inMemFunc("getFileName"), E.getDetailMsg()); } }
//-------------------------------------------------------------------------- // Function: H5Location::getFileName ///\brief Gets the name of the file, in which this HDF5 object belongs. ///\return File name ///\exception H5::LocationException // Programmer Binh-Minh Ribler - Jul, 2004 //-------------------------------------------------------------------------- H5std_string H5Location::getFileName() const { try { return(p_get_file_name()); } catch (LocationException E) { throw FileIException(inMemFunc("getFileName"), E.getDetailMsg()); } }