Furrent
|
#include <bencode_value.hpp>
Public Member Functions | |
BencodeString (std::string data) | |
std::string | to_string () const override |
Returns the string representation of the bencode value. More... | |
BencodeType | get_type () const override |
Returns the type of the bencode value as a BencodeType enum. More... | |
std::string & | value () |
Returns the string value of the bencode value. More... | |
![]() | |
virtual | ~BencodeValue ()=default |
|
explicit |
|
overridevirtual |
Returns the type of the bencode value as a BencodeType enum.
Implements fur::bencode::BencodeValue.
|
overridevirtual |
Returns the string representation of the bencode value.
Implements fur::bencode::BencodeValue.
std::string & BencodeString::value | ( | ) |
Returns the string value of the bencode value.