SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
svkProvenance Class Reference

#include <svkProvenance.h>

Inheritance diagram for svkProvenance:

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 svkProvenanceNew ()
 
static string GetCommandLineString (int argc, char **argv)
 

Protected Member Functions

 svkProvenance ()
 
 ~svkProvenance ()
 

Detailed Description

Class that represents an XML svkProvenance objet.

Constructor & Destructor Documentation

svkProvenance ( )
protected
~svkProvenance ( )
protected

Member Function Documentation

void AddAlgorithm ( string  algoName)
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().

string GetCommandLineString ( int  argc,
char **  argv 
)
static

Converts argv into a string.

static svkProvenance* New ( )
static
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   
)

The documentation for this class was generated from the following files: