Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINLINE BOOL PDirectory::IsSeparator ( char  ch ) [static]

Determine if the character ch# is a directory path separator.

Returns:
TRUE if may be used to separate directories in a path.
Parameters:
chCharacter to check as being a separator.

Definition at line 153 of file ptlib.inl.

Referenced by PFile::GetInfo(), and IsRoot().

  { return c == ':' || c == '/' || c == '\\'; }

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index