1MAIL::FOLDER::ISPARE(3x)Cone: COnsole Newsreader And EMAIL::FOLDER::ISPARE(3x)
2
3
4

NAME

6       mail::folder::isParentOf - Check if another folder is this folderĀ“s
7       subfolder
8

SYNOPSIS

10       #include <libmail/mail.H>
11
12       mail::folder *folder;
13       mail::folder *otherFolder;
14
15
16       bool flag=folder->isParentOf(otherFolder->getPath());
17

USAGE

19       This function returns an indication whether a folderĀ“s path (returned
20       by mail::folder::getPath(3x)) refers to a subfolder of this folder.
21

RETURN CODES

23       The function returns true if the specified path refers to a subfolder
24       of this folder.
25
26           Note
27           true is returned even if the path does not refer to a direct
28           subfolder (a path referring to a subfolder of a subfolder will
29           still result in a true return).
30

SEE ALSO

32       mail::folder::getPath(3x).
33
34
35
36[FIXME: source]                   05/08/2010          MAIL::FOLDER::ISPARE(3x)
Impressum