[casacore] r21233 committed - Make doWriteRecord public and improve documentation

0 views
Skip to first unread message

casa...@googlecode.com

unread,
Apr 2, 2012, 9:42:27 AM4/2/12
to casacor...@googlegroups.com
Revision: 21233
Author: gervandiepen
Date: Mon Apr 2 06:29:35 2012
Log: Make doWriteRecord public and improve documentation

http://code.google.com/p/casacore/source/detail?r=21233

Modified:
/trunk/casa/HDF5/HDF5Record.h

=======================================
--- /trunk/casa/HDF5/HDF5Record.h Mon Jun 8 19:16:01 2009
+++ /trunk/casa/HDF5/HDF5Record.h Mon Apr 2 06:29:35 2012
@@ -94,9 +94,13 @@
static void remove (const HDF5Object& parentHid,
const String& recordName);

- // Read back a (nested) record.
+ // Read the (possibly nested) record values from the given group hid.
static Record doReadRecord (hid_t parentHid);

+ // Write the (possibly nested) record values into the given group hid.
+ static void doWriteRecord (const HDF5Object& groupHid,
+ const RecordInterface& rec);
+
private:
// Read a scalar value and add it to the record.
static void readScalar (hid_t attrId, hid_t dtid,
@@ -145,10 +149,6 @@
static void read (hid_t attrId, void* value,
const HDF5DataType& dtype);

- // Write a (nested) record.
- static void doWriteRecord (const HDF5Object& groupHid,
- const RecordInterface& rec);
-
// Write a fixed length scalar value as attribute.
static void writeScalar (hid_t parentHid, const String& name,
const void* value,

Reply all
Reply to author
Forward
0 new messages