31 #ifndef CUTS_CUT_SERVICE_H 32 #define CUTS_CUT_SERVICE_H 1 86 virtual void tree_dump (std::ostream & a_out = std::clog,
87 const std::string & a_title =
"",
88 const std::string & a_indent =
"",
89 bool a_inherit =
false)
const;
103 #endif // CUTS_CUT_SERVICE_H The cut service.
Definition: cut_service.h:53
cut_manager & grab_cut_manager()
Return a mutable reference to the cut manager.
bool owns_cut_manager() const
Check if the cut manager is owned by the service.
Top-level namespace of the Bayeux/cuts module library.
Definition: accept_cut.h:21
#define DATATOOLS_SERVICE_REGISTRATION_INTERFACE(SERVICE_CLASS_NAME)
Definition: base_service.h:152
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
virtual void tree_dump(std::ostream &a_out=std::clog, const std::string &a_title="", const std::string &a_indent="", bool a_inherit=false) const
Smart print.
The cut manager class.
Definition: cut_manager.h:59
virtual int initialize(const datatools::properties &a_config, datatools::service_dict_type &a_service_dict)
Initialize the service through a collection of setup properties.
virtual int reset()
Reset.
virtual bool is_initialized() const
Check the initialization status.
virtual ~cut_service()
Destructor.
const cut_manager & get_cut_manager() const
Return a const reference to the cut manager.
void set_cut_manager(const cut_manager &a_cut_manager)
Set the reference to an external cut manager.
cut_service()
Constructor.