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);
69 operator const T()
const;
76 operator const string()
const;
87 out << ret.
entity.to_string();
109 const uint16_t hec,
const vector<T> &vec);
116 operator const vector<T>()
const;
121 #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:83
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:98
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:46
Return types for calls that return a single Easy::Entity.
Definition: return_types_easy.hpp:40
Basis for return types.
Definition: return_types.hpp:34
vector< T > entities
std::vector of Mastodon::Easy::Entity.
Definition: return_types_easy.hpp:105