Back to index

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 35 of file HDFdataset.cc.

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