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