/* */ #ifndef _D_P_STRING_BUILD_VISITOR_H_ #define _D_P_STRING_BUILD_VISITOR_H_ #include "PStringVisitor.h" #include #include #include #include "SharedHandle.h" namespace aria2 { class PStringBuildVisitor : public PStringVisitor { private: std::deque _buildQueue; std::vector _uris; public: virtual void visit(PStringSegment& s); virtual void visit(PStringNumLoop& s); virtual void visit(PStringSelect& s); const std::vector& getURIs() const; void reset(); }; typedef SharedHandle PStringBuildVisitorHandle; } // namespace aria2 #endif // _D_P_STRING_BUILD_VISITOR_H_