|
Furrent
|
#include <bencode_value.hpp>


Public Member Functions | |
| BencodeDict (std::map< std::string, std::unique_ptr< BencodeValue >> data) | |
| Constructs a BencodeDict object from a map of strings and BencodeValue. More... | |
| 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::map< std::string, std::unique_ptr< BencodeValue > > & | value () |
Public Member Functions inherited from fur::bencode::BencodeValue | |
| virtual | ~BencodeValue ()=default |
|
explicit |
Constructs a BencodeDict object from a map of strings and BencodeValue.
|
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::map< std::string, std::unique_ptr< BencodeValue > > & BencodeDict::value | ( | ) |
Returns the dictionary of BencodeValue objects that are contained in the dict
1.8.17