Furrent
|
#include <bencode_value.hpp>
Public Member Functions | |
BencodeList (std::vector< std::unique_ptr< BencodeValue >> 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::vector< std::unique_ptr< BencodeValue > > & | value () |
Returns the list of BencodeValue objects that are contained in the list. 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::vector< std::unique_ptr< BencodeValue > > & BencodeList::value | ( | ) |
Returns the list of BencodeValue objects that are contained in the list.