17 #ifndef MASTODON_CPP_EASY_RESULTS_HPP 18 #define MASTODON_CPP_EASY_RESULTS_HPP 25 #include "mastodon-cpp.hpp" 26 #include "easy/easy.hpp" 27 #include "easy/entities/account.hpp" 28 #include "easy/entities/status.hpp" 30 #include <mastodon-cpp/mastodon-cpp.hpp> 31 #include <mastodon-cpp/easy/easy.hpp> 32 #include <mastodon-cpp/easy/entities/account.hpp> 33 #include <mastodon-cpp/easy/entities/status.hpp> 51 explicit Results(
const string &json);
61 const std::vector<Account>
accounts()
const;
66 const std::vector<Status>
statuses()
const;
71 const std::vector<string>
hashtags()
const;
75 #endif // MASTODON_CPP_EASY_RESULTS_HPP const std::vector< string > hashtags() const
Returns an array of matched hashtags.
Definition: results.cpp:66
const std::vector< Account > accounts() const
Returns an array of matched Accounts.
Definition: results.cpp:32
Results()
Constructs an empty Results object.
Definition: results.cpp:28
Definition: mastodon-cpp.hpp:51
Base class for all entities.
Definition: easy.hpp:225
const std::vector< Status > statuses() const
Returns an array of matched Statuses.
Definition: results.cpp:49
Class to hold results.
Definition: results.hpp:43