vtkbone
Macros
vtkboneMacros.h File Reference

Go to the source code of this file.

Macros

#define vtkboneGetAsStringMacro(classname, enumname)
 

Macro Definition Documentation

#define vtkboneGetAsStringMacro (   classname,
  enumname 
)
Value:
const char* classname::Get##enumname##AsString (int arg) \
{ \
if (arg >=0 && arg < classname::NUMBER_OF_##enumname) \
{ \
return enumname##_s[arg]; \
} \
else \
{ \
return NULL; \
} \
}

Definition at line 26 of file vtkboneMacros.h.