1 #include "otsdaq/TableCore/TableViewColumnInfo.h"
3 #include "otsdaq/Macros/CoutMacros.h"
4 #include "otsdaq/Macros/StringMacros.h"
10 #include "otsdaq/TableCore/TableView.h"
19 const std::string TableViewColumnInfo::TYPE_DATA =
"Data";
20 const std::string TableViewColumnInfo::TYPE_UNIQUE_DATA =
"UniqueData";
21 const std::string TableViewColumnInfo::TYPE_UNIQUE_GROUP_DATA =
"UniqueGroupData";
22 const std::string TableViewColumnInfo::TYPE_MULTILINE_DATA =
"MultilineData";
23 const std::string TableViewColumnInfo::TYPE_FIXED_CHOICE_DATA =
"FixedChoiceData";
24 const std::string TableViewColumnInfo::TYPE_BITMAP_DATA =
"BitMap";
26 const std::string TableViewColumnInfo::TYPE_ON_OFF =
"OnOff";
27 const std::string TableViewColumnInfo::TYPE_TRUE_FALSE =
"TrueFalse";
28 const std::string TableViewColumnInfo::TYPE_YES_NO =
"YesNo";
30 const std::string TableViewColumnInfo::TYPE_START_CHILD_LINK =
"ChildLink";
31 const std::string TableViewColumnInfo::TYPE_START_CHILD_LINK_UID =
"ChildLinkUID";
32 const std::string TableViewColumnInfo::TYPE_START_CHILD_LINK_GROUP_ID =
"ChildLinkGroupID";
33 const std::string TableViewColumnInfo::TYPE_START_GROUP_ID =
"GroupID";
34 const std::string TableViewColumnInfo::TYPE_COMMENT =
"Comment";
35 const std::string TableViewColumnInfo::TYPE_AUTHOR =
"Author";
36 const std::string TableViewColumnInfo::TYPE_TIMESTAMP =
"Timestamp";
40 const std::string TableViewColumnInfo::DATATYPE_STRING =
"STRING";
41 const std::string TableViewColumnInfo::DATATYPE_TIME =
"TIMESTAMP WITH TIMEZONE";
43 const std::string TableViewColumnInfo::TYPE_VALUE_YES =
"Yes";
44 const std::string TableViewColumnInfo::TYPE_VALUE_NO =
"No";
45 const std::string TableViewColumnInfo::TYPE_VALUE_TRUE =
"True";
46 const std::string TableViewColumnInfo::TYPE_VALUE_FALSE =
"False";
47 const std::string TableViewColumnInfo::TYPE_VALUE_ON =
"On";
48 const std::string TableViewColumnInfo::TYPE_VALUE_OFF =
"Off";
50 const std::string TableViewColumnInfo::DATATYPE_STRING_DEFAULT =
"DEFAULT";
51 const std::string TableViewColumnInfo::DATATYPE_COMMENT_DEFAULT =
"No comment.";
52 const std::string TableViewColumnInfo::DATATYPE_COMMENT_OLD_DEFAULT =
"No Comment";
53 const std::string TableViewColumnInfo::DATATYPE_BOOL_DEFAULT =
"0";
54 const std::string TableViewColumnInfo::DATATYPE_NUMBER_DEFAULT =
"0";
56 const std::string TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT =
"";
57 const std::string TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT =
"";
59 const std::string TableViewColumnInfo::DATATYPE_TIME_DEFAULT =
"0";
60 const std::string TableViewColumnInfo::DATATYPE_LINK_DEFAULT =
"NO_LINK";
62 const std::string TableViewColumnInfo::COL_NAME_STATUS =
"Status";
63 const std::string TableViewColumnInfo::COL_NAME_ENABLED =
"Enabled";
64 const std::string TableViewColumnInfo::COL_NAME_PRIORITY =
"Priority";
65 const std::string TableViewColumnInfo::COL_NAME_COMMENT =
"CommentDescription";
66 const std::string TableViewColumnInfo::COL_NAME_AUTHOR =
"Author";
67 const std::string TableViewColumnInfo::COL_NAME_CREATION =
"RecordInsertionTime";
75 TableViewColumnInfo::TableViewColumnInfo(
const std::string& type,
76 const std::string& name,
77 const std::string& storageName,
78 const std::string& dataType,
79 const std::string* defaultValue,
80 const std::string& dataChoicesCSV,
81 const std::string* minValue,
82 const std::string* maxValue,
83 std::string* capturedExceptionString)
86 , storageName_(storageName)
87 , dataType_( dataType ==
"VARCHAR2" ? DATATYPE_STRING
89 , defaultValue_(defaultValue ? *defaultValue
90 : getDefaultDefaultValue(type_, dataType_))
92 dataChoices_(getDataChoicesFromString(dataChoicesCSV))
93 , minValue_(minValue ? ((*minValue) ==
"null" ?
"" : (*minValue))
94 : getMinDefaultValue(dataType_))
97 maxValue_(maxValue ? ((*maxValue) ==
"null" ?
"" : (*maxValue))
98 : getMaxDefaultValue(dataType_))
101 bitMapInfoP_(nullptr)
106 if((type_ !=
TYPE_UID) && (type_ != TYPE_DATA) && (type_ != TYPE_UNIQUE_DATA) &&
107 (type_ != TYPE_UNIQUE_GROUP_DATA) && (type_ != TYPE_MULTILINE_DATA) &&
108 (type_ != TYPE_FIXED_CHOICE_DATA) && (type_ != TYPE_BITMAP_DATA) &&
109 (type_ != TYPE_ON_OFF) && (type_ != TYPE_TRUE_FALSE) && (type_ != TYPE_YES_NO) &&
110 (type_ != TYPE_COMMENT) && (type_ != TYPE_AUTHOR) && (type_ != TYPE_TIMESTAMP) &&
113 __SS__ <<
"The type for column " << name_ <<
" is " << type_
114 <<
", while the only accepted types are: " << TYPE_DATA <<
" "
115 << TYPE_UNIQUE_DATA <<
" " << TYPE_UNIQUE_GROUP_DATA <<
" "
116 << TYPE_MULTILINE_DATA <<
" " << TYPE_FIXED_CHOICE_DATA <<
" " <<
TYPE_UID
117 <<
" " << TYPE_ON_OFF <<
" " << TYPE_TRUE_FALSE <<
" " << TYPE_YES_NO
118 <<
" " << TYPE_START_CHILD_LINK <<
"-* " << TYPE_START_CHILD_LINK_UID
119 <<
"-* " << TYPE_START_CHILD_LINK_GROUP_ID <<
"-* " << TYPE_START_GROUP_ID
120 <<
"-* " << std::endl;
121 if(capturedExceptionString)
122 *capturedExceptionString = ss.str();
126 else if(capturedExceptionString)
127 *capturedExceptionString =
"";
131 for(
unsigned int i = 0; i < type_.size(); ++i)
132 if(!((type_[i] >=
'A' && type_[i] <=
'Z') ||
133 (type_[i] >=
'a' && type_[i] <=
'z') ||
134 (type_[i] >=
'0' && type_[i] <=
'9') ||
135 (type_[i] ==
'-' || type_[i] ==
'_' || type_[i] ==
'.' || type_[i] ==
' ')))
137 __SS__ <<
"The column type for column " << name_ <<
" is '" << type_
138 <<
"'. Column types must contain only letters, numbers, "
139 <<
"dashes, underscores, periods, and spaces." << std::endl;
140 if(capturedExceptionString)
141 *capturedExceptionString += ss.str();
148 (dataType_ != DATATYPE_TIME))
150 __SS__ <<
"The data type for column " << name_ <<
" is " << dataType_
152 << DATATYPE_STRING <<
" " << DATATYPE_TIME << std::endl;
153 if(capturedExceptionString)
154 *capturedExceptionString += ss.str();
159 if(dataType_.size() == 0)
161 __SS__ <<
"The data type for column " << name_ <<
" is '" << dataType_
162 <<
"'. Data types must contain at least 1 character." << std::endl;
163 if(capturedExceptionString)
164 *capturedExceptionString += ss.str();
171 for(
unsigned int i = 0; i < dataType_.size(); ++i)
172 if(!((dataType_[i] >=
'A' && dataType_[i] <=
'Z') ||
173 (dataType_[i] >=
'a' && dataType_[i] <=
'z') ||
174 (dataType_[i] >=
'0' && dataType_[i] <=
'9') ||
175 (dataType_[i] ==
'-' || dataType_[i] ==
'_' || dataType_[i] ==
' ')))
177 __SS__ <<
"The data type for column " << name_ <<
" is '" << dataType_
178 <<
"'. Data types must contain only letters, numbers, "
179 <<
"dashes, underscores, and spaces." << std::endl;
180 if(capturedExceptionString)
181 *capturedExceptionString += ss.str();
186 if(name_.size() == 0)
188 __SS__ <<
"There is a column named " << name_
189 <<
"'. Column names must contain at least 1 character." << std::endl;
190 if(capturedExceptionString)
191 *capturedExceptionString += ss.str();
198 for(
unsigned int i = 0; i < name_.size(); ++i)
199 if(!((name_[i] >=
'A' && name_[i] <=
'Z') ||
200 (name_[i] >=
'a' && name_[i] <=
'z') ||
201 (name_[i] >=
'0' && name_[i] <=
'9') ||
202 (name_[i] ==
'-' || name_[i] ==
'_')))
204 __SS__ <<
"There is a column named " << name_
205 <<
"'. Column names must contain only letters, numbers, "
206 <<
"dashes, and underscores." << std::endl;
207 if(capturedExceptionString)
208 *capturedExceptionString += ss.str();
213 if(storageName_.size() == 0)
215 __SS__ <<
"The storage name for column " << name_ <<
" is '" << storageName_
216 <<
"'. Storage names must contain at least 1 character." << std::endl;
217 if(capturedExceptionString)
218 *capturedExceptionString += ss.str();
225 for(
unsigned int i = 0; i < storageName_.size(); ++i)
226 if(!((storageName_[i] >=
'A' && storageName_[i] <=
'Z') ||
227 (storageName_[i] >=
'0' && storageName_[i] <=
'9') ||
228 (storageName_[i] ==
'-' || storageName_[i] ==
'_')))
230 __SS__ <<
"The storage name for column " << name_ <<
" is '" << storageName_
231 <<
"'. Storage names must contain only capital letters, numbers,"
232 <<
"dashes, and underscores." << std::endl;
233 if(capturedExceptionString)
234 *capturedExceptionString += ss.str();
243 catch(std::runtime_error& e)
245 if(capturedExceptionString)
246 *capturedExceptionString += e.what();
253 std::vector<std::string> TableViewColumnInfo::getDataChoicesFromString(
254 const std::string& dataChoicesCSV)
const
256 std::vector<std::string> dataChoices;
260 std::istringstream f(dataChoicesCSV);
262 while(getline(f, s,
','))
271 void TableViewColumnInfo::extractBitMapInfo()
274 if(type_ == TYPE_BITMAP_DATA)
278 bitMapInfoP_ =
new BitMapInfo();
306 if(dataChoices_.size() < 16)
308 __SS__ <<
"The Bit-Map data parameters for column " << name_
309 <<
" should be size 16, but is size " << dataChoices_.size()
310 <<
". Bit-Map parameters should be e.g. rows, cols, cellBitSize, and "
312 "mid, max color, etc."
316 if(dataChoices_.size() > 18)
318 __SS__ <<
"The Bit-Map data parameters for column " << name_
319 <<
" should be size 18, but is size " << dataChoices_.size()
320 <<
". Bit-Map parameters should be e.g. rows, cols, cellBitSize, and "
322 "mid, max color, etc."
327 sscanf(dataChoices_[0].c_str(),
"%u", &(bitMapInfoP_->numOfRows_));
328 sscanf(dataChoices_[1].c_str(),
"%u", &(bitMapInfoP_->numOfColumns_));
329 sscanf(dataChoices_[2].c_str(),
"%u", &(bitMapInfoP_->cellBitSize_));
331 sscanf(dataChoices_[3].c_str(),
"%lu", &(bitMapInfoP_->minValue_));
332 sscanf(dataChoices_[4].c_str(),
"%lu", &(bitMapInfoP_->maxValue_));
333 sscanf(dataChoices_[5].c_str(),
"%lu", &(bitMapInfoP_->stepValue_));
335 bitMapInfoP_->aspectRatio_ = dataChoices_[6];
336 bitMapInfoP_->minColor_ = dataChoices_[7];
337 bitMapInfoP_->midColor_ = dataChoices_[8];
338 bitMapInfoP_->maxColor_ = dataChoices_[9];
339 bitMapInfoP_->absMinColor_ = dataChoices_[10];
340 bitMapInfoP_->absMaxColor_ = dataChoices_[11];
342 bitMapInfoP_->rowsAscending_ = dataChoices_[12] ==
"Yes" ? 1 : 0;
343 bitMapInfoP_->colsAscending_ = dataChoices_[13] ==
"Yes" ? 1 : 0;
344 bitMapInfoP_->snakeRows_ = dataChoices_[14] ==
"Yes" ? 1 : 0;
345 bitMapInfoP_->snakeCols_ = dataChoices_[15] ==
"Yes" ? 1 : 0;
347 bitMapInfoP_->snakeCols_ = dataChoices_[15] ==
"Yes" ? 1 : 0;
348 if(dataChoices_.size() > 16)
349 bitMapInfoP_->floatingPoint_ = dataChoices_[16] ==
"Yes" ? 1 : 0;
350 if(dataChoices_.size() > 17)
351 bitMapInfoP_->mapToStrings_ = dataChoices_[17];
353 if(bitMapInfoP_->floatingPoint_ &&
354 bitMapInfoP_->cellBitSize_ != 32)
356 __SS__ <<
"Illegal Bit-Map data parameters for column " << name_
357 <<
" - if floating point is allowed, the Bit-field size must be 32."
362 if(bitMapInfoP_->mapToStrings_ !=
"" &&
363 bitMapInfoP_->mapToStrings_ != TableViewColumnInfo::DATATYPE_STRING_DEFAULT)
365 if(bitMapInfoP_->floatingPoint_)
367 __SS__ <<
"Illegal Bit-Map data parameters for column " << name_
368 <<
" - if floating point is allowed, then Value Map to Strings "
369 "must be empty or set to 'DEFAULT.' "
370 <<
"Please disable floating point or clear the Value Map to "
375 bitMapInfoP_->mapsToStrings_ =
true;
378 bitMapInfoP_->mapsToStrings_ =
false;
384 TableViewColumnInfo::TableViewColumnInfo(
void) {}
387 TableViewColumnInfo::TableViewColumnInfo(
391 , storageName_(c.storageName_)
392 , dataType_(c.dataType_)
393 , defaultValue_(c.defaultValue_)
394 , dataChoices_(c.dataChoices_)
395 , minValue_(c.minValue_)
396 , maxValue_(c.maxValue_)
397 , bitMapInfoP_(nullptr)
407 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR " << std::endl;
412 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
413 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
414 "and initialize another TableViewColumnInfo, rather than assigning to "
415 "an existing TableViewColumnInfo. Crashing now."
417 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
418 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
419 "and initialize another TableViewColumnInfo, rather than assigning to "
420 "an existing TableViewColumnInfo. Crashing now."
422 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
423 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
424 "and initialize another TableViewColumnInfo, rather than assigning to "
425 "an existing TableViewColumnInfo. Crashing now."
427 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
428 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
429 "and initialize another TableViewColumnInfo, rather than assigning to "
430 "an existing TableViewColumnInfo. Crashing now."
432 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
433 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
434 "and initialize another TableViewColumnInfo, rather than assigning to "
435 "an existing TableViewColumnInfo. Crashing now."
456 TableViewColumnInfo::~TableViewColumnInfo(
void)
463 const std::string& TableViewColumnInfo::getType(
void)
const {
return type_; }
469 return defaultValue_;
471 const std::string& TableViewColumnInfo::getMinValue(
void)
const {
return minValue_; }
472 const std::string& TableViewColumnInfo::getMaxValue(
void)
const {
return maxValue_; }
478 const std::string& type,
const std::string& dataType)
480 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
482 if(type == TableViewColumnInfo::TYPE_ON_OFF ||
483 type == TableViewColumnInfo::TYPE_TRUE_FALSE ||
484 type == TableViewColumnInfo::TYPE_YES_NO)
486 TableViewColumnInfo::DATATYPE_BOOL_DEFAULT);
488 return (TableViewColumnInfo::DATATYPE_LINK_DEFAULT);
489 else if(type == TableViewColumnInfo::TYPE_COMMENT)
490 return (TableViewColumnInfo::DATATYPE_COMMENT_DEFAULT);
492 return (TableViewColumnInfo::DATATYPE_STRING_DEFAULT);
495 return (TableViewColumnInfo::DATATYPE_NUMBER_DEFAULT);
496 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
497 return (TableViewColumnInfo::DATATYPE_TIME_DEFAULT);
500 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
501 __COUT_ERR__ <<
"\n" << ss.str();
510 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
512 DATATYPE_NUMBER_MIN_DEFAULT);
516 return (TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT);
519 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
520 return (TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT);
523 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
524 __COUT_ERR__ <<
"\n" << ss.str();
533 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
534 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
538 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
540 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
541 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
544 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
545 __COUT_ERR__ <<
"\n" << ss.str();
551 std::vector<std::string> TableViewColumnInfo::getAllTypesForGUI(
void)
553 std::vector<std::string> all;
554 all.push_back(TYPE_DATA);
555 all.push_back(TYPE_UNIQUE_DATA);
556 all.push_back(TYPE_UNIQUE_GROUP_DATA);
557 all.push_back(TYPE_FIXED_CHOICE_DATA);
558 all.push_back(TYPE_MULTILINE_DATA);
559 all.push_back(TYPE_BITMAP_DATA);
560 all.push_back(TYPE_ON_OFF);
561 all.push_back(TYPE_TRUE_FALSE);
562 all.push_back(TYPE_YES_NO);
563 all.push_back(TYPE_START_CHILD_LINK_UID);
564 all.push_back(TYPE_START_CHILD_LINK_GROUP_ID);
565 all.push_back(TYPE_START_CHILD_LINK);
566 all.push_back(TYPE_START_GROUP_ID);
571 std::vector<std::string> TableViewColumnInfo::getAllDataTypesForGUI(
void)
573 std::vector<std::string> all;
574 all.push_back(DATATYPE_STRING);
576 all.push_back(DATATYPE_TIME);
582 std::map<std::pair<std::string, std::string>, std::string>
585 std::map<std::pair<std::string, std::string>, std::string> all;
587 DATATYPE_NUMBER_DEFAULT;
588 all[std::pair<std::string, std::string>(DATATYPE_TIME,
"*")] = DATATYPE_TIME_DEFAULT;
590 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_ON_OFF)] =
591 DATATYPE_BOOL_DEFAULT;
592 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_TRUE_FALSE)] =
593 DATATYPE_BOOL_DEFAULT;
594 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_YES_NO)] =
595 DATATYPE_BOOL_DEFAULT;
597 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_START_CHILD_LINK)] =
598 DATATYPE_LINK_DEFAULT;
599 all[std::pair<std::string, std::string>(DATATYPE_STRING,
"*")] =
600 DATATYPE_STRING_DEFAULT;
608 return (type_ == TYPE_ON_OFF || type_ == TYPE_TRUE_FALSE || type_ == TYPE_YES_NO);
619 const std::string& TableViewColumnInfo::getName(
void)
const {
return name_; }
622 const std::string& TableViewColumnInfo::getStorageName(
void)
const
628 const std::string& TableViewColumnInfo::getDataType(
void)
const {
return dataType_; }
631 const std::vector<std::string>& TableViewColumnInfo::getDataChoices(
void)
const
642 return *bitMapInfoP_;
646 __SS__ <<
"getBitMapInfo request for non-BitMap column of type: " << getType()
648 __COUT_ERR__ <<
"\n" << ss.str();
659 return (type.find(TYPE_START_CHILD_LINK) == 0 &&
660 type.length() > TYPE_START_CHILD_LINK.length() &&
661 type[TYPE_START_CHILD_LINK.length()] ==
'-');
670 return (type_.find(TYPE_START_CHILD_LINK) == 0 &&
671 type_.length() > TYPE_START_CHILD_LINK.length() &&
672 type_[TYPE_START_CHILD_LINK.length()] ==
'-');
681 return (type_.find(TYPE_START_CHILD_LINK_UID) == 0 &&
682 type_.length() > TYPE_START_CHILD_LINK_UID.length() &&
683 type_[TYPE_START_CHILD_LINK_UID.length()] ==
'-');
692 return (type_.find(TYPE_START_CHILD_LINK_GROUP_ID) == 0 &&
693 type_.length() > TYPE_START_CHILD_LINK_GROUP_ID.length() &&
694 type_[TYPE_START_CHILD_LINK_GROUP_ID.length()] ==
'-');
703 return (type_.find(TYPE_START_GROUP_ID) == 0 &&
704 type_.length() > TYPE_START_GROUP_ID.length() &&
705 type_[TYPE_START_GROUP_ID.length()] ==
'-');
718 return type_.substr(TYPE_START_CHILD_LINK.length() + 1);
720 return type_.substr(TYPE_START_CHILD_LINK_UID.length() + 1);
722 return type_.substr(TYPE_START_CHILD_LINK_GROUP_ID.length() + 1);
724 return type_.substr(TYPE_START_GROUP_ID.length() + 1);
728 << (
"Requesting a Link Index from a column that is not a child link member!")
730 __COUT_ERR__ << ss.str();
bool isChildLinkUID(void) const
static const std::string DATATYPE_NUMBER
static std::map< std::pair< std::string, std::string >, std::string > getAllDefaultsForGUI(void)
map of datatype,type to default value
std::string getChildLinkIndex(void) const
getChildLinkIndex
bool isChildLink(void) const
TableViewColumnInfo & operator=(const TableViewColumnInfo &c)
assignment operator because of bitmap pointer
bool isUID(void) const
isUID
bool isGroupID(void) const
static const std::string & getDefaultDefaultValue(const std::string &type, const std::string &dataType)
static const std::string TYPE_UID
NOTE: Do NOT put '-' in static const TYPEs because it will mess up javascript handling in the web gui...
static const std::string & getMaxDefaultValue(const std::string &dataType)
function to get max default value
const BitMapInfo & getBitMapInfo(void) const
uses dataChoices CSV fields if type is TYPE_BITMAP_DATA
static const std::string & getMinDefaultValue(const std::string &dataType)
function to get min default value
bool isBoolType(void) const
TODO check if min and max values need a function called getallminmaxforgui or something like that for...
bool isNumberDataType(void) const
isNumberDataType
bool isChildLinkGroupID(void) const
const std::string & getDefaultValue(void) const
returns the configued default value value for this particular column
static std::string decodeURIComponent(const std::string &data)
static std::string stackTrace(void)
< uses dataChoices CSV fields if type is TYPE_BITMAP_DATA