The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::TransformedString< AppliedTransform > Class Template Reference

function LevenshteinDistance() More...

#include <StringUtils.hpp>

Public Member Functions

 TransformedString (const char *str)
 
 TransformedString (const std::string &str)
 
TransformedStringoperator= (const std::string &str)
 
 TransformedString (const TransformedString &rhs)
 
TransformedStringoperator= (const TransformedString &rhs)
 
bool operator== (const TransformedString &rhs) const
 
bool operator!= (const TransformedString &rhs) const
 
bool operator== (const std::string &rhs) const
 
bool operator!= (const std::string &rhs) const
 
bool operator== (const char *rhs) const
 
bool operator!= (const char *rhs) const
 
const std::string & getString () const
 
 operator std::string () const
 

Detailed Description

template<class AppliedTransform>
class sparta::utils::TransformedString< AppliedTransform >

function LevenshteinDistance()

=========================================================================== Utility class which applies a user-provided functor to all chars of a std::string, so that users do not have to remember to always apply these algorithms manually themselves.

Definition at line 408 of file StringUtils.hpp.

Constructor & Destructor Documentation

◆ TransformedString() [1/3]

template<class AppliedTransform >
sparta::utils::TransformedString< AppliedTransform >::TransformedString ( const char *  str)
inline

Definition at line 413 of file StringUtils.hpp.

◆ TransformedString() [2/3]

template<class AppliedTransform >
sparta::utils::TransformedString< AppliedTransform >::TransformedString ( const std::string &  str)
inline

Definition at line 417 of file StringUtils.hpp.

◆ TransformedString() [3/3]

template<class AppliedTransform >
sparta::utils::TransformedString< AppliedTransform >::TransformedString ( const TransformedString< AppliedTransform > &  rhs)
inline

Definition at line 429 of file StringUtils.hpp.

Member Function Documentation

◆ getString()

template<class AppliedTransform >
const std::string & sparta::utils::TransformedString< AppliedTransform >::getString ( ) const
inline

Definition at line 462 of file StringUtils.hpp.

◆ operator std::string()

template<class AppliedTransform >
sparta::utils::TransformedString< AppliedTransform >::operator std::string ( ) const
inline

Definition at line 466 of file StringUtils.hpp.

◆ operator!=() [1/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator!= ( const char *  rhs) const
inline

Definition at line 458 of file StringUtils.hpp.

◆ operator!=() [2/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator!= ( const std::string &  rhs) const
inline

Definition at line 450 of file StringUtils.hpp.

◆ operator!=() [3/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator!= ( const TransformedString< AppliedTransform > &  rhs) const
inline

Definition at line 442 of file StringUtils.hpp.

◆ operator=() [1/2]

template<class AppliedTransform >
TransformedString & sparta::utils::TransformedString< AppliedTransform >::operator= ( const std::string &  str)
inline

Definition at line 423 of file StringUtils.hpp.

◆ operator=() [2/2]

template<class AppliedTransform >
TransformedString & sparta::utils::TransformedString< AppliedTransform >::operator= ( const TransformedString< AppliedTransform > &  rhs)
inline

Definition at line 433 of file StringUtils.hpp.

◆ operator==() [1/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator== ( const char *  rhs) const
inline

Definition at line 454 of file StringUtils.hpp.

◆ operator==() [2/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator== ( const std::string &  rhs) const
inline

Definition at line 446 of file StringUtils.hpp.

◆ operator==() [3/3]

template<class AppliedTransform >
bool sparta::utils::TransformedString< AppliedTransform >::operator== ( const TransformedString< AppliedTransform > &  rhs) const
inline

Definition at line 438 of file StringUtils.hpp.


The documentation for this class was generated from the following file: