MCPcopy Create free account
hub / github.com/KDE/labplot / copy

Method copy

src/backend/core/column/Column.cpp:404–410  ·  view source on GitHub ↗

* \brief Copy another column of the same type * * This function will return false if the data type * of 'other' is not the same as the type of 'this'. * Use a filter to convert a column to another type. */

Source from the content-addressed store, hash-verified

402 * Use a filter to convert a column to another type.
403 */
404bool Column::copy(const AbstractColumn* other) {
405 Q_CHECK_PTR(other);
406 if (other->columnMode() != columnMode())
407 return false;
408 exec(new ColumnFullCopyCmd(d, other));
409 return true;
410}
411
412/**
413 * \brief Copies a part of another column of the same type

Callers 13

keyPressEventMethod · 0.45
keyPressEventMethod · 0.45
updatePreviewMethod · 0.45
generateForColumnMethod · 0.45
redoMethod · 0.45
undoMethod · 0.45
sortColumnsMethod · 0.45
axisLineMethod · 0.45
TestCopyPastePlotMethod · 0.45
copyPasteMethod · 0.45

Calls 1

columnModeMethod · 0.45

Tested by 6

axisLineMethod · 0.36
TestCopyPastePlotMethod · 0.36
copyPasteMethod · 0.36