Public Types | |
typedef std::vector < IClipboardFormat * > | Formats |
List of the clipboard formats. | |
Public Member Functions | |
CCutCopySource (const CGrid &grid, const CHeader *header, ContextType contextType, GUI::Handles &handles, const Formats &formats, ICopyPaste::OperationType operationType) | |
Constructor. | |
const CGrid & | GetGrid () const |
Gets the grid where items are copied/cut from. | |
const CHeader * | GetHeader () const |
Gets a header of the grid. | |
ContextType | GetContextType () const |
Gets enumeration of contexts that participated in the copy/cut operation. | |
GUI::Handles & | GetHandles () |
Gets sorted item handles to be serialized to the clipboard. | |
Formats & | GetFormats () |
Gets a list of the clipboard formats. | |
ICopyPaste::OperationType | GetOperationType () const |
Gets operation type. | |
void | SetHeader (const CHeader *header) |
Sets a new header. | |
void | SetContextType (ContextType contextType) |
Sets new enumeration of contexts that participated in the copy/cut operation. | |
void | SetOperationType (ICopyPaste::OperationType operationType) |
Sets a new operation type. |
CCutCopySource | ( | const CGrid & | grid, | |
const CHeader * | header, | |||
ContextType | contextType, | |||
GUI::Handles & | handles, | |||
const Formats & | formats, | |||
ICopyPaste::OperationType | operationType | |||
) |
Constructor.
[in] | grid | Reference to the grid where items are copied/cut from |
[in] | header | Header of the grid |
[in] | contextType | Enumeration of the contexts that participated in the copy/cut operation. |
[in] | handles | Sorted item handles to be serialized to the clipboard |
[in] | formats | List of the clipboard formats |
[in] | operationType | Operation type |
const CGrid & GetGrid | ( | ) | const |
Gets the grid where items are copied/cut from.
const CHeader * GetHeader | ( | ) | const |
Gets a header of the grid.
ContextType GetContextType | ( | ) | const |
Gets enumeration of contexts that participated in the copy/cut operation.
GUI::Handles & GetHandles | ( | ) |
Gets sorted item handles to be serialized to the clipboard.
CCutCopySource::Formats & GetFormats | ( | ) |
Gets a list of the clipboard formats.
ICopyPaste::OperationType GetOperationType | ( | ) | const |
Gets operation type.
void SetHeader | ( | const CHeader * | header | ) |
Sets a new header.
[in] | header | A new header |
void SetContextType | ( | ContextType | contextType | ) |
Sets new enumeration of contexts that participated in the copy/cut operation.
[in] | contextType | A new enumeration of the contexts, that participated in the copy/cut operation |
void SetOperationType | ( | ICopyPaste::OperationType | operationType | ) |
Sets a new operation type.
[in] | operationType | A new operation type |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |