![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDirList.h>
Public Types | |
enum | { FOLDER = 512, EXECUTABLE = 1024, SYMLINK = 2048, CHARDEV = 4096, BLOCKDEV = 8192, FIFO = 16384, SOCK = 32768 } |
Public Member Functions | |
FXDirItem (const FXString &text, FXIcon *oi=NULL, FXIcon *ci=NULL, void *ptr=NULL) | |
FXbool | isFile () const |
FXbool | isDirectory () const |
FXbool | isExecutable () const |
FXbool | isSymlink () const |
FXbool | isChardev () const |
FXbool | isBlockdev () const |
FXbool | isFifo () const |
FXbool | isSocket () const |
FXFileAssoc * | getAssoc () const |
FXlong | getSize () const |
FXTime | getDate () const |
Friends | |
class | FXDirList |
See also:
anonymous enum |
FX::FXDirItem::FXDirItem | ( | const FXString & | text, | |
FXIcon * | oi = NULL , |
|||
FXIcon * | ci = NULL , |
|||
void * | ptr = NULL | |||
) | [inline] |
Constructor.
FXbool FX::FXDirItem::isFile | ( | ) | const [inline] |
Return true if this is a file item.
FXbool FX::FXDirItem::isDirectory | ( | ) | const [inline] |
Return true if this is a directory item.
FXbool FX::FXDirItem::isExecutable | ( | ) | const [inline] |
Return true if this is an executable item.
FXbool FX::FXDirItem::isSymlink | ( | ) | const [inline] |
Return true if this is a symbolic link item.
FXbool FX::FXDirItem::isChardev | ( | ) | const [inline] |
Return true if this is a character device item.
FXbool FX::FXDirItem::isBlockdev | ( | ) | const [inline] |
Return true if this is a block device item.
FXbool FX::FXDirItem::isFifo | ( | ) | const [inline] |
Return true if this is an FIFO item.
FXbool FX::FXDirItem::isSocket | ( | ) | const [inline] |
Return true if this is a socket.
FXFileAssoc* FX::FXDirItem::getAssoc | ( | ) | const [inline] |
Return the file-association object for this item.
FXlong FX::FXDirItem::getSize | ( | ) | const [inline] |
Return the file size for this item.
FXTime FX::FXDirItem::getDate | ( | ) | const [inline] |
Return the date for this item, in nanoseconds.
friend class FXDirList [friend] |
Reimplemented from FX::FXTreeItem.
![]() |