|
SIVIC API
0.9.26
|
#include <svkProvenance.h>
Public Member Functions | |
| vtkTypeMacro (svkProvenance, vtkObject) | |
| void | AddAlgorithm (string algoName) |
| template<class ArgType > | |
| void | AddAlgorithmArg (string algoName, int argNumber, string argName, ArgType argValue) |
| void | SetApplicationCommand (string cmdLine) |
| void | PrintXML (ostream &out) |
Static Public Member Functions | |
| static svkProvenance * | New () |
| static string | GetCommandLineString (int argc, char **argv) |
Protected Member Functions | |
| svkProvenance () | |
| ~svkProvenance () | |
Class that represents an XML svkProvenance objet.
|
protected |
|
protected |
| void AddAlgorithm | ( | string | algoName | ) |
Adds a nested XML element to the provance as a container for representing a discrete algorithm applied to the svkImageData object.
Referenced by svkDdfVolumeReader::ExecuteDataWithInformation(), svkMRSCombine::RequestData(), svkLCModelRawWriter::SetProvenance(), svkDdfVolumeWriter::SetProvenance(), svkCorrectDCOffset::SetProvenance(), svkGEPFileReader::SetProvenance(), and svkMRSAutoPhase::UpdateProvenance().
| template void AddAlgorithmArg< char * > | ( | string | algoName, |
| int | argNumber, | ||
| string | argName, | ||
| ArgType | argValue | ||
| ) |
Adds XML elements to represent an algorithm's input args. These are added as elements within the named AlgorithmElement. argNumber, argName, argValue, argType?
Referenced by svkDdfVolumeWriter::SetProvenance(), and svkGEPFileReader::SetProvenance().
|
static |
Converts argv into a string.
|
static |
Referenced by svkImageData::svkImageData().
| void PrintXML | ( | ostream & | out | ) |
Prints the XML Provenance object to stdout
| void SetApplicationCommand | ( | string | cmdLine | ) |
Adds a nested XML element to the provance to record the application level command line used to run the SIVIC application.
| vtkTypeMacro | ( | svkProvenance | , |
| vtkObject | |||
| ) |
1.8.5