Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
datatools::configuration::not_logic Class Reference

NOT predicate. More...

#include <bayeux/datatools/configuration/variant_dependency_logic.h>

Inheritance diagram for datatools::configuration::not_logic:
datatools::configuration::base_dependency_logic datatools::i_tree_dumpable

Public Member Functions

 not_logic (variant_dependency &)
 Constructor. More...
 
virtual ~not_logic ()
 Destructor. More...
 
virtual const char * guid () const
 Return the global unique class identifier. More...
 
virtual std::size_t max_ports () const
 Return the maximum number of input ports. More...
 
virtual bool operator() () const
 Check the logic. More...
 
- Public Member Functions inherited from datatools::configuration::base_dependency_logic
 base_dependency_logic (variant_dependency &)
 Constructor. More...
 
virtual ~base_dependency_logic ()
 Destructor. More...
 
virtual std::size_t min_ports () const
 Return the minimum number of input ports. More...
 
virtual bool is_valid () const
 Check validity. More...
 
bool check_active_variant (const variant_object_info &) const
 Check if a given variant is active. More...
 
void connect (const unsigned int input_port_, dependency_logic_ptr_type logic_)
 Connect an input port to a logic. More...
 
void disconnect (const unsigned int input_port_)
 Disconnect an input port from a logic. More...
 
base_dependency_logicconnect (const unsigned int input_port_, const std::string &guid_)
 Connect input port to the ouput of the created logic. More...
 
void connect_dependee (const unsigned int input_port_, const unsigned int dependee_slot_)
 Connect input port to the dependee variant at given slot. More...
 
const variant_repositoryget_repository () const
 Return the repository handle. 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...
 
const variant_dependencyget_owner_dependency () const
 Return the const reference to the owner dependency. More...
 
- Public Member Functions inherited from datatools::i_tree_dumpable
 i_tree_dumpable ()
 Constructor. More...
 
virtual ~i_tree_dumpable ()
 Destructor. More...
 
virtual void print_tree (std::ostream &out_=std::clog, const boost::property_tree::ptree &options_=empty_options()) const
 Main new interface method for printing. More...
 
void print_tree_json (std::ostream &out_=std::clog, const std::string &json_options_="") const
 Printing with jsonized options. More...
 
void print_tree_json (std::ostream &out_=std::clog, const char *json_options_=nullptr) const
 Printing with jsonized options. More...
 
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
 

Additional Inherited Members

- Public Types inherited from datatools::configuration::base_dependency_logic
typedef std::map< unsigned int, dependency_logic_ptr_typeinput_dict_type
 Dictionary of input ports. More...
 
- Public Types inherited from datatools::i_tree_dumpable
enum  ostream_type { OSTREAM_COUT = 1, OSTREAM_CERR = 2, OSTREAM_CLOG = 3 }
 Enumeration for standard output streams. More...
 
- 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_)
 
- Protected Member Functions inherited from datatools::configuration::base_dependency_logic
variant_dependency_grab_owner_dependency ()
 Return the mutable reference to the owner dependency. More...
 
- Protected Attributes inherited from datatools::configuration::base_dependency_logic
const variant_repository_repository = nullptr
 The handle to the parent repository. More...
 
input_dict_type _inputs
 Connected input ports. More...
 

Detailed Description

NOT predicate.

Constructor & Destructor Documentation

◆ not_logic()

datatools::configuration::not_logic::not_logic ( variant_dependency )

Constructor.

◆ ~not_logic()

virtual datatools::configuration::not_logic::~not_logic ( )
virtual

Destructor.

Member Function Documentation

◆ guid()

virtual const char* datatools::configuration::not_logic::guid ( ) const
virtual

Return the global unique class identifier.

Implements datatools::configuration::base_dependency_logic.

◆ max_ports()

virtual std::size_t datatools::configuration::not_logic::max_ports ( ) const
virtual

Return the maximum number of input ports.

Reimplemented from datatools::configuration::base_dependency_logic.

◆ operator()()

virtual bool datatools::configuration::not_logic::operator() ( ) const
virtual

The documentation for this class was generated from the following file: