36#ifndef vtkStateStorage_h
37#define vtkStateStorage_h
39#include "vtkABINamespace.h"
47#ifdef USE_STATE_DEBUGGING
49VTK_ABI_NAMESPACE_BEGIN
65 void Append(
const T& value,
const char* name);
76 for (
size_t i = 0;
i < this->
Storage.size(); ++
i)
101 std::vector<unsigned char>
Storage;
115 const char*
start =
reinterpret_cast<const char*
>(&
value);
122VTK_ABI_NAMESPACE_BEGIN
133 void Append(
const T& value,
const char* name);
149 const char*
start =
reinterpret_cast<const char*
>(&value);
Class to make storing and comparing state quick and easy.
std::vector< unsigned char > Storage
void Append(const T &value, const char *name)
vtkStateStorage()=default
bool operator!=(const vtkStateStorage &b) const
vtkStateStorage & operator=(const vtkStateStorage &b)=default