Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
MultiFileNameParser.h File Reference
#include "MantidKernel/DllConfig.h"
#include <set>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  Mantid::Kernel::MultiFileNameParsing::GenerateFileName
 A functor that generates a vector of file names from the given vector of runs, and other state passed to it when constructed. More...
 
class  Mantid::Kernel::MultiFileNameParsing::Parser
 This class takes a string representing multiple files and parses it into a vector of vectors of file names. More...
 
class  Mantid::Kernel::MultiFileNameParsing::ReverseCaselessCompare
 Comparator for set that holds instrument names in Parser. More...
 
class  Mantid::Kernel::MultiFileNameParsing::RunRangeList
 A class that holds a list of ranges of runs. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::MultiFileNameParsing
 
namespace  Mantid::Kernel::MultiFileNameParsing::Regexs
 Regexs used to match / parse various strings.
 

Functions

MANTID_KERNEL_DLL std::string Mantid::Kernel::MultiFileNameParsing::suggestWorkspaceName (const std::vector< std::string > &fileNames)
 Suggests a workspace name, given a vector of file names. More...
 

Variables

const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_LIST = "(" + SINGLE_OR_STEP_OR_ADD_RANGE + "(" + PLUS + SINGLE_OR_STEP_OR_ADD_RANGE + ")+" + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_RANGE = "(" + SINGLE + MINUS + SINGLE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ADD_STEP_RANGE = "(" + SINGLE + MINUS + SINGLE + COLON + SINGLE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::ANY
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::COLON = "(" + SPACE + ":" + SPACE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::COMMA = "(" + SPACE + "," + SPACE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::INST = "([A-Za-z]+|PG3|pg3)"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::LIST = "(" + ANY + "(" + COMMA + ANY + ")*" + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::MINUS = "(" + SPACE + "\\-" + SPACE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::PLUS = "(" + SPACE + "\\+" + SPACE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::RANGE = "(" + SINGLE + COLON + SINGLE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::SINGLE = "(" + INST + "*[0-9]+)"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::SPACE = "(\\s*)"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::STEP_RANGE = "(" + SINGLE + COLON + SINGLE + COLON + SINGLE + ")"
 
const std::string Mantid::Kernel::MultiFileNameParsing::Regexs::UNDERSCORE = "(_{0,1})"