Molybden API
|
The file bytes value. More...
#include <upload_data.hpp>
Public Member Functions | |
virtual const std::string & | value () const =0 |
Returns the file bytes or an empty string if the bytes were swapped. | |
virtual void | swap (std::string *value)=0 |
Moves the file bytes to the given value . | |
Public Member Functions inherited from molybden::FileValue | |
template<class S > | |
std::shared_ptr< S > | as () |
Casts this file value to the target type. | |
Static Public Member Functions | |
static std::shared_ptr< FileBytes > | create (std::string value) |
Additional Inherited Members | |
Protected Member Functions inherited from molybden::FileValue | |
virtual FileValueType | type () const =0 |
Returns the current file value type. | |
The file bytes value.