|
SFML
Simple and Fast Multimedia Library
|
Specialization of FTP response returning a filename listing. More...
#include <Ftp.hpp>
Public Member Functions | |
| ListingResponse (const Response &response, const std::string &data) | |
| Default constructor. | |
| const std::vector< std::string > & | getListing () const |
| Return the array of directory/file names. | |
| Public Member Functions inherited from sf::Ftp::Response | |
| Response (Status code=Status::InvalidResponse, std::string message="") | |
| Default constructor. | |
| bool | isOk () const |
| Check if the status code means a success. | |
| Status | getStatus () const |
| Get the status code of the response. | |
| const std::string & | getMessage () const |
| Get the full message contained in the response. | |
Specialization of FTP response returning a filename listing.
| sf::Ftp::ListingResponse::ListingResponse | ( | const Response & | response, |
| const std::string & | data ) |
Default constructor.
| response | Source response |
| data | Data containing the raw listing |
|
nodiscard |
Return the array of directory/file names.