1 #include "vtkMedConstantAttribute.h"
3 #include "vtkObjectFactory.h"
4 #include "vtkMedUtilities.h"
6 #include "vtkAbstractArray.h"
7 #include "vtkMedStructElement.h"
8 #include "vtkMedProfile.h"
15 // vtkCxxRevisionMacro(vtkMedConstantAttribute, "$Revision$")
16 vtkStandardNewMacro(vtkMedConstantAttribute);
18 vtkCxxSetObjectMacro(vtkMedConstantAttribute, Values, vtkAbstractArray);
19 vtkCxxSetObjectMacro(vtkMedConstantAttribute, ParentStructElement, vtkMedStructElement);
20 vtkCxxSetObjectMacro(vtkMedConstantAttribute, Profile, vtkMedProfile);
22 vtkMedConstantAttribute::vtkMedConstantAttribute()
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;
31 this->ParentStructElement = NULL;
35 vtkMedConstantAttribute::~vtkMedConstantAttribute()
38 this->SetProfileName(NULL);
39 this->SetParentStructElement(NULL);
40 this->SetValues(NULL);
41 this->SetProfile(NULL);
44 void vtkMedConstantAttribute::PrintSelf(ostream& os, vtkIndent indent)
46 this->Superclass::PrintSelf(os, indent);