casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ScansParser.h
Go to the documentation of this file.
1 // Boost grammer code to handle the scan selection argument to asdm2MS and bdflags2MS
2 
3 //
4 // A collection of declarations and functions used for the parsing of the 'scans' option.
5 //
6 
7 #if !defined(ALMA_SCANSPARSER_H)
8 #define ALMA_SCANSPARSER_H
9 
10 #include <map>
11 #include <set>
12 #include <string>
13 
14 // Parse the scans options string used by asdm2MS and bdflags2MS.
15 // sets a map of scans set associated with Execution Block numbers using the scansOptionsValue
16 // returns 1 on success and 0 on failure.
17 // ebScansMap is always empty on failure
18 int scansParser(const std::string &scansOptionValue, std::map<int, std::set<int> > &ebScansMap);
19 
20 #endif
int scansParser(const std::string &scansOptionValue, std::map< int, std::set< int > > &ebScansMap)
Boost grammer code to handle the scan selection argument to asdm2MS and bdflags2MS.