All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
icarus::trigger::PlotSandbox::Data_t Struct Reference

The whole data in a convenient package! More...

Public Member Functions

 Data_t ()=default
 
 Data_t (Data_t const &)=delete
 
 Data_t (Data_t &&)=default
 
Data_toperator= (Data_t const &)=delete
 
Data_toperator= (Data_t &&)=default
 
 Data_t (std::string &&name, std::string &&desc, TFileDirectoryHelper outputDir)
 
void resetSubboxParents (PlotSandbox const *newParent)
 

Public Attributes

std::string name
 The name/key representing this sandbox. More...
 
std::string desc
 The description characterizing the sandbox. More...
 
PlotSandbox const * parent = nullptr
 Optional parent sandbox. More...
 
std::map< std::string,
std::unique_ptr< PlotSandbox > > 
subBoxes
 Contained sand boxes. More...
 
TFileDirectoryHelper outputDir
 Output ROOT directory of the sandbox. More...
 

Detailed Description

The whole data in a convenient package!

Definition at line 123 of file PlotSandbox.h.

Constructor & Destructor Documentation

icarus::trigger::PlotSandbox::Data_t::Data_t ( )
default
icarus::trigger::PlotSandbox::Data_t::Data_t ( Data_t const &  )
delete
icarus::trigger::PlotSandbox::Data_t::Data_t ( Data_t &&  )
default
icarus::trigger::PlotSandbox::Data_t::Data_t ( std::string &&  name,
std::string &&  desc,
TFileDirectoryHelper  outputDir 
)
inline

Definition at line 142 of file PlotSandbox.h.

143  : name(std::move(name)), desc(std::move(desc))
144  , outputDir(std::move(outputDir))
145  {}
TFileDirectoryHelper outputDir
Output ROOT directory of the sandbox.
Definition: PlotSandbox.h:133
std::string name
The name/key representing this sandbox.
Definition: PlotSandbox.h:125
std::string desc
The description characterizing the sandbox.
Definition: PlotSandbox.h:126

Member Function Documentation

Data_t& icarus::trigger::PlotSandbox::Data_t::operator= ( Data_t const &  )
delete
Data_t& icarus::trigger::PlotSandbox::Data_t::operator= ( Data_t &&  )
default
void icarus::trigger::PlotSandbox::Data_t::resetSubboxParents ( PlotSandbox const *  newParent)

Definition at line 73 of file PlotSandbox.cxx.

74 {
75  for (auto& subbox: util::values(subBoxes)) subbox->setParent(newParent);
76 } // icarus::trigger::PlotSandbox::Data_t::resetSubboxParents()
decltype(auto) values(Coll &&coll)
Range-for loop helper iterating across the values of the specified collection.
std::map< std::string, std::unique_ptr< PlotSandbox > > subBoxes
Contained sand boxes.
Definition: PlotSandbox.h:131

Member Data Documentation

std::string icarus::trigger::PlotSandbox::Data_t::desc

The description characterizing the sandbox.

Definition at line 126 of file PlotSandbox.h.

std::string icarus::trigger::PlotSandbox::Data_t::name

The name/key representing this sandbox.

Definition at line 125 of file PlotSandbox.h.

TFileDirectoryHelper icarus::trigger::PlotSandbox::Data_t::outputDir

Output ROOT directory of the sandbox.

Definition at line 133 of file PlotSandbox.h.

PlotSandbox const* icarus::trigger::PlotSandbox::Data_t::parent = nullptr

Optional parent sandbox.

Definition at line 128 of file PlotSandbox.h.

std::map<std::string, std::unique_ptr<PlotSandbox> > icarus::trigger::PlotSandbox::Data_t::subBoxes

Contained sand boxes.

Definition at line 131 of file PlotSandbox.h.


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