BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::SetValueCommand::SetValueCommandImpl Struct Reference
Collaboration diagram for ModelView::SetValueCommand::SetValueCommandImpl:
[legend]

Public Member Functions

 SetValueCommandImpl (Variant value, int role)
 

Public Attributes

Path m_item_path
 
int m_role
 Value to set as a result of command execution. More...
 
Variant m_value
 

Detailed Description

Definition at line 28 of file setvaluecommand.cpp.

Constructor & Destructor Documentation

◆ SetValueCommandImpl()

ModelView::SetValueCommand::SetValueCommandImpl::SetValueCommandImpl ( Variant  value,
int  role 
)
inline

Definition at line 32 of file setvaluecommand.cpp.

32 : m_value(std::move(value)), m_role(role) {}
int m_role
Value to set as a result of command execution.

Member Data Documentation

◆ m_item_path

Path ModelView::SetValueCommand::SetValueCommandImpl::m_item_path

Definition at line 31 of file setvaluecommand.cpp.

◆ m_role

int ModelView::SetValueCommand::SetValueCommandImpl::m_role

Value to set as a result of command execution.

Definition at line 30 of file setvaluecommand.cpp.

◆ m_value

Variant ModelView::SetValueCommand::SetValueCommandImpl::m_value

Definition at line 29 of file setvaluecommand.cpp.


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