.. index:: pair: struct; EE::UI::Models::Model::Operation .. _doxid-struct_e_e_1_1_u_i_1_1_models_1_1_model_1_1_operation: struct EE::UI::Models::Model::Operation ======================================= .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct Operation { // fields :ref:`OperationType` :target:`type` { :ref:`OperationType::Invalid` }; :ref:`Direction` :target:`direction` { :ref:`Direction::Row` }; :ref:`ModelIndex` :target:`sourceParent`; int :target:`first` { 0 }; int :target:`last` { 0 }; :ref:`ModelIndex` :target:`targetParent`; int :target:`target` { 0 }; // construction :target:`Operation`(:ref:`OperationType` type); :target:`Operation`(:ref:`OperationType` type, :ref:`Direction` direction, :ref:`ModelIndex` const& parent, int first, int last); :target:`Operation`( :ref:`OperationType` type, :ref:`Direction` direction, :ref:`ModelIndex` const& sourceParent, int first, int last, :ref:`ModelIndex` const& targetParent, int target ); };