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

A wrapper that handles a registry tree model and its associated viewer object. More...

#include <bayeux/datatools/configuration/ui/variant_repository_viewer.h>

Public Member Functions

 registry_model_wrapper (QWidget *parent_=0)
 Default constructor. More...
 
 ~registry_model_wrapper ()
 Destructor. More...
 
void reset ()
 Reset. More...
 
bool has_model () const
 Check model. More...
 
const variant_registry_tree_modelget_model () const
 Return a non mutable reference to the model. More...
 
variant_registry_tree_modelgrab_model ()
 Return a mutable reference to the model. More...
 
bool has_viewer () const
 Check viewer. More...
 
const variant_registry_viewerget_viewer () const
 Return a non mutable reference to the viewer. More...
 
variant_registry_viewergrab_viewer ()
 Return a mutable reference to the viewer. More...
 
variant_registry_viewerconstruct_registry_viewer (variant_registry &registry_)
 Construct. More...
 

Detailed Description

A wrapper that handles a registry tree model and its associated viewer object.

Constructor & Destructor Documentation

◆ registry_model_wrapper()

datatools::configuration::ui::registry_model_wrapper::registry_model_wrapper ( QWidget *  parent_ = 0)

Default constructor.

◆ ~registry_model_wrapper()

datatools::configuration::ui::registry_model_wrapper::~registry_model_wrapper ( )

Destructor.

Member Function Documentation

◆ construct_registry_viewer()

variant_registry_viewer* datatools::configuration::ui::registry_model_wrapper::construct_registry_viewer ( variant_registry registry_)

Construct.

◆ get_model()

const variant_registry_tree_model& datatools::configuration::ui::registry_model_wrapper::get_model ( ) const

Return a non mutable reference to the model.

◆ get_viewer()

const variant_registry_viewer& datatools::configuration::ui::registry_model_wrapper::get_viewer ( ) const

Return a non mutable reference to the viewer.

◆ grab_model()

variant_registry_tree_model& datatools::configuration::ui::registry_model_wrapper::grab_model ( )

Return a mutable reference to the model.

◆ grab_viewer()

variant_registry_viewer& datatools::configuration::ui::registry_model_wrapper::grab_viewer ( )

Return a mutable reference to the viewer.

◆ has_model()

bool datatools::configuration::ui::registry_model_wrapper::has_model ( ) const

Check model.

◆ has_viewer()

bool datatools::configuration::ui::registry_model_wrapper::has_viewer ( ) const

Check viewer.

◆ reset()

void datatools::configuration::ui::registry_model_wrapper::reset ( )

Reset.


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