ENH: add keyType::null and wordRe::null, add match method to string classes

- provides a more uniform interface to string list operations etc

STYLE: more complete docs for keyType
This commit is contained in:
Mark Olesen
2010-08-04 10:35:16 +02:00
parent 692aa4abba
commit b89a3dc2c0
11 changed files with 98 additions and 32 deletions

View File

@ -176,6 +176,12 @@ inline String Foam::string::validate(const string& str)
return ss;
}
inline bool Foam::string::match(const std::string& str) const
{
// check as string
return (str == *this);
}
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //