15 #ifndef __vtkMRMLScriptedModuleNode_h 16 #define __vtkMRMLScriptedModuleNode_h 32 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
40 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
46 virtual const
char* GetNodeTagName() VTK_OVERRIDE;
50 vtkGetStringMacro (ModuleName);
51 vtkSetStringMacro (ModuleName);
54 void SetParameter(const
std::
string& name, const
std::
string& value);
57 void UnsetParameter(const
std::
string& name);
61 void UnsetAllParameters();
64 std::
string GetParameter(const
std::
string& name) const;
67 int GetParameterCount();
71 std::
string GetParameterNamesAsCommaSeparatedList();
74 std::vector<
std::
string> GetParameterNames();
78 ~vtkMRMLScriptedModuleNode();
80 vtkMRMLScriptedModuleNode(const vtkMRMLScriptedModuleNode&);
81 void operator=(const vtkMRMLScriptedModuleNode&);
84 ParameterMap Parameters;
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
std::map< std::string, std::string > ParameterMap
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.