Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXFileItem Class Reference

File item. More...

#include <FXFileList.h>

Inheritance diagram for FX::FXFileItem:

FX::FXIconItem FX::FXObject List of all members.

Public Member Functions

 FXFileItem (const FXString &text, FXIcon *bi=NULL, FXIcon *mi=NULL, void *ptr=NULL)
FXbool isFile () const
FXbool isDirectory () const
FXbool isShare () const
FXbool isExecutable () const
FXbool isSymlink () const
FXbool isChardev () const
FXbool isBlockdev () const
FXbool isFifo () const
FXbool isSocket () const
FXFileAssocgetAssoc () const
FXlong getSize () const
FXTime getDate () const

Friends

class FXFileList

Detailed Description

File item.

See also:


Constructor & Destructor Documentation

FX::FXFileItem::FXFileItem const FXString text,
FXIcon bi = NULL,
FXIcon mi = NULL,
void *  ptr = NULL
[inline]
 

Constructor.


Member Function Documentation

FXbool FX::FXFileItem::isFile  )  const [inline]
 

Return true if this is a file item.

FXbool FX::FXFileItem::isDirectory  )  const [inline]
 

Return true if this is a directory item.

FXbool FX::FXFileItem::isShare  )  const [inline]
 

Return true if this is a share item.

FXbool FX::FXFileItem::isExecutable  )  const [inline]
 

Return true if this is an executable item.

FXbool FX::FXFileItem::isSymlink  )  const [inline]
 

Return true if this is a symbolic link item.

FXbool FX::FXFileItem::isChardev  )  const [inline]
 

Return true if this is a character device item.

FXbool FX::FXFileItem::isBlockdev  )  const [inline]
 

Return true if this is a block device item.

FXbool FX::FXFileItem::isFifo  )  const [inline]
 

Return true if this is an FIFO item.

FXbool FX::FXFileItem::isSocket  )  const [inline]
 

Return true if this is a socket.

FXFileAssoc* FX::FXFileItem::getAssoc  )  const [inline]
 

Return the file-association object for this item.

FXlong FX::FXFileItem::getSize  )  const [inline]
 

Return the file size for this item.

FXTime FX::FXFileItem::getDate  )  const [inline]
 

Return the date for this item.


Friends And Related Function Documentation

friend class FXFileList [friend]
 

Reimplemented from FX::FXIconItem.

Copyright © 1997-2005 Jeroen van der Zijp