summaryrefslogtreecommitdiff
path: root/src/rl_str_proc.hh
blob: c59df0a243831e297e9614bf1b6f24486ab35746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __RL_STR_PROC_HH__
#define __RL_STR_PROC_HH__

#include <vector>
#include <string>

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<std::string> get();

  int size() {return _str_coll.size();}

private:
  std::vector<std::string> _str_coll;
};

#endif //__RL_STR_PROC_HH__