Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Public Attributes
icl::utils::MatchResult Struct Reference

Utility structure for matching results. More...

#include <StringUtils.h>

List of all members.

Classes

struct  Match

Public Member Functions

 operator bool () const
 implicit cast to bool

Public Attributes

bool matched
 was the match successful
std::vector< std::string > submatches

Detailed Description

Utility structure for matching results.

See also:
icl::match for more details

Member Function Documentation

icl::utils::MatchResult::operator bool ( ) const [inline]

implicit cast to bool

this enables the user to write

 if(matched("abaabab","aba*")){...} 

Member Data Documentation

was the match successful

std::vector<std::string> icl::utils::MatchResult::submatches

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines