VTK  9.3.20241003
vtkDGIOResponder.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#ifndef vtkDGIOResponder_h
15#define vtkDGIOResponder_h
16
17#include "vtkCellGridIOQuery.h" // For base class
19#include "vtkSmartPointer.h" // For SmartPointer
20
21#include <string> // For std::string
22#include <vector> // For std::vector
23
24VTK_ABI_NAMESPACE_BEGIN
25
26class VTKIOCELLGRID_EXPORT vtkDGIOResponder : public vtkCellGridResponder<vtkCellGridIOQuery>
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
33 bool Query(
34 vtkCellGridIOQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override;
35
36protected:
37 vtkDGIOResponder() = default;
38 ~vtkDGIOResponder() override = default;
39
40private:
41 vtkDGIOResponder(const vtkDGIOResponder&) = delete;
42 void operator=(const vtkDGIOResponder&) = delete;
43};
44
45VTK_ABI_NAMESPACE_END
46#endif
47// VTK-HeaderTest-Exclude: vtkDGIOResponder.h
Serialize/deserialize vtkCellMetadata records.
Respond to a query on one particular type of cell.
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Metadata for a particular type of cell (finite element).
Read/write metadata specific to discontinuous Galerkin cells.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDGIOResponder * New()
~vtkDGIOResponder() override=default
bool Query(vtkCellGridIOQuery *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches) override
vtkDGIOResponder()=default
a simple class to control print indentation
Definition vtkIndent.h:108