]> SALOME platform Git repositories - modules/paravis.git/blob - src/Plugins/MedReader/IO/vtkMedConstantAttribute.cxx
Salome HOME
Merge from BR_PORTING_VTK6 01/03/2013
[modules/paravis.git] / src / Plugins / MedReader / IO / vtkMedConstantAttribute.cxx
1 #include "vtkMedConstantAttribute.h"
2
3 #include "vtkObjectFactory.h"
4 #include "vtkMedUtilities.h"
5
6 #include "vtkAbstractArray.h"
7 #include "vtkMedStructElement.h"
8 #include "vtkMedProfile.h"
9
10 #include <map>
11 #include <string>
12 #include <vector>
13 using namespace std;
14
15 // vtkCxxRevisionMacro(vtkMedConstantAttribute, "$Revision$")
16 vtkStandardNewMacro(vtkMedConstantAttribute);
17
18 vtkCxxSetObjectMacro(vtkMedConstantAttribute, Values, vtkAbstractArray);
19 vtkCxxSetObjectMacro(vtkMedConstantAttribute, ParentStructElement, vtkMedStructElement);
20 vtkCxxSetObjectMacro(vtkMedConstantAttribute, Profile, vtkMedProfile);
21
22 vtkMedConstantAttribute::vtkMedConstantAttribute()
23 {
24   this->Name = NULL;
25   this->AttributeType = MED_ATT_UNDEF;
26   this->NumberOfComponent = 0;
27   this->SupportEntityType = MED_UNDEF_ENTITY_TYPE;
28   this->ProfileName = NULL;
29   this->ProfileSize = 0;
30   this->Values = NULL;
31   this->ParentStructElement = NULL;
32   this->Profile = NULL;
33 }
34
35 vtkMedConstantAttribute::~vtkMedConstantAttribute()
36 {
37   this->SetName(NULL);
38   this->SetProfileName(NULL);
39   this->SetParentStructElement(NULL);
40   this->SetValues(NULL);
41   this->SetProfile(NULL);
42 }
43
44 void vtkMedConstantAttribute::PrintSelf(ostream& os, vtkIndent indent)
45 {
46   this->Superclass::PrintSelf(os, indent);
47 }