From 0f262fd10d337db0ec435d840b541d629879ce9f Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Wed, 20 May 2009 13:29:54 +0200 Subject: Add CSV syntax support to the grapher * grapher/GraphData.hxx (CSVData): new class * grapher/GraphData.cxx (commaSplit): new function (ioCallback): handle CSV definition and data --- grapher/GraphData.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'grapher/GraphData.hxx') diff --git a/grapher/GraphData.hxx b/grapher/GraphData.hxx index 0f3b0b31..2c0783c6 100644 --- a/grapher/GraphData.hxx +++ b/grapher/GraphData.hxx @@ -3,6 +3,7 @@ #include #include +#include namespace systemtap { @@ -40,5 +41,11 @@ namespace systemtap } }; }; + + struct CSVData + { + typedef std::pair > Element; + std::vector elements; + }; } #endif -- cgit