VTK  9.6.20260112
vtkOverrideAttribute.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
40#ifndef vtkOverrideAttribute_h
41#define vtkOverrideAttribute_h
42#include "vtkObject.h"
43
44#include "vtkCommonCoreModule.h" // For export macro
45#include "vtkSmartPointer.h" // For vtkSmartPointer
46
47#include <string> // for std::string
48
49VTK_ABI_NAMESPACE_BEGIN
50class VTKCOMMONCORE_EXPORT vtkOverrideAttribute : public vtkObject
51{
52public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
60
62
66
68
70 vtkGetSmartPointerMacro(Next, vtkOverrideAttribute);
72
74 const char* name, const char* value, vtkOverrideAttribute* nextInChain);
75
76protected:
79
80private:
82 void operator=(const vtkOverrideAttribute&) = delete;
83
84 std::string Name;
85 std::string Value;
87};
88
89VTK_ABI_NAMESPACE_END
90#endif
a simple class to control print indentation
Definition vtkIndent.h:108
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetCharFromStdStringMacro(Name)
Get the name of the attribute.
static vtkOverrideAttribute * New()
static vtkOverrideAttribute * CreateAttributeChain(const char *name, const char *value, vtkOverrideAttribute *nextInChain)
~vtkOverrideAttribute() override
vtkGetCharFromStdStringMacro(Value)
Get the value of the attribute.
Hold a reference to a vtkObjectBase instance.