17 #ifndef MASTODON_CPP_EASY_RETURN_TYPES_EASY_HPP 18 #define MASTODON_CPP_EASY_RETURN_TYPES_EASY_HPP 24 #include "../mastodon-cpp.hpp" 62 const uint16_t hec,
const T &ent);
75 const uint16_t hec,
const T &ent);
82 operator const T()
const;
89 operator const string()
const;
100 out << ret.
entity.to_string();
110 template <
typename T>
122 const uint16_t hec,
const vector<T> &vec);
129 operator const vector<T>()
const;
134 #endif // MASTODON_CPP_EASY_RETURN_TYPES_EASY_HPP friend std::ostream & operator<<(std::ostream &out, const return_entity< T > &ret)
Mastodon::Easy::Entity as formatted string.
Definition: return_types_easy.hpp:96
T entity
Mastodon::Easy::Entity.
Definition: return_types_easy.hpp:47
Return types for calls that return multiple Easy::Entitys.
Definition: return_types_easy.hpp:111
Collection of things to interface with server software that implements the Mastodon API.
Definition: mastodon-cpp.hpp:47
Return types for calls that return a single Easy::Entity.
Definition: return_types_easy.hpp:40
Basis for return types.
Definition: return_types.hpp:35
vector< T > entities
std::vector of Mastodon::Easy::Entity.
Definition: return_types_easy.hpp:118