|
Falaise
4.0.1
SuperNEMO Software Toolkit
|
SuperNEMO Tracker trajectory data model. More...
#include <falaise/snemo/datamodels/tracker_trajectory_data.h>
Public Types | |
| typedef std::vector< tracker_trajectory_solution::handle_type > | solution_col_type |
| Collection of handles on tracker trajectory solutions. More... | |
Public Types inherited from datatools::i_tree_dumpable | |
| enum | ostream_type |
Public Member Functions | |
| tracker_trajectory_data () | |
| Default constructor. More... | |
| virtual | ~tracker_trajectory_data () |
| Destructor: More... | |
| bool | has_solutions () const |
| Check if there are some trajectory solutions. More... | |
| size_t | get_number_of_solutions () const |
| Returns the number of solutions. More... | |
| void | add_solution (const tracker_trajectory_solution::handle_type &handle_, bool default_solution_=false) |
| Add a trajectory solution. More... | |
| const tracker_trajectory_solution & | get_solution (int i_) const |
| Return a non mutable reference to a trajectory solution by index. More... | |
| void | invalidate_solutions () |
| Reset the trajectory solutions. More... | |
| bool | has_default_solution () const |
| Check if there is some default trajectory solution. More... | |
| const tracker_trajectory_data::solution_col_type & | get_solutions () const |
| tracker_trajectory_data::solution_col_type & | grab_solutions () |
| const tracker_trajectory_solution & | get_default_solution () const |
| Return a non mutable reference to the default trajectory solution is any. More... | |
| void | invalidate_default_solution () |
| Reset the default trajectory solution is any. More... | |
| void | set_default_solution (int index_) |
| Set the default trajectory solution. More... | |
| void | reset () |
| Reset the internals. More... | |
| const datatools::properties & | get_auxiliaries () const |
| Return a mutable reference on the container of auxiliary properties. More... | |
| datatools::properties & | grab_auxiliaries () |
| Return a non mutable reference on the container of auxiliary properties. More... | |
| virtual void | clear () |
| Clear the object. More... | |
| virtual void | tree_dump (std::ostream &out_=std::clog, const std::string &title_="", const std::string &indent_="", bool inherit_=false) const |
| Smart print. More... | |
Public Member Functions inherited from datatools::i_serializable | |
| i_serializable () | |
| virtual | ~i_serializable () |
| virtual const std::string & | get_serial_tag () const=0 |
Public Member Functions inherited from datatools::i_tree_dumpable | |
| i_tree_dumpable () | |
| virtual | ~i_tree_dumpable () |
| virtual void | print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const |
| void | print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const |
| void | print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const |
| void | tree_dump_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="", const bool inherit_=false) const |
| void | tree_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="") const |
| void | smart_print_id (const int out_type_=OSTREAM_CLOG, const std::string &title_="", const std::string &indent_="") const |
Public Member Functions inherited from datatools::i_clear | |
| virtual | ~i_clear () |
Additional Inherited Members | |
Static Public Member Functions inherited from datatools::i_tree_dumpable | |
| static const boost::property_tree::ptree & | empty_options () |
| static boost::property_tree::ptree | make_base_print_options (const std::string &title_, const std::string &indent_="", const bool inherit_=false) |
| static std::ostream & | last_skip_tag (std::ostream &out_) |
| static std::ostream & | skip_tag (std::ostream &out_) |
| static std::ostream & | last_tag (std::ostream &out_) |
| static std::ostream & | tag (std::ostream &out_) |
Public Attributes inherited from datatools::i_tree_dumpable | |
| OSTREAM_COUT | |
| OSTREAM_CERR | |
| OSTREAM_CLOG | |
SuperNEMO Tracker trajectory data model.
| typedef std::vector<tracker_trajectory_solution::handle_type> snemo::datamodel::tracker_trajectory_data::solution_col_type |
Collection of handles on tracker trajectory solutions.
| snemo::datamodel::tracker_trajectory_data::tracker_trajectory_data | ( | ) |
Default constructor.
|
virtual |
Destructor:
| void snemo::datamodel::tracker_trajectory_data::add_solution | ( | const tracker_trajectory_solution::handle_type & | handle_, |
| bool | default_solution_ = false |
||
| ) |
Add a trajectory solution.
|
virtual |
Clear the object.
Implements datatools::i_clear.
| const datatools::properties& snemo::datamodel::tracker_trajectory_data::get_auxiliaries | ( | ) | const |
Return a mutable reference on the container of auxiliary properties.
| const tracker_trajectory_solution& snemo::datamodel::tracker_trajectory_data::get_default_solution | ( | ) | const |
Return a non mutable reference to the default trajectory solution is any.
| size_t snemo::datamodel::tracker_trajectory_data::get_number_of_solutions | ( | ) | const |
Returns the number of solutions.
| const tracker_trajectory_solution& snemo::datamodel::tracker_trajectory_data::get_solution | ( | int | i_ | ) | const |
Return a non mutable reference to a trajectory solution by index.
| const tracker_trajectory_data::solution_col_type& snemo::datamodel::tracker_trajectory_data::get_solutions | ( | ) | const |
| datatools::properties& snemo::datamodel::tracker_trajectory_data::grab_auxiliaries | ( | ) |
Return a non mutable reference on the container of auxiliary properties.
| tracker_trajectory_data::solution_col_type& snemo::datamodel::tracker_trajectory_data::grab_solutions | ( | ) |
| bool snemo::datamodel::tracker_trajectory_data::has_default_solution | ( | ) | const |
Check if there is some default trajectory solution.
| bool snemo::datamodel::tracker_trajectory_data::has_solutions | ( | ) | const |
Check if there are some trajectory solutions.
| void snemo::datamodel::tracker_trajectory_data::invalidate_default_solution | ( | ) |
Reset the default trajectory solution is any.
| void snemo::datamodel::tracker_trajectory_data::invalidate_solutions | ( | ) |
Reset the trajectory solutions.
| void snemo::datamodel::tracker_trajectory_data::reset | ( | ) |
Reset the internals.
| void snemo::datamodel::tracker_trajectory_data::set_default_solution | ( | int | index_ | ) |
Set the default trajectory solution.
|
virtual |
Smart print.
Reimplemented from datatools::i_tree_dumpable.
1.8.15