DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <Schema.hpp>
Public Member Functions | |
relationship_t (const std::string &name, const std::string &type, bool can_be_null, bool is_multi_value, bool is_aggregation, const std::string &description) | |
relationship_t () | |
void | print (std::ostream &out, const std::string &prefix="") const |
Static Public Member Functions | |
static const char * | card2str (cardinality_t cardinality) |
Public Attributes | |
std::string | p_name |
std::string | p_type |
cardinality_t | p_cardinality |
bool | p_is_aggregation |
std::string | p_description |
The description of relationship.
Definition at line 113 of file Schema.hpp.
dunedaq::conffwk::relationship_t::relationship_t | ( | const std::string & | name, |
const std::string & | type, | ||
bool | can_be_null, | ||
bool | is_multi_value, | ||
bool | is_aggregation, | ||
const std::string & | description ) |
Create relationship description
Definition at line 108 of file ConfigurationImpl.cpp.
|
inline |
|
static |
Return string corresponding to given cardinality
Definition at line 124 of file ConfigurationImpl.cpp.
void dunedaq::conffwk::relationship_t::print | ( | std::ostream & | out, |
const std::string & | prefix = "" ) const |
Print description of relationship to stream.
out | the output stream |
prefix | optional shift output using prefix |
Definition at line 135 of file ConfigurationImpl.cpp.
cardinality_t dunedaq::conffwk::relationship_t::p_cardinality |
the relationship cardinality
Definition at line 117 of file Schema.hpp.
std::string dunedaq::conffwk::relationship_t::p_description |
the description text of relationship
Definition at line 119 of file Schema.hpp.
bool dunedaq::conffwk::relationship_t::p_is_aggregation |
if true, the relationship is an aggregation (composite); otherwise the relationship is simple (weak)
Definition at line 118 of file Schema.hpp.
std::string dunedaq::conffwk::relationship_t::p_name |
the relationship name
Definition at line 115 of file Schema.hpp.
std::string dunedaq::conffwk::relationship_t::p_type |
the relationship class type
Definition at line 116 of file Schema.hpp.