Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
Hdf5Context Class Reference
Inheritance diagram for Hdf5Context:
Inheritance graph
[legend]

Public Types

typedef drain::GlobalFlags< Hi5Tree > h5_role
 

Public Member Functions

 Hdf5Context (const Hdf5Context &ctx)
 
Hi5Tree & getMyHi5 (h5_role::ivalue_t filter=(CARTESIAN|POLAR|INPUT|CURRENT))
 Pointer to the last HDF5 structure in Cartesian coordinates: input or Cartesian product. More...
 
Hi5Tree & getHi5Defunct (h5_role::ivalue_t filter)
 Derives the most relevant polar data (input or product) and returns it. More...
 

Public Attributes

std::string select
 
std::string inputSelect
 
Hi5Tree polarInputHi5
 The last input file read, typically a volume. May be concatenated ie. read in incrementally.
 
Hi5Tree polarProductHi5
 The polar product that has been generated from the volume.
 
Hi5Tree cartesianHi5
 A single-radar Cartesian product or a multi-radar composite (mosaic).
 
Hi5Tree * currentHi5
 Pointer to the last HDF5 structure read or generated.
 
Hi5Tree * currentPolarHi5
 Pointer to the last HDF5 structure in polar coordinates: input volume or polar product. More...
 

Static Public Attributes

static const h5_role::ivalue_t CURRENT = h5_role::addEntry("CURRENT")
 
static const h5_role::ivalue_t INPUT = h5_role::addEntry("INPUT")
 
static const h5_role::ivalue_t POLAR = h5_role::addEntry("POLAR")
 
static const h5_role::ivalue_t CARTESIAN =h5_role::addEntry("CARTESIAN")
 
static const h5_role::ivalue_t EMPTY = h5_role::addEntry("EMPTY")
 
static const h5_role::ivalue_t PRIVATE = h5_role::addEntry("PRIVATE")
 
static const h5_role::ivalue_t SHARED = h5_role::addEntry("SHARED")
 

Protected Member Functions

void updateHdf5Status (drain::VariableMap &statusMap) const
 Derives the most relevant polar input data and returns it. More...
 

Static Protected Attributes

static Hi5Tree empty
 

Member Function Documentation

◆ getHi5Defunct()

Hi5Tree & getHi5Defunct ( h5_role::ivalue_t  filter)

Derives the most relevant polar data (input or product) and returns it.

Returns in order of priority:

local, if non-empty

shared, if non-empty

local (empty)

◆ getMyHi5()

Hi5Tree & getMyHi5 ( h5_role::ivalue_t  filter = (CARTESIAN|POLAR|INPUT|CURRENT))

Pointer to the last HDF5 structure in Cartesian coordinates: input or Cartesian product.

  • if CARTESIAN and POLAR are both set, either
  • if neither CARTESIAN nor POLAR is set,

◆ updateHdf5Status()

void updateHdf5Status ( drain::VariableMap statusMap) const
protected

Derives the most relevant polar input data and returns it.

Returns in order of priority:

local, if non-empty

shared, if non-empty

local (empty)

Split what:source to separate fields

Member Data Documentation

◆ currentPolarHi5

Hi5Tree* currentPolarHi5

Pointer to the last HDF5 structure in polar coordinates: input volume or polar product.

The data pointed to will be applied as input to a Cartesian product (single-radar or composite).


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