27 #include "ElementsKernel/Exception.h"
38 : name(input_name), type(input_type), unit(input_unit), description(input_description), size(input_size) {
39 static const regex::regex vertical_whitespace{
".*[\\n\\v\\f\\r].*"};
41 if (input_name.
empty()) {
42 throw Elements::Exception() <<
"Empty string name is not allowed";
44 if (regex_match(input_name, vertical_whitespace)) {
45 throw Elements::Exception() <<
"Column name '" << input_name <<
"' contains "
46 <<
"vertical whitespace characters";
Contains the description of a specific column of a Table.
ColumnDescription(std::string name, std::type_index type=typeid(std::string), std::string unit="", std::string description="")