Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
RegexStrings.h File Reference
#include "MantidKernel/DllConfig.h"
#include <boost/regex.hpp>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 
namespace  Mantid::Kernel::Strings
 Holds support functions for strings.
 

Functions

template<typename T >
MANTID_KERNEL_DLL int Mantid::Kernel::Strings::findComp (std::istream &, const boost::regex &, T &)
 Find a compmonent in a Regex in a file. More...
 
MANTID_KERNEL_DLL int Mantid::Kernel::Strings::findPattern (std::istream &, const boost::regex &, std::string &)
 Finds a pattern in a file. More...
 
template<typename T >
MANTID_KERNEL_DLL int Mantid::Kernel::Strings::StrComp (const char *, const boost::regex &, T &, const int=0)
 Find if a pattern matches a string. More...
 
template<typename T >
MANTID_KERNEL_DLL int Mantid::Kernel::Strings::StrComp (const std::string &, const boost::regex &, T &, const int=0)
 Find if a pattern matches. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrFullCut (std::string &, const boost::regex &, std::vector< T > &)
 Cut out the searched section and returns component. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrFullCut (std::string &, const boost::regex &, T &, const int=-1)
 Cut out the searched section and returns component. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrFullSplit (const char *, const boost::regex &, std::vector< T > &)
 Split a line searched parts. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrFullSplit (const std::string &, const boost::regex &, std::vector< T > &)
 Split a line searched parts. More...
 
MANTID_KERNEL_DLL int Mantid::Kernel::Strings::StrLook (const std::string &, const boost::regex &)
 Find is a pattern matches. More...
 
MANTID_KERNEL_DLL std::vector< std::string > Mantid::Kernel::Strings::StrParts (std::string, const boost::regex &)
 Split a line into component parts. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrSingleSplit (const char *, const boost::regex &, std::vector< T > &)
 Split a line searched parts. More...
 
template<typename T >
int Mantid::Kernel::Strings::StrSingleSplit (const std::string &, const boost::regex &, std::vector< T > &)
 Split a line searched parts. More...