![]() |
NDEVR
API Documentation
|
Helper struct that copies the default value from one TableColumn to another. More...
Public Member Functions | |
| void | setDefaultValueFrom (TableColumn &a, const TableColumn &b) |
Copies the default value from column b into column a. | |
Helper struct that copies the default value from one TableColumn to another.
The primary template handles most types by converting through string representation. Specializations exist for types like Buffer and String that require different handling.
Definition at line 56 of file TableColumnType.h.
|
inline |
Copies the default value from column b into column a.
| [in] | a | The destination column that receives the default value. |
| [in] | b | The source column whose default value is copied. |
Definition at line 60 of file TableColumnType.h.
References TableColumn::getDefaultValue(), and TableColumn::setDefaultValue().
Referenced by TableColumnBuffer< t_type >::setDefaultValueFrom().