Factory to generate various cuts. More...
#include <cut_factory.h>
Public Member Functions | |
bool | is_debug () const |
is verbose ? | |
void | set_debug (bool) |
set verbose | |
void | do_register (const cut_creator_t &creator_, const std::string &cut_id_="") |
Add the cuts to the NemoCuts list, if it doesn't exist yet. | |
cut_factory (bool preload_=true) | |
default constructor, if preload, check if cuts already exist in NemoCuts | |
virtual | ~cut_factory () |
default destructor | |
virtual nemocuts::ICut * | CreateCut (const std::string &cut_id_, const nemocuts::ICutFactory::cut_properties_t &cut_properties_) |
from the NemoCuts/ICutFactoryinterface | |
void | dump_cuts (std::ostream &out_=std::clog) |
output the loaded cuts | |
Public Attributes | |
cut_creator_dict_t | __creators |
the NemoCuts' cuts dictionnary |
Factory to generate various cuts.
depend on NemoCuts
As example