class Hdf5Context(HasTraits): (source)
Provide a "context" (partial dictionary interface) into an HDF5 file. It allows multiple paths, specified by the path list, within the file to be treated as a single namespace. fixme: We probably also want this to support looking into structured arrays that are leaves in an HDF file and using their fields as part of the namespace. Example: <fixme>
Method | __contains__ |
Undocumented |
Method | __delitem__ |
Delete an item from the context. |
Method | __getitem__ |
|
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __setitem__ |
Write an item from the context. |
Method | allows |
Undocumented |
Method | iteritems |
Return an iterator of the (key,value) pairs in the namespace |
Method | keys |
Return a list of the names available in the namespace. |
Method | location |
return the path where name is found. If it isn't in the context, return None. |
Class Variable | path |
Undocumented |
Delete an item from the context. For now we will not support this feature within an Hdf5 context. All deletes should be dealt occur into a copy-on-write context coupled with this one.
Write an item from the context. For now we will not support this feature within an Hdf5 context. All writes should be dealt occur into a copy-on-write context coupled with this one.