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

Public Member Functions

 MoveItemCommandImpl (TagRow tagrow)
 

Public Attributes

Path original_parent_path
 
TagRow original_tagrow
 
Path target_parent_path
 
TagRow target_tagrow
 

Detailed Description

Definition at line 29 of file moveitemcommand.cpp.

Constructor & Destructor Documentation

◆ MoveItemCommandImpl()

ModelView::MoveItemCommand::MoveItemCommandImpl::MoveItemCommandImpl ( TagRow  tagrow)
inline

Definition at line 34 of file moveitemcommand.cpp.

34  : target_tagrow(std::move(tagrow))
35  {
36  if (target_tagrow.row < 0)
37  throw std::runtime_error("MoveItemCommand() -> Error. Uninitialized target row");
38  }

References ModelView::TagRow::row, and ModelView::MoveItemCommand::MoveItemCommandImpl::target_tagrow.

Member Data Documentation

◆ original_parent_path

Path ModelView::MoveItemCommand::MoveItemCommandImpl::original_parent_path

Definition at line 32 of file moveitemcommand.cpp.

◆ original_tagrow

TagRow ModelView::MoveItemCommand::MoveItemCommandImpl::original_tagrow

Definition at line 33 of file moveitemcommand.cpp.

◆ target_parent_path

Path ModelView::MoveItemCommand::MoveItemCommandImpl::target_parent_path

Definition at line 31 of file moveitemcommand.cpp.

◆ target_tagrow

TagRow ModelView::MoveItemCommand::MoveItemCommandImpl::target_tagrow

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