From 59b21be36b2f4cd74aa0cea53492e3023b59770b Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 14 Dec 2007 13:40:31 -0800 Subject: initial check wan lb Signed-off-by: Michael Larson --- src/rl_str_proc.hh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/rl_str_proc.hh (limited to 'src/rl_str_proc.hh') diff --git a/src/rl_str_proc.hh b/src/rl_str_proc.hh new file mode 100644 index 0000000..c59df0a --- /dev/null +++ b/src/rl_str_proc.hh @@ -0,0 +1,24 @@ +#ifndef __RL_STR_PROC_HH__ +#define __RL_STR_PROC_HH__ + +#include +#include + +class StrProc +{ +public: + StrProc(const std::string &in, const std::string &token); + + std::string get(int i); + + std::string get(int start, int end); + + std::vector get(); + + int size() {return _str_coll.size();} + +private: + std::vector _str_coll; +}; + +#endif //__RL_STR_PROC_HH__ -- cgit v1.2.3