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
 

Public Member Functions

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

Public Attributes

drain::image::Image image
 
drain::VariableMap attributes
 
bool exclude
 Experimental.
 

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 = std::cout,
const rack::ODIMPath prefix = rack::ODIMPath() 
) const

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


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