Salome HOME
NRI : KERNEL is now defined in KERNELCatalog.
[modules/kernel.git] / src / HDFPersist / HDFattribute.hxx
1 #ifndef HDFATTRIBUTE_HXX
2 #define HDFATTRIBUTE_HXX
3
4 extern "C"
5 {
6 #include "HDFtypes.h"
7 }
8 #include "HDFinternalObject.hxx"
9 #include "HDFcontainerObject.hxx"
10
11 class HDFattribute : public HDFobject
12 {
13 private :
14   HDFinternalObject *_father;
15   hdf_idt _fid;
16   hdf_type _type;
17 public :
18   HDFattribute(char *name,HDFinternalObject *father,hdf_type type);
19
20   void CreateOnDisk();
21   void OpenOnDisk();
22   void CloseOnDisk();
23
24   void WriteOnDisk(void *values);
25   void ReadFromDisk(void *values);
26
27   HDFinternalObject *GetFather();
28   hdf_type GetType();
29 };
30
31 #endif