// // C++ Interface: regexpstateprinter // // Description: // // // Author: Lorenzo Bettini , (C) 2005 // // Copyright: See COPYING file that comes with this distribution // // #ifndef REGEXPSTATEPRINTER_H #define REGEXPSTATEPRINTER_H #include #include "regexpstate.h" typedef std::set StateIdSet; /** Print a RegExpState object (including all the subobjects) @author Lorenzo Bettini */ class RegExpStatePrinter { private: int indent; StateIdSet stateidset; // to avoid infinite loops public: RegExpStatePrinter(); ~RegExpStatePrinter(); void printRegExpState(RegExpStatePtr state); void printRegExpFormatter(RegExpFormatterPtr formatter); }; #endif