* \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. */
| 402 | * Use a filter to convert a column to another type. |
| 403 | */ |
| 404 | bool 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 |