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

The file bytes value. More...

#include <upload_data.hpp>

Inheritance diagram for molybden::FileBytes:
molybden::FileValue

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

Additional Inherited Members

- Protected Member Functions inherited from molybden::FileValue
virtual FileValueType type () const =0
 Returns the current file value type.
 

Detailed Description

The file bytes value.


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