OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
ArgumentExtractor.h
Go to the documentation of this file.
1 #ifndef MSLANG_ARGUMENTEXTRACTOR_H
2 #define MSLANG_ARGUMENTEXTRACTOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <utility>
7 
8 namespace mslang {
10  ArgumentExtractor(const std::string &input);
11 
12  std::string get(unsigned int i) const;
13  unsigned int getLengthConsumed() const;
14  unsigned int getNumArguments() const;
15 
16  std::vector<std::pair<unsigned int, unsigned int>> argumentBoundaries_m;
17  std::string inputArguments_m;
18  unsigned int lengthConsumed_m;
19  };
20 }
21 #endif
unsigned int getNumArguments() const
unsigned int getLengthConsumed() const
ArgumentExtractor(const std::string &input)
std::vector< std::pair< unsigned int, unsigned int > > argumentBoundaries_m