28 #include <cairoSurfaceImage.h> 41 bool redraw(
int,
int,
int width,
int height)
override;
67 std::size_t
rowOver(
double y)
const;
68 std::vector<std::vector<std::string> >
parseLines(
size_t maxColumn=std::numeric_limits<size_t>::max());
84 #include "CSVDialog.cd" 85 #include "CSVDialog.xcd"
std::vector< std::vector< std::string > > parseLines(size_t maxColumn=std::numeric_limits< size_t >::max())
std::size_t rowOver(double y) const
return row mouse is over
void classifyColumns()
try to classify axis,data,ignore columns based on read in data
std::vector< size_t > correctedUniqueValues()
unique values in each column, ignoring initial header lines could slightly underestimate the value...
void loadFile()
loads an initial sequence of lines from url. If fname contains "://", is is treated as a URL...
void populateHeaders()
populate all column names from the headers row
double tableWidth() const
width of table (in pixels)
void reportFromFile(const std::string &input, const std::string &output) const
void guessSpecAndLoadFile()
guess the spec, then load an initial sequence of like loadFile()
void populateHeader(size_t col)
populate the name of column col with the data from the header row
bool isNumerical(const std::string &s)
std::string url
filename, or web url
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
void loadFileFromName(const std::string &fname)
common implementation of loading the initial sequence of lines
std::size_t columnOver(double x) const
return column mouse is over
CLASSDESC_ACCESS(DataSpec)
bool redraw(int, int, int width, int height) override
std::vector< std::string > initialLines
initial lines of file
static const unsigned numInitialLines