26 #ifndef __SOP_PolyKnitParser_h__
27 #define __SOP_PolyKnitParser_h__
36 #define CHAR_TRIANGLE 't'
38 #define CHAR_META_TRIANGLE 'T'
39 #define CHAR_META_QUAD 'Q'
54 {
return (
const char *)myErrorToken; }
67 void handleTrianglePoint();
68 void handleQuadPoint();
69 void handleMetaTrianglePoint();
70 void handleMetaQuadPoint();
71 void handlePoint(
int polytype,
int numpoints);
74 void updateCanSwitch();
77 void switchOutput(
int out);
84 int myCurrentPrimPoints;
87 int myCurrentPolyType;
const char * errorToken() const
virtual bool dispatch(char c)=0
~SOP_PolyKnitParser() override
virtual void handleError()=0
virtual void handleStart()=0