|
Furrent
|
#include <bencode_value.hpp>

Public Member Functions | |
| virtual std::string | to_string () const =0 |
| Returns the string representation of the bencode value. More... | |
| virtual BencodeType | get_type () const =0 |
| Returns the type of the bencode value as a BencodeType enum. More... | |
| virtual | ~BencodeValue ()=default |
|
virtualdefault |
|
pure virtual |
Returns the type of the bencode value as a BencodeType enum.
Implemented in fur::bencode::BencodeDict, fur::bencode::BencodeList, fur::bencode::BencodeString, and fur::bencode::BencodeInt.
|
pure virtual |
Returns the string representation of the bencode value.
Implemented in fur::bencode::BencodeDict, fur::bencode::BencodeList, fur::bencode::BencodeString, and fur::bencode::BencodeInt.
1.8.17