mail::folder::isParentOf.3x - Man Page
Check if another folder is this folder's subfolder
Synopsis
#include <libmail/mail.H> mail::folder *folder; mail::folder *otherFolder;
bool flag=folder->isParentOf(otherFolder->getPath());
Usage
This function returns an indication whether a folder's path (returned by mail::folder::getPath(3x)) refers to a subfolder of this folder.
Return Codes
The function returns true if the specified path refers to a subfolder of this folder.
Note
true is returned even if the path does not refer to a direct subfolder (a path referring to a subfolder of a subfolder will still result in a true return).
See Also
mail::folder::getPath(3x).
Author
Sam Varshavchik
Info
08/25/2016 Cone© Cone: COnsole Newsreader And E