HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_OperatorBuilderManager Class Reference

Manages all the various operator builders. More...

#include <MHO_OperatorBuilderManager.hh>

Public Member Functions

 MHO_OperatorBuilderManager (MHO_OperatorToolbox *toolbox, MHO_FringeData *fdata, mho_json control_format)
 
virtual ~MHO_OperatorBuilderManager ()
 
template<typename XBuilderType >
void AddBuilderType (const std::string &builder_name, const std::string &format_key)
 Adds a new builder type with specified format, inserted into (builder) map for later use. More...
 
void BuildOperatorCategory (const char *cat)
 Builds operator category from input string and calls BuildOperatorCategory with it. More...
 
void BuildOperatorCategory (const std::string &cat)
 Builds operator category from input string and calls BuildOperatorCategory with it. More...
 
void CreateDefaultBuilders ()
 Registers default operator builders for various purposes such as channel labeling, phase and delay corrections, pol-product summation, flagging operators, etc. More...
 
std::size_t GetNBuildersInCategory (std::string cat)
 return the number of operator builders in the specified category More...
 
void SetControlStatements (mho_json *statements)
 pass in parsed control file elements More...
 

Detailed Description

Manages all the various operator builders.

Date
Thu Jun 8 17:05:29 2023 -0400
Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du

Constructor & Destructor Documentation

◆ MHO_OperatorBuilderManager()

hops::MHO_OperatorBuilderManager::MHO_OperatorBuilderManager ( MHO_OperatorToolbox toolbox,
MHO_FringeData fdata,
mho_json  control_format 
)
inline

◆ ~MHO_OperatorBuilderManager()

virtual hops::MHO_OperatorBuilderManager::~MHO_OperatorBuilderManager ( )
inlinevirtual

Member Function Documentation

◆ AddBuilderType()

template<typename XBuilderType >
void hops::MHO_OperatorBuilderManager::AddBuilderType ( const std::string &  builder_name,
const std::string &  format_key 
)
inline

Adds a new builder type with specified format, inserted into (builder) map for later use.

Parameters
builder_nameName of the builder type as string
format_key(const std::string&)
Returns
void

◆ BuildOperatorCategory() [1/2]

void hops::MHO_OperatorBuilderManager::BuildOperatorCategory ( const char *  cat)
inline

Builds operator category from input string and calls BuildOperatorCategory with it.

Parameters
catInput operator category as a C-style string.

◆ BuildOperatorCategory() [2/2]

void hops::MHO_OperatorBuilderManager::BuildOperatorCategory ( const std::string &  cat)

Builds operator category from input string and calls BuildOperatorCategory with it.

Parameters
catInput operator category as a C-style string.

◆ CreateDefaultBuilders()

void hops::MHO_OperatorBuilderManager::CreateDefaultBuilders ( )

Registers default operator builders for various purposes such as channel labeling, phase and delay corrections, pol-product summation, flagging operators, etc.

◆ GetNBuildersInCategory()

std::size_t hops::MHO_OperatorBuilderManager::GetNBuildersInCategory ( std::string  cat)

return the number of operator builders in the specified category

Parameters
catoperator category

◆ SetControlStatements()

void hops::MHO_OperatorBuilderManager::SetControlStatements ( mho_json statements)
inline

pass in parsed control file elements

Parameters
statementsInput mho_json object containing control file statements

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