packages/Utils/utils/Serial_HDF5_Writer.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Write a string to the output file.
 *
 * \param name name of the scalar data
 * \param value data to write
 */
\brief Write a string to the output file.
\param name name of the scalar data
\param value data to write
\ brief Write a string to the output file . \ param name name of the scalar data \ param value data to write
void Serial_HDF5_Writer::write(const std_string &name,
                               const std_string &value)
{
    REQUIRE(!is_readonly());
    if (b_node != b_master)
        return;
    H5LTmake_dataset_string(current_loc(), name.c_str(), value.c_str());
}
void Serial_HDF5_Writer :: write ( const std_string & name , const std_string & value ) { REQUIRE ( ! is_readonly ( ) ) ; if ( b_node != b_master ) return ; H5LTmake_dataset_string ( current_loc ( ) , name . c_str ( ) , value . c_str ( ) ) ; }
\brief Write a string to the output file.
\ brief Write a string to the output file .
// write the data