OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Public Attributes | List of all members
mslang::ArgumentExtractor Struct Reference

#include <ArgumentExtractor.h>

Public Member Functions

 ArgumentExtractor (const std::string &input)
 
std::string get (unsigned int i) const
 
unsigned int getLengthConsumed () const
 
unsigned int getNumArguments () const
 

Public Attributes

std::vector< std::pair
< unsigned int, unsigned int > > 
argumentBoundaries_m
 
std::string inputArguments_m
 
unsigned int lengthConsumed_m
 

Detailed Description

Definition at line 9 of file ArgumentExtractor.h.

Constructor & Destructor Documentation

mslang::ArgumentExtractor::ArgumentExtractor ( const std::string &  input)

Definition at line 6 of file ArgumentExtractor.cpp.

References argumentBoundaries_m, inputArguments_m, and lengthConsumed_m.

Member Function Documentation

std::string mslang::ArgumentExtractor::get ( unsigned int  i) const
unsigned int mslang::ArgumentExtractor::getLengthConsumed ( ) const
unsigned int mslang::ArgumentExtractor::getNumArguments ( ) const

Member Data Documentation

std::vector<std::pair<unsigned int, unsigned int> > mslang::ArgumentExtractor::argumentBoundaries_m

Definition at line 16 of file ArgumentExtractor.h.

Referenced by ArgumentExtractor(), get(), and getNumArguments().

std::string mslang::ArgumentExtractor::inputArguments_m

Definition at line 17 of file ArgumentExtractor.h.

Referenced by ArgumentExtractor(), and get().

unsigned int mslang::ArgumentExtractor::lengthConsumed_m

Definition at line 18 of file ArgumentExtractor.h.

Referenced by ArgumentExtractor(), and getLengthConsumed().


The documentation for this struct was generated from the following files: