Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
NodeHi5 Struct Reference

Rack's hi5 structure that uses Rack classes (Tree, Data, Image). More...

#include <Hi5.h>

Collaboration diagram for NodeHi5:
Collaboration graph
[legend]

Public Types

typedef drain::image::Image image_type
 
typedef std::map< std::string, rack::ODIMPathElem > lookup_t
 Experimental.
 

Public Member Functions

 NodeHi5 (const NodeHi5 &n)
 
bool empty () const
 
NodeHi5 & operator= (const hi5::NodeHi5 &node)
 
void writeText (std::ostream &ostr, const std::string &prefix) const
 
void writeText (std::ostream &ostr=std::cout, const rack::ODIMPath &prefix=rack::ODIMPath()) const
 
void swap (NodeHi5 &n)
 

Public Attributes

image_type image
 
drain::VariableMap attributes
 
bool exclude
 Marker for excluding from any "serious" file write.
 

Detailed Description

Rack's hi5 structure that uses Rack classes (Tree, Data, Image).

Node to be used in a h5 structure, ie. TreeNode<NodeHi5>. A node serves both as a group or a data set; if a data set is empty its node is treated as a group.

ODIM conventions are purposely not included in the Hi5 utilities. For example, path naming conventions (dataset1/data3/...) and some special attributes like Conventions="ODIM_H5/V2_0" are left to the application code.

Member Function Documentation

◆ writeText()

void writeText ( std::ostream &  ostr,
const std::string &  prefix 
) const

show only "big" groups explicitly? if (prefix.back().belongsTo(...)) or Uncomment:

Member Data Documentation

◆ exclude

bool exclude

Marker for excluding from any "serious" file write.

Subtrees marked with exclude will be be bypassed upon file write.


The documentation for this struct was generated from the following files: