floo2
Public Member Functions | List of all members
floo::BMXResultPage< T > Class Template Reference

分页结果 More...

#include <bmx_result_page.h>

Inheritance diagram for floo::BMXResultPage< T >:
floo::BMXBaseObject

Public Member Functions

 BMXResultPage ()
 构造函数
 
 BMXResultPage (const std::vector< T > &result, int64_t offset)
 构造函数 More...
 
 BMXResultPage (const std::vector< T > &result, std::string cursor)
 构造函数 More...
 
 BMXResultPage (const BMXResultPage &from)
 构造函数 More...
 
 BMXResultPage (BMXResultPage &&from)
 构造函数 More...
 
BMXResultPageoperator= (const BMXResultPage &from)
 赋值函数 More...
 
virtual ~BMXResultPage ()
 析构函数
 
size_t count () const
 vector对象数组大小 More...
 
int64_t offset () const
 偏移量 More...
 
const std::string & cursor () const
 cursor偏移量 More...
 
const std::vector< T > & result () const
 vector对象数组 More...
 
- Public Member Functions inherited from floo::BMXBaseObject
template<typename T >
T * cast ()
 

Detailed Description

template<typename T>
class floo::BMXResultPage< T >

分页结果

Constructor & Destructor Documentation

◆ BMXResultPage() [1/4]

template<typename T >
floo::BMXResultPage< T >::BMXResultPage ( const std::vector< T > &  result,
int64_t  offset 
)
inline

构造函数

Parameters
result列表数据
offset偏移量

◆ BMXResultPage() [2/4]

template<typename T >
floo::BMXResultPage< T >::BMXResultPage ( const std::vector< T > &  result,
std::string  cursor 
)
inline

构造函数

Parameters
result列表结果
cursorcursor偏移量

◆ BMXResultPage() [3/4]

template<typename T >
floo::BMXResultPage< T >::BMXResultPage ( const BMXResultPage< T > &  from)
inline

构造函数

Parameters
fromBMXResultPage对象

◆ BMXResultPage() [4/4]

template<typename T >
floo::BMXResultPage< T >::BMXResultPage ( BMXResultPage< T > &&  from)
inline

构造函数

Parameters
fromBMXResultPage对象

Member Function Documentation

◆ count()

template<typename T >
size_t floo::BMXResultPage< T >::count ( ) const
inline

vector对象数组大小

Returns
size_t

◆ cursor()

template<typename T >
const std::string& floo::BMXResultPage< T >::cursor ( ) const
inline

cursor偏移量

Returns
std::string

◆ offset()

template<typename T >
int64_t floo::BMXResultPage< T >::offset ( ) const
inline

偏移量

Returns
int64_t

◆ operator=()

template<typename T >
BMXResultPage& floo::BMXResultPage< T >::operator= ( const BMXResultPage< T > &  from)
inline

赋值函数

Parameters
fromBMXResultPage对象
Returns
BMXResultPage

◆ result()

template<typename T >
const std::vector<T>& floo::BMXResultPage< T >::result ( ) const
inline

vector对象数组

Returns
std::vector<T>

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