Public Member Functions | List of all members
Atom::Files::File Class Reference

Public Member Functions

 File (std::string name, std::string filename, std::string content_type, std::size_t content_length)
 
FileType get_file_type () const
 
std::size_t get_content_length () const
 
std::string get_content_type () const
 
std::string get_name () const
 
std::string get_filename () const
 
Files::FilePropertiesget_file_properties ()
 
std::shared_ptr< Path > & get_requested_path ()
 
std::shared_ptr< Poco::File > & get_requested_file ()
 
std::shared_ptr< Poco::File > & get_tmp_file ()
 
void set_file_type (FileType file_type)
 
void set_filename (std::size_t content_length)
 
void set_content_length (std::size_t content_length)
 
void set_content_type (std::string content_type)
 
void set_name (std::string name)
 
void set_filename (std::string filename)