![]() |
Onsens
1.0
This is C++ game about bitwise logic.
|
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. More... | |
const std::vector< std::string > & | getListing () const |
Return the array of directory/file names. More... | |
![]() | |
Response (Status code=InvalidResponse, const std::string &message="") | |
Default constructor. More... | |
bool | isOk () const |
Check if the status code means a success. More... | |
Status | getStatus () const |
Get the status code of the response. More... | |
const std::string & | getMessage () const |
Get the full message contained in the response. More... | |
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 |
const std::vector< std::string > & sf::Ftp::ListingResponse::getListing | ( | ) | const |
Return the array of directory/file names.