Mantid
|
Static Public Member Functions | |
static dict | getstate (const ITableWorkspace &ws) |
static void | setstate (ITableWorkspace &ws, const dict &state) |
Static Private Member Functions | |
static void | readData (ITableWorkspace &ws, const dict &state) |
Read the data from a python dict into the table workspace. More... | |
static void | readMetaData (ITableWorkspace &ws, const dict &state) |
Read the meta data from a python dict into the table workspace. More... | |
static dict | writeMetaData (const ITableWorkspace &ws) |
Write the meta data from a table workspace to a python dict. More... | |
Definition at line 578 of file ITableWorkspace.cpp.
|
inlinestatic |
Definition at line 580 of file ITableWorkspace.cpp.
References toDict(), and writeMetaData().
|
inlinestaticprivate |
Read the data from a python dict into the table workspace.
ws | :: the workspace to load data into |
state | :: the pickled state of the table |
Definition at line 642 of file ITableWorkspace.cpp.
References Mantid::API::ITableWorkspace::appendRow(), Mantid::API::ITableWorkspace::getColumn(), and Mantid::API::ITableWorkspace::getColumnNames().
Referenced by setstate().
|
inlinestaticprivate |
Read the meta data from a python dict into the table workspace.
This will read information relating to the column names and data types to be stored in the new table
ws | :: the workspace to load data into |
state | :: the pickled state of the table |
Definition at line 622 of file ITableWorkspace.cpp.
References Mantid::API::ITableWorkspace::addColumn(), and value.
Referenced by setstate().
|
inlinestatic |
Definition at line 587 of file ITableWorkspace.cpp.
References readData(), and readMetaData().
|
inlinestaticprivate |
Write the meta data from a table workspace to a python dict.
ws | :: the workspace to load data into |
Definition at line 597 of file ITableWorkspace.cpp.
References Mantid::API::ITableWorkspace::getColumn(), and Mantid::API::ITableWorkspace::getColumnNames().
Referenced by getstate().