Commit b6ac378e authored by Berk Geveci's avatar Berk Geveci
Browse files

Added Set that takes no arguments.

The goal is to allow Python wrappers to add IntegerVectors that are empty
to the information objects.
parent fc1d676c
......@@ -64,6 +64,13 @@ void vtkInformationIntegerVectorKey::Append(vtkInformation* info, int value)
void vtkInformationIntegerVectorKey::Set(vtkInformation* info)
int someVal;
this->Set(info, &someVal, 0);
void vtkInformationIntegerVectorKey::Set(vtkInformation* info, int* value,
int length)
......@@ -39,6 +39,7 @@ public:
// information object.
void Append(vtkInformation* info, int value);
void Set(vtkInformation* info, int* value, int length);
void Set(vtkInformation* info);
int* Get(vtkInformation* info);
int Get(vtkInformation* info, int idx);
void Get(vtkInformation* info, int* value);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment