33 #ifndef vtkGhostArray_H_
34 #define vtkGhostArray_H_
36 #include "vtkFiltersCoreModule.h"
37 #include "vtkObject.h"
78 void PrintSelf(ostream& os, vtkIndent indent );
83 unsigned char &propertyField,
const int property )
85 assert(
"pre:invalid property" && (property >= 0 && property < 8));
86 propertyField |= (1 << property);
93 unsigned char &propertyField,
const int property )
95 assert(
"pre:invalid property" && (property >= 0 && property < 8));
96 propertyField &= ~(1 << property);
103 unsigned char &propertyField,
const int property )
105 assert(
"pre:invalid property" && (property >= 0 && property < 8));
107 if( propertyField & (1 << property) )
118 static void Reset(
unsigned char &propertyField )
120 for(
int i=0; i < 8; ++i )
static bool IsPropertySet(unsigned char &propertyField, const int property)
static void SetProperty(unsigned char &propertyField, const int property)
static void Reset(unsigned char &propertyField)
static void UnsetProperty(unsigned char &propertyField, const int property)