mastodon-cpp  0.110.0
Public Member Functions | Public Attributes | List of all members
Mastodon::Easy::return_entity_vector< T > Struct Template Reference

Return types for calls that return multiple Easy::Entitys. More...

#include <return_types_easy.hpp>

Inheritance diagram for Mastodon::Easy::return_entity_vector< T >:
Mastodon::return_base

Public Member Functions

 return_entity_vector (const uint8_t ec, const string &em, const uint16_t hec, const vector< T > &vec)
 
 operator const vector< T > () const
 Same es return_entity_vector::entities. More...
 
- Public Member Functions inherited from Mastodon::return_base
 operator bool () const
 true if return_base::error_code is 0, otherwise false. More...
 
 operator uint8_t () const
 Same as return_base::error_code. More...
 

Public Attributes

vector< T > entities
 std::vector of Mastodon::Easy::Entity. More...
 
- Public Attributes inherited from Mastodon::return_base
uint8_t error_code = 0
 Error code. More...
 
string error_message
 The error message, or "". More...
 
uint16_t http_error_code = 0
 HTTP error code. More...
 

Detailed Description

template<typename T>
struct Mastodon::Easy::return_entity_vector< T >

Return types for calls that return multiple Easy::Entitys.

Since
0.100.0

Member Function Documentation

◆ operator const vector< T >()

template<typename T>
Mastodon::Easy::return_entity_vector< T >::operator const vector< T > ( ) const

Same es return_entity_vector::entities.

Since
0.100.0

Member Data Documentation

◆ entities

template<typename T>
vector<T> Mastodon::Easy::return_entity_vector< T >::entities

std::vector of Mastodon::Easy::Entity.

Since
0.100.0

The documentation for this struct was generated from the following file: