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

Public Types

enum  Hi5Role {
  CURRENT =1 , INPUT =2 , POLAR =4 , CARTESIAN =8 ,
  EMPTY =16 , PRIVATE =32 , SHARED =64
}
 
typedef drain::EnumFlagger< drain::MultiFlagger< Hi5Role > > Hi5RoleFlagger
 

Public Member Functions

 Hdf5Context (const Hdf5Context &ctx)
 
Hi5Tree & getMyHi5 (Hi5RoleFlagger::ivalue_t filter=(CARTESIAN|POLAR|INPUT|CURRENT))
 Pointer to the last HDF5 structure in Cartesian coordinates: input or Cartesian product. More...
 
Hi5Tree & getHi5Defunct (Hi5RoleFlagger::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...
 

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 ( Hi5RoleFlagger::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 ( Hi5RoleFlagger::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: