BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
AbstractSelectionDescriptor Class Referenceabstract

Description

Abstract base class for SelectionDescriptor to ease referencing.

Definition at line 27 of file SelectionDescriptor.h.

Inheritance diagram for AbstractSelectionDescriptor:
[legend]

Public Member Functions

virtual ~AbstractSelectionDescriptor ()=default
 
virtual int currentIndex () const =0
 Get currently selected option. More...
 
virtual void setCurrentIndex (int newIndex) const =0
 Set currently selected option. More...
 

Constructor & Destructor Documentation

◆ ~AbstractSelectionDescriptor()

virtual AbstractSelectionDescriptor::~AbstractSelectionDescriptor ( )
virtualdefault

Member Function Documentation

◆ currentIndex()

virtual int AbstractSelectionDescriptor::currentIndex ( ) const
pure virtual

Get currently selected option.

Implemented in SelectionDescriptor< T >.

◆ setCurrentIndex()

virtual void AbstractSelectionDescriptor::setCurrentIndex ( int  newIndex) const
pure virtual

Set currently selected option.

Implemented in SelectionDescriptor< T >.

Referenced by SampleEditorController::setCurrentIndex().


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