Xpace
Xpace::MatchString< STR > Class Template Reference

#include <matchstring.h>

Public Types

typedef STR::charType CH
 
typedef std::function< bool(int64)> intFunc
 

Public Member Functions

 MatchString (const String &fmt)
 
const STR & getNativeFormat () const
 
const StringgetStringFormat () const
 
bool add (const CH ch, intFunc fn)
 
bool match (const STR str) const
 
template<>
 MatchString (const String &fmt)
 
template<>
 MatchString (const String &fmt)
 

Detailed Description

template<typename STR>
class Xpace::MatchString< STR >

Definition at line 37 of file matchstring.h.

Member Typedef Documentation

template<typename STR>
typedef STR::charType Xpace::MatchString< STR >::CH

Definition at line 40 of file matchstring.h.

template<typename STR>
typedef std::function<bool(int64)> Xpace::MatchString< STR >::intFunc

Definition at line 43 of file matchstring.h.

Constructor & Destructor Documentation

Member Function Documentation

template<typename STR>
const STR& Xpace::MatchString< STR >::getNativeFormat ( ) const
inline

Definition at line 49 of file matchstring.h.

template<typename STR>
const String& Xpace::MatchString< STR >::getStringFormat ( ) const
inline

Definition at line 56 of file matchstring.h.

References Xpace::MatchString< STR >::MatchString().

template<typename STR >
bool Xpace::MatchString< STR >::add ( const CH  ch,
intFunc  fn 
)
inline
template<typename STR >
bool Xpace::MatchString< STR >::match ( const STR  str) const
inline

Definition at line 142 of file matchstring.h.

References Xpace::IntWrapper< FUNCTION >::f.

Referenced by Xpace::MatchString< STR >::add().


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

current as of Wed Jun 10 2026 12:00:06