ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::PasteClipboardCommand Class Referenceabstract

Command that handles paste from clipboard. More...

#include <clipboardCommands.h>

Inheritance diagram for Ufe::PasteClipboardCommand:
Collaboration diagram for Ufe::PasteClipboardCommand:

Classes

struct  PasteInfo
 Struct that holds information about the paste command. More...
 

Public Types

typedef std::shared_ptr< PasteClipboardCommandPtr
 
- Public Types inherited from Ufe::UndoableCommand
typedef std::shared_ptr< UndoableCommandPtr
 

Public Member Functions

 PasteClipboardCommand ()
 Constructor. More...
 
 ~PasteClipboardCommand () override
 Destructor. More...
 
virtual SceneItemList targetItems () const =0
 Retrieve all the pasted items. More...
 
virtual std::vector< PasteInfogetPasteInfos () const =0
 Get the paste infos. More...
 
 PasteClipboardCommand (const PasteClipboardCommand &)=delete
 
PasteClipboardCommandoperator= (const PasteClipboardCommand &)=delete
 
 PasteClipboardCommand (PasteClipboardCommand &&)=delete
 
PasteClipboardCommandoperator= (PasteClipboardCommand &&)=delete
 
- Public Member Functions inherited from Ufe::UndoableCommand
virtual ~UndoableCommand ()
 Destructor. More...
 
virtual std::string commandString () const
 Get a user friendly string representation of the command. More...
 
virtual void execute ()
 
virtual void undo ()=0
 
virtual void redo ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from Ufe::UndoableCommand
 UndoableCommand ()
 Constructor. More...
 
 UndoableCommand (const UndoableCommand &)=delete
 Deleting copy constructor. More...
 

Detailed Description

Command that handles paste from clipboard.

This class provides the interface to retrieve all the pasted items and information about each one (paste succeeded or failed).

Definition at line 29 of file clipboardCommands.h.

Member Typedef Documentation

◆ Ptr

Definition at line 32 of file clipboardCommands.h.

Constructor & Destructor Documentation

◆ PasteClipboardCommand() [1/3]

Ufe::PasteClipboardCommand::PasteClipboardCommand ( )

Constructor.

◆ ~PasteClipboardCommand()

Ufe::PasteClipboardCommand::~PasteClipboardCommand ( )
override

Destructor.

◆ PasteClipboardCommand() [2/3]

Ufe::PasteClipboardCommand::PasteClipboardCommand ( const PasteClipboardCommand )
delete

No copy or move constructor/assignment.

◆ PasteClipboardCommand() [3/3]

Ufe::PasteClipboardCommand::PasteClipboardCommand ( PasteClipboardCommand &&  )
delete

No copy or move constructor/assignment.

Member Function Documentation

◆ getPasteInfos()

virtual std::vector< PasteInfo > Ufe::PasteClipboardCommand::getPasteInfos ( ) const
pure virtual

Get the paste infos.

◆ operator=() [1/2]

PasteClipboardCommand & Ufe::PasteClipboardCommand::operator= ( const PasteClipboardCommand )
delete

No copy or move constructor/assignment.

◆ operator=() [2/2]

PasteClipboardCommand & Ufe::PasteClipboardCommand::operator= ( PasteClipboardCommand &&  )
delete

No copy or move constructor/assignment.

◆ targetItems()

virtual SceneItemList Ufe::PasteClipboardCommand::targetItems ( ) const
pure virtual

Retrieve all the pasted items.


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