File: ObjectHeader.txt

package info (click to toggle)
hdf5 1.8.13%2Bdocs-15%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 171,908 kB
  • ctags: 30,335
  • sloc: ansic: 387,195; f90: 35,195; sh: 20,035; xml: 17,780; cpp: 13,516; makefile: 1,487; perl: 1,299; yacc: 327; lex: 178; ruby: 37
file content (60 lines) | stat: -rw-r--r-- 2,164 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
OBJECT HEADERS
--------------

haddr_t
H5O_new (hdf5_file_t *f, intn nrefs, size_t size_hint)

	Creates a new empty object header and returns its address.
	The SIZE_HINT is the initial size of the data portion of the
	object header and NREFS is the number of symbol table entries
	that reference this object header (normally one).

	If SIZE_HINT is too small, then at least some default amount
	of space is allocated for the object header.

intn				        /*num remaining links		*/
H5O_link (hdf5_file_t *f,		/*file containing header	*/
	  haddr_t addr,			/*header file address		*/
	  intn adjust)			/*link adjustment amount	*/


size_t
H5O_sizeof (hdf5_file_t *f,		/*file containing header	*/
	    haddr_t addr,		/*header file address		*/
            H5O_class_t *type,		/*message type or H5O_ANY	*/
	    intn sequence)		/*sequence number, usually zero	*/
		
	Returns the size of a particular instance of a message in an
	object header.  When an object header has more than one
	instance of a particular message type, then SEQUENCE indicates
	which instance to return.

void *
H5O_read (hdf5_file_t *f,		/*file containing header	*/
	  haddr_t addr,			/*header file address		*/
	  H5G_entry_t *ent,		/*optional symbol table entry	*/
	  H5O_class_t *type,		/*message type or H5O_ANY	*/
	  intn sequence,		/*sequence number, usually zero	*/
	  size_t size,			/*size of output message	*/
	  void *mesg)			/*output buffer			*/

	Reads a message from the object header into memory.

const void *
H5O_peek (hdf5_file_t *f,		/*file containing header	*/
          haddr_t addr,			/*header file address		*/
	  H5G_entry_t *ent,		/*optional symbol table entry	*/
	  H5O_class_t *type,		/*type of message or H5O_ANY	*/
	  intn sequence)		/*sequence number, usually zero	*/

haddr_t					/*new heap address		*/
H5O_modify (hdf5_file_t *f,		/*file containing header	*/
            haddr_t addr,		/*header file address		*/
	    H5G_entry_t *ent,		/*optional symbol table entry	*/
	    hbool_t *ent_modified,	/*entry modification flag	*/
	    H5O_class_t *type,		/*message type			*/
	    intn overwrite,		/*sequence number or -1		*/
	    void *mesg)			/*the message			*/