18Kernel::Logger
g_log(
"Column");
21template <>
bool Column::isType<bool>()
const {
return isBool(); }
28void Column::setPlotType(
int t) {
29 if (t == -1000 || t == 0 || t == 1 || t == 2 || t == 3 || t == 4 || t == 5 || t == 6)
32 g_log.
error() <<
"Cannot set plot of column to " << t <<
" . Ignore this attempt.\n";
41void Column::sortIndex(
bool ,
size_t ,
size_t , std::vector<size_t> & ,
42 std::vector<std::pair<size_t, size_t>> & )
const {
43 throw std::runtime_error(
"Cannot sort column of type " +
m_type);
49void Column::sortValues(
const std::vector<size_t> & ) {
50 throw std::runtime_error(
"Cannot sort column of type " +
m_type);
54 s << (b.
value ?
"true" :
"false");
64 std::transform(buff.begin(), buff.end(), buff.begin(), toupper);
65 if (buff ==
"TRUE" || buff ==
"1" || buff ==
"OK" || buff ==
"YES" || buff ==
"ON") {
int m_plotType
plot type where None = 0 (means it has specifically been set to 'no plot type') NotSet = -1000 (this ...
int m_linkedYCol
For error columns - the index of the related data column.
virtual bool isBool() const =0
Specialized type check.
void error(const std::string &msg)
Logs at error level.
MANTID_API_DLL std::ostream & operator<<(std::ostream &, const AlgorithmHistory &)
Prints a text representation.
Kernel::Logger g_log("ExperimentInfo")
static logger object
MANTID_API_DLL std::istream & operator>>(std::istream &istr, API::Boolean &)
Redaing a Boolean from an input stream.
As TableColumn stores its data in a std::vector bool type cannot be used in the same way as the other...