Molybden API
Loading...
Searching...
No Matches
molybden::ByteData Class Referenceabstract

An upload data as a sequence of bytes. More...

#include <upload_data.hpp>

Inheritance diagram for molybden::ByteData:
molybden::UploadData

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< ByteDatacreate (std::string value)
 

Additional Inherited Members

- Protected Member Functions inherited from molybden::UploadData
virtual UploadDataType type () const =0
 Returns the current upload data type.
 

Detailed Description

An upload data as a sequence of bytes.


The documentation for this class was generated from the following file: