mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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 * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user