VTK  9.5.20251120
vtkSignedCharArray.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
14
15#ifndef vtkSignedCharArray_h
16#define vtkSignedCharArray_h
17
18#include "vtkAOSDataArrayTemplate.h" // Real Superclass
19#include "vtkCommonCoreModule.h" // For export macro
20#include "vtkDataArray.h"
21
22// Fake the superclass for the wrappers.
23#ifndef __VTK_WRAP__
24#define vtkDataArray vtkAOSDataArrayTemplate<signed char>
25#endif
26VTK_ABI_NAMESPACE_BEGIN
27class VTKCOMMONCORE_EXPORT vtkSignedCharArray : public vtkDataArray
28{
29public:
31#ifndef __VTK_WRAP__
32#undef vtkDataArray
33#endif
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 // This macro expands to the set of method declarations that
39 // make up the interface of vtkAOSDataArrayTemplate, which is ignored
40 // by the wrappers.
41#if defined(__VTK_WRAP__) || defined(__WRAP_GCCXML__)
43#endif
44
52
53protected:
56
57private:
58 typedef vtkAOSDataArrayTemplate<signed char> RealSuperclass;
59
61 void operator=(const vtkSignedCharArray&) = delete;
62};
63
64// Define vtkArrayDownCast implementation:
66
67VTK_ABI_NAMESPACE_END
68#endif
Abstract superclass for all arrays.
static vtkDataArray * FastDownCast(vtkAbstractArray *source)
Perform a fast, safe cast from a vtkAbstractArray to a vtkDataArray.
a simple class to control print indentation
Definition vtkIndent.h:108
dynamic, self-adjusting array of signed char
static vtkSignedCharArray * ExtendedNew()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSignedCharArray * New()
static vtkSignedCharArray * FastDownCast(vtkAbstractArray *source)
A faster alternative to SafeDownCast for downcasting vtkAbstractArrays.
~vtkSignedCharArray() override
#define vtkCreateWrappedArrayInterface(T)
#define vtkArrayDownCast_FastCastMacro(ArrayT)
This macro is used to tell vtkArrayDownCast to use FastDownCast instead of SafeDownCast.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define vtkDataArray