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_BOOL_DEFAULT =
"0";
53 const std::string TableViewColumnInfo::DATATYPE_NUMBER_DEFAULT =
"0";
55 const std::string TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT =
"";
56 const std::string TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT =
"";
58 const std::string TableViewColumnInfo::DATATYPE_TIME_DEFAULT =
"0";
59 const std::string TableViewColumnInfo::DATATYPE_LINK_DEFAULT =
"NO_LINK";
61 const std::string TableViewColumnInfo::COL_NAME_STATUS =
"Status";
62 const std::string TableViewColumnInfo::COL_NAME_ENABLED =
"Enabled";
63 const std::string TableViewColumnInfo::COL_NAME_PRIORITY =
"Priority";
64 const std::string TableViewColumnInfo::COL_NAME_COMMENT =
"CommentDescription";
65 const std::string TableViewColumnInfo::COL_NAME_AUTHOR =
"Author";
66 const std::string TableViewColumnInfo::COL_NAME_CREATION =
"RecordInsertionTime";
74 TableViewColumnInfo::TableViewColumnInfo(
const std::string& type,
75 const std::string& name,
76 const std::string& storageName,
77 const std::string& dataType,
78 const std::string* defaultValue,
79 const std::string& dataChoicesCSV,
80 const std::string* minValue,
81 const std::string* maxValue,
82 std::string* capturedExceptionString)
85 , storageName_(storageName)
86 , dataType_( dataType ==
"VARCHAR2" ? DATATYPE_STRING
88 , defaultValue_(defaultValue ? *defaultValue
89 : getDefaultDefaultValue(type_, dataType_))
91 dataChoices_(getDataChoicesFromString(dataChoicesCSV))
92 , minValue_(minValue ? ((*minValue) ==
"null" ?
"" : (*minValue))
93 : getMinDefaultValue(dataType_))
96 maxValue_(maxValue ? ((*maxValue) ==
"null" ?
"" : (*maxValue))
97 : getMaxDefaultValue(dataType_))
100 bitMapInfoP_(nullptr)
105 if((type_ !=
TYPE_UID) && (type_ != TYPE_DATA) && (type_ != TYPE_UNIQUE_DATA) &&
106 (type_ != TYPE_UNIQUE_GROUP_DATA) && (type_ != TYPE_MULTILINE_DATA) &&
107 (type_ != TYPE_FIXED_CHOICE_DATA) && (type_ != TYPE_BITMAP_DATA) &&
108 (type_ != TYPE_ON_OFF) && (type_ != TYPE_TRUE_FALSE) && (type_ != TYPE_YES_NO) &&
109 (type_ != TYPE_COMMENT) && (type_ != TYPE_AUTHOR) && (type_ != TYPE_TIMESTAMP) &&
112 __SS__ <<
"The type for column " << name_ <<
" is " << type_
113 <<
", while the only accepted types are: " << TYPE_DATA <<
" "
114 << TYPE_UNIQUE_DATA <<
" " << TYPE_UNIQUE_GROUP_DATA <<
" "
115 << TYPE_MULTILINE_DATA <<
" " << TYPE_FIXED_CHOICE_DATA <<
" " <<
TYPE_UID
116 <<
" " << TYPE_ON_OFF <<
" " << TYPE_TRUE_FALSE <<
" " << TYPE_YES_NO
117 <<
" " << TYPE_START_CHILD_LINK <<
"-* " << TYPE_START_CHILD_LINK_UID
118 <<
"-* " << TYPE_START_CHILD_LINK_GROUP_ID <<
"-* " << TYPE_START_GROUP_ID
119 <<
"-* " << std::endl;
120 if(capturedExceptionString)
121 *capturedExceptionString = ss.str();
125 else if(capturedExceptionString)
126 *capturedExceptionString =
"";
130 for(
unsigned int i = 0; i < type_.size(); ++i)
131 if(!((type_[i] >=
'A' && type_[i] <=
'Z') ||
132 (type_[i] >=
'a' && type_[i] <=
'z') ||
133 (type_[i] >=
'0' && type_[i] <=
'9') ||
134 (type_[i] ==
'-' || type_[i] ==
'_' || type_[i] ==
'.' || type_[i] ==
' ')))
136 __SS__ <<
"The column type for column " << name_ <<
" is '" << type_
137 <<
"'. Column types must contain only letters, numbers, "
138 <<
"dashes, underscores, periods, and spaces." << std::endl;
139 if(capturedExceptionString)
140 *capturedExceptionString += ss.str();
147 (dataType_ != DATATYPE_TIME))
149 __SS__ <<
"The data type for column " << name_ <<
" is " << dataType_
151 << DATATYPE_STRING <<
" " << DATATYPE_TIME << std::endl;
152 if(capturedExceptionString)
153 *capturedExceptionString += ss.str();
158 if(dataType_.size() == 0)
160 __SS__ <<
"The data type for column " << name_ <<
" is '" << dataType_
161 <<
"'. Data types must contain at least 1 character." << std::endl;
162 if(capturedExceptionString)
163 *capturedExceptionString += ss.str();
170 for(
unsigned int i = 0; i < dataType_.size(); ++i)
171 if(!((dataType_[i] >=
'A' && dataType_[i] <=
'Z') ||
172 (dataType_[i] >=
'a' && dataType_[i] <=
'z') ||
173 (dataType_[i] >=
'0' && dataType_[i] <=
'9') ||
174 (dataType_[i] ==
'-' || dataType_[i] ==
'_' || dataType_[i] ==
' ')))
176 __SS__ <<
"The data type for column " << name_ <<
" is '" << dataType_
177 <<
"'. Data types must contain only letters, numbers, "
178 <<
"dashes, underscores, and spaces." << std::endl;
179 if(capturedExceptionString)
180 *capturedExceptionString += ss.str();
185 if(name_.size() == 0)
187 __SS__ <<
"There is a column named " << name_
188 <<
"'. Column names must contain at least 1 character." << std::endl;
189 if(capturedExceptionString)
190 *capturedExceptionString += ss.str();
197 for(
unsigned int i = 0; i < name_.size(); ++i)
198 if(!((name_[i] >=
'A' && name_[i] <=
'Z') ||
199 (name_[i] >=
'a' && name_[i] <=
'z') ||
200 (name_[i] >=
'0' && name_[i] <=
'9') ||
201 (name_[i] ==
'-' || name_[i] ==
'_')))
203 __SS__ <<
"There is a column named " << name_
204 <<
"'. Column names must contain only letters, numbers, "
205 <<
"dashes, and underscores." << std::endl;
206 if(capturedExceptionString)
207 *capturedExceptionString += ss.str();
212 if(storageName_.size() == 0)
214 __SS__ <<
"The storage name for column " << name_ <<
" is '" << storageName_
215 <<
"'. Storage names must contain at least 1 character." << std::endl;
216 if(capturedExceptionString)
217 *capturedExceptionString += ss.str();
224 for(
unsigned int i = 0; i < storageName_.size(); ++i)
225 if(!((storageName_[i] >=
'A' && storageName_[i] <=
'Z') ||
226 (storageName_[i] >=
'0' && storageName_[i] <=
'9') ||
227 (storageName_[i] ==
'-' || storageName_[i] ==
'_')))
229 __SS__ <<
"The storage name for column " << name_ <<
" is '" << storageName_
230 <<
"'. Storage names must contain only capital letters, numbers,"
231 <<
"dashes, and underscores." << std::endl;
232 if(capturedExceptionString)
233 *capturedExceptionString += ss.str();
242 catch(std::runtime_error& e)
244 if(capturedExceptionString)
245 *capturedExceptionString += e.what();
252 std::vector<std::string> TableViewColumnInfo::getDataChoicesFromString(
253 const std::string& dataChoicesCSV)
const
255 std::vector<std::string> dataChoices;
259 std::istringstream f(dataChoicesCSV);
261 while(getline(f, s,
','))
270 void TableViewColumnInfo::extractBitMapInfo()
273 if(type_ == TYPE_BITMAP_DATA)
277 bitMapInfoP_ =
new BitMapInfo();
305 if(dataChoices_.size() < 16)
307 __SS__ <<
"The Bit-Map data parameters for column " << name_
308 <<
" should be size 16, but is size " << dataChoices_.size()
309 <<
". Bit-Map parameters should be e.g. rows, cols, cellBitSize, and "
311 "mid, max color, etc."
315 if(dataChoices_.size() > 18)
317 __SS__ <<
"The Bit-Map data parameters for column " << name_
318 <<
" should be size 18, but is size " << dataChoices_.size()
319 <<
". Bit-Map parameters should be e.g. rows, cols, cellBitSize, and "
321 "mid, max color, etc."
326 sscanf(dataChoices_[0].c_str(),
"%u", &(bitMapInfoP_->numOfRows_));
327 sscanf(dataChoices_[1].c_str(),
"%u", &(bitMapInfoP_->numOfColumns_));
328 sscanf(dataChoices_[2].c_str(),
"%u", &(bitMapInfoP_->cellBitSize_));
330 sscanf(dataChoices_[3].c_str(),
"%lu", &(bitMapInfoP_->minValue_));
331 sscanf(dataChoices_[4].c_str(),
"%lu", &(bitMapInfoP_->maxValue_));
332 sscanf(dataChoices_[5].c_str(),
"%lu", &(bitMapInfoP_->stepValue_));
334 bitMapInfoP_->aspectRatio_ = dataChoices_[6];
335 bitMapInfoP_->minColor_ = dataChoices_[7];
336 bitMapInfoP_->midColor_ = dataChoices_[8];
337 bitMapInfoP_->maxColor_ = dataChoices_[9];
338 bitMapInfoP_->absMinColor_ = dataChoices_[10];
339 bitMapInfoP_->absMaxColor_ = dataChoices_[11];
341 bitMapInfoP_->rowsAscending_ = dataChoices_[12] ==
"Yes" ? 1 : 0;
342 bitMapInfoP_->colsAscending_ = dataChoices_[13] ==
"Yes" ? 1 : 0;
343 bitMapInfoP_->snakeRows_ = dataChoices_[14] ==
"Yes" ? 1 : 0;
344 bitMapInfoP_->snakeCols_ = dataChoices_[15] ==
"Yes" ? 1 : 0;
346 bitMapInfoP_->snakeCols_ = dataChoices_[15] ==
"Yes" ? 1 : 0;
347 if(dataChoices_.size() > 16)
348 bitMapInfoP_->floatingPoint_ = dataChoices_[16] ==
"Yes" ? 1 : 0;
349 if(dataChoices_.size() > 17)
350 bitMapInfoP_->mapToStrings_ = dataChoices_[17];
352 if(bitMapInfoP_->floatingPoint_ &&
353 bitMapInfoP_->cellBitSize_ != 32)
355 __SS__ <<
"Illegal Bit-Map data parameters for column " << name_
356 <<
" - if floating point is allowed, the Bit-field size must be 32."
361 if(bitMapInfoP_->mapToStrings_ !=
"" &&
362 bitMapInfoP_->mapToStrings_ != TableViewColumnInfo::DATATYPE_STRING_DEFAULT)
364 if(bitMapInfoP_->floatingPoint_)
366 __SS__ <<
"Illegal Bit-Map data parameters for column " << name_
367 <<
" - if floating point is allowed, then Value Map to Strings "
368 "must be empty or set to 'DEFAULT.' "
369 <<
"Please disable floating point or clear the Value Map to "
374 bitMapInfoP_->mapsToStrings_ =
true;
377 bitMapInfoP_->mapsToStrings_ =
false;
383 TableViewColumnInfo::TableViewColumnInfo(
void) {}
386 TableViewColumnInfo::TableViewColumnInfo(
390 , storageName_(c.storageName_)
391 , dataType_(c.dataType_)
392 , defaultValue_(c.defaultValue_)
393 , dataChoices_(c.dataChoices_)
394 , minValue_(c.minValue_)
395 , maxValue_(c.maxValue_)
396 , bitMapInfoP_(nullptr)
406 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR " << std::endl;
411 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
412 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
413 "and initialize another TableViewColumnInfo, rather than assigning to "
414 "an existing TableViewColumnInfo. Crashing now."
416 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
417 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
418 "and initialize another TableViewColumnInfo, rather than assigning to "
419 "an existing TableViewColumnInfo. Crashing now."
421 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
422 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
423 "and initialize another TableViewColumnInfo, rather than assigning to "
424 "an existing TableViewColumnInfo. Crashing now."
426 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
427 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
428 "and initialize another TableViewColumnInfo, rather than assigning to "
429 "an existing TableViewColumnInfo. Crashing now."
431 __COUT__ <<
"OPERATOR= COPY CONSTRUCTOR CANNOT BE USED - TableViewColumnInfo is a "
432 "const class. SO YOUR CODE IS WRONG! You should probably instantiate "
433 "and initialize another TableViewColumnInfo, rather than assigning to "
434 "an existing TableViewColumnInfo. Crashing now."
455 TableViewColumnInfo::~TableViewColumnInfo(
void)
462 const std::string& TableViewColumnInfo::getType(
void)
const {
return type_; }
465 const std::string& TableViewColumnInfo::getDefaultValue(
void)
const
467 return defaultValue_;
469 const std::string& TableViewColumnInfo::getMinValue(
void)
const {
return minValue_; }
470 const std::string& TableViewColumnInfo::getMaxValue(
void)
const {
return maxValue_; }
473 const std::string& TableViewColumnInfo::getDefaultDefaultValue(
474 const std::string& type,
const std::string& dataType)
476 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
478 if(type == TableViewColumnInfo::TYPE_ON_OFF ||
479 type == TableViewColumnInfo::TYPE_TRUE_FALSE ||
480 type == TableViewColumnInfo::TYPE_YES_NO)
482 TableViewColumnInfo::DATATYPE_BOOL_DEFAULT);
484 return (TableViewColumnInfo::DATATYPE_LINK_DEFAULT);
485 else if(type == TableViewColumnInfo::TYPE_COMMENT)
486 return (TableViewColumnInfo::DATATYPE_COMMENT_DEFAULT);
488 return (TableViewColumnInfo::DATATYPE_STRING_DEFAULT);
491 return (TableViewColumnInfo::DATATYPE_NUMBER_DEFAULT);
492 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
493 return (TableViewColumnInfo::DATATYPE_TIME_DEFAULT);
496 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
497 __COUT_ERR__ <<
"\n" << ss.str();
506 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
508 DATATYPE_NUMBER_MIN_DEFAULT);
512 return (TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT);
515 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
516 return (TableViewColumnInfo::DATATYPE_NUMBER_MIN_DEFAULT);
519 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
520 __COUT_ERR__ <<
"\n" << ss.str();
529 if(dataType == TableViewColumnInfo::DATATYPE_STRING)
530 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
534 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
536 else if(dataType == TableViewColumnInfo::DATATYPE_TIME)
537 return (TableViewColumnInfo::DATATYPE_NUMBER_MAX_DEFAULT);
540 __SS__ <<
"\tUnrecognized View data type: " << dataType << std::endl;
541 __COUT_ERR__ <<
"\n" << ss.str();
547 std::vector<std::string> TableViewColumnInfo::getAllTypesForGUI(
void)
549 std::vector<std::string> all;
550 all.push_back(TYPE_DATA);
551 all.push_back(TYPE_UNIQUE_DATA);
552 all.push_back(TYPE_UNIQUE_GROUP_DATA);
553 all.push_back(TYPE_FIXED_CHOICE_DATA);
554 all.push_back(TYPE_MULTILINE_DATA);
555 all.push_back(TYPE_BITMAP_DATA);
556 all.push_back(TYPE_ON_OFF);
557 all.push_back(TYPE_TRUE_FALSE);
558 all.push_back(TYPE_YES_NO);
559 all.push_back(TYPE_START_CHILD_LINK_UID);
560 all.push_back(TYPE_START_CHILD_LINK_GROUP_ID);
561 all.push_back(TYPE_START_CHILD_LINK);
562 all.push_back(TYPE_START_GROUP_ID);
567 std::vector<std::string> TableViewColumnInfo::getAllDataTypesForGUI(
void)
569 std::vector<std::string> all;
570 all.push_back(DATATYPE_STRING);
572 all.push_back(DATATYPE_TIME);
578 std::map<std::pair<std::string, std::string>, std::string>
581 std::map<std::pair<std::string, std::string>, std::string> all;
583 DATATYPE_NUMBER_DEFAULT;
584 all[std::pair<std::string, std::string>(DATATYPE_TIME,
"*")] = DATATYPE_TIME_DEFAULT;
586 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_ON_OFF)] =
587 DATATYPE_BOOL_DEFAULT;
588 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_TRUE_FALSE)] =
589 DATATYPE_BOOL_DEFAULT;
590 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_YES_NO)] =
591 DATATYPE_BOOL_DEFAULT;
593 all[std::pair<std::string, std::string>(DATATYPE_STRING, TYPE_START_CHILD_LINK)] =
594 DATATYPE_LINK_DEFAULT;
595 all[std::pair<std::string, std::string>(DATATYPE_STRING,
"*")] =
596 DATATYPE_STRING_DEFAULT;
604 return (type_ == TYPE_ON_OFF || type_ == TYPE_TRUE_FALSE || type_ == TYPE_YES_NO);
615 const std::string& TableViewColumnInfo::getName(
void)
const {
return name_; }
618 const std::string& TableViewColumnInfo::getStorageName(
void)
const
624 const std::string& TableViewColumnInfo::getDataType(
void)
const {
return dataType_; }
627 const std::vector<std::string>& TableViewColumnInfo::getDataChoices(
void)
const
638 return *bitMapInfoP_;
642 __SS__ <<
"getBitMapInfo request for non-BitMap column of type: " << getType()
644 __COUT_ERR__ <<
"\n" << ss.str();
655 return (type.find(TYPE_START_CHILD_LINK) == 0 &&
656 type.length() > TYPE_START_CHILD_LINK.length() &&
657 type[TYPE_START_CHILD_LINK.length()] ==
'-');
666 return (type_.find(TYPE_START_CHILD_LINK) == 0 &&
667 type_.length() > TYPE_START_CHILD_LINK.length() &&
668 type_[TYPE_START_CHILD_LINK.length()] ==
'-');
677 return (type_.find(TYPE_START_CHILD_LINK_UID) == 0 &&
678 type_.length() > TYPE_START_CHILD_LINK_UID.length() &&
679 type_[TYPE_START_CHILD_LINK_UID.length()] ==
'-');
688 return (type_.find(TYPE_START_CHILD_LINK_GROUP_ID) == 0 &&
689 type_.length() > TYPE_START_CHILD_LINK_GROUP_ID.length() &&
690 type_[TYPE_START_CHILD_LINK_GROUP_ID.length()] ==
'-');
699 return (type_.find(TYPE_START_GROUP_ID) == 0 &&
700 type_.length() > TYPE_START_GROUP_ID.length() &&
701 type_[TYPE_START_GROUP_ID.length()] ==
'-');
714 return type_.substr(TYPE_START_CHILD_LINK.length() + 1);
716 return type_.substr(TYPE_START_CHILD_LINK_UID.length() + 1);
718 return type_.substr(TYPE_START_CHILD_LINK_GROUP_ID.length() + 1);
720 return type_.substr(TYPE_START_GROUP_ID.length() + 1);
724 << (
"Requesting a Link Index from a column that is not a child link member!")
726 __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 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
static std::string decodeURIComponent(const std::string &data)
static std::string stackTrace(void)
< uses dataChoices CSV fields if type is TYPE_BITMAP_DATA