typedef unsigned int uint; typedef string Str; typedef string :: size_type strI; struct HTMLForm { Str text; uint pos; }; typedef vector< HTMLForm > strV; typedef vector< Str > strVector; typedef vector< uint > uintV; struct HTMLData { strV comments, tags, texts, scripts; uintV sTags; strI bp; bool full; HTMLData() : full( 0 ), bp( 0 ) {} void operator() ( const Str &buf, bool allText ); void readHTMLText( const Str &buf ); bool readHTMLComments( const Str &buf ); bool readHTMLScripts( const Str &buf ); void readHTMLTags( const Str &buf ); uint checkTags(); };