src/graph/example/CommentsOnly.h

00001 #ifndef HT_EXAMPLE_COMMENTS_ONLY_H_
00002 #define HT_EXAMPLE_COMMENTS_ONLY_H_
00003 
00004 #include <graph/example/WordFilter.h>
00005 
00006 namespace ht {
00007     namespace example {
00009         class CommentsOnly : public WordFilter {
00010             enum { NOCOMMENT, MULTILINE, SINGLELINE } commentState_;
00011         public:
00012             CommentsOnly() : commentState_(NOCOMMENT) {}
00014             bool test(const WordBuffer & buf);
00015         };
00016     }
00017 }
00018 
00019 #endif

Generated on Thu Jan 3 15:26:45 2008 by  doxygen 1.5.2