Back to index

salome-kernel  6.5.0
Functions
HDFfile.cc File Reference
#include "hdfi.h"
#include <unistd.h>
#include <string.h>
#include <iostream>
#include "HDFfile.hxx"
#include "HDFexception.hxx"

Go to the source code of this file.

Functions

herr_t file_attr (hid_t loc_id, const char *attr_name, void *operator_data)

Function Documentation

herr_t file_attr ( hid_t  loc_id,
const char *  attr_name,
void *  operator_data 
)

Definition at line 40 of file HDFfile.cc.

{
   *(char**)operator_data = new char[strlen(attr_name)+1];
   strcpy(*(char**)operator_data, attr_name);
   return 1;
}