---
name: "FTPSocket_DirEntry"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/FTPSocket_DirEntry"
---

# FTPSocket\_DirEntry(3cc)

direntry represents a entry in a directory

## NAME

FTPSocket::DirEntry - direntry represents a entry in a directory

## SYNOPSIS

`#include <ftp.h>`

### Public Methods

bool **parse** (string li)\
 *set members to the values found in li* string **getLine** () const\
 *accessor for members* string **getAccess** () const\
 string **getUser** () const\
 string **getGroup** () const\
 string **getName** () const\
 unsigned int **getSize** () const\
 bool **isDir** () const\
 bool **isLink** () const\
 bool **canUserRead** () const\
 bool **canUserWrite** () const\
 bool **canGroupRead** () const\
 bool **canGroupWrite** () const\
 bool **canOtherRead** () const\
 bool **canOtherWrite** () const\

### Protected Attributes

string **line**\
 string **access**\
 string **user**\
 string **group**\
 string **name**\
 unsigned int **size**\

## DETAILED DESCRIPTION

direntry represents a entry in a directory

## MEMBER FUNCTION DOCUMENTATION

### bool FTPSocket::DirEntry::canGroupRead () const` [inline]`

### bool FTPSocket::DirEntry::canGroupWrite () const` [inline]`

### bool FTPSocket::DirEntry::canOtherRead () const` [inline]`

### bool FTPSocket::DirEntry::canOtherWrite () const` [inline]`

### bool FTPSocket::DirEntry::canUserRead () const` [inline]`

### bool FTPSocket::DirEntry::canUserWrite () const` [inline]`

### string FTPSocket::DirEntry::getAccess () const` [inline]`

### string FTPSocket::DirEntry::getGroup () const` [inline]`

### string FTPSocket::DirEntry::getLine () const` [inline]`

accessor for members

### string FTPSocket::DirEntry::getName () const` [inline]`

### unsigned int FTPSocket::DirEntry::getSize (void) const` [inline]`

### string FTPSocket::DirEntry::getUser () const` [inline]`

### bool FTPSocket::DirEntry::isDir () const` [inline]`

### bool FTPSocket::DirEntry::isLink () const` [inline]`

### bool FTPSocket::DirEntry::parse (string li)

set members to the values found in li

## MEMBER DATA DOCUMENTATION

### string FTPSocket::DirEntry::access` [protected]`

### string FTPSocket::DirEntry::group` [protected]`

### string FTPSocket::DirEntry::line` [protected]`

### string FTPSocket::DirEntry::name` [protected]`

### unsigned int FTPSocket::DirEntry::size` [protected]`

### string FTPSocket::DirEntry::user` [protected]`

## AUTHOR

Generated automatically by Doxygen for CommonC++ from the source code.
