[Positioning] Add ResultList::empty()
This commit is contained in:
parent
d43267fcd3
commit
773fd559cd
|
@ -25,6 +25,8 @@ public:
|
|||
|
||||
/** @name Read accessors */
|
||||
//@{
|
||||
/// Checks if there is at least one Result in the list
|
||||
bool empty(void) const ;
|
||||
const Request* get_request(void) const ;
|
||||
const std::vector<Result>& get_results(void) const ;
|
||||
//@}
|
||||
|
@ -57,6 +59,12 @@ public:
|
|||
/* *** Read accessors *** */
|
||||
|
||||
|
||||
inline bool ResultList::empty() const
|
||||
{
|
||||
return results.empty() ;
|
||||
}
|
||||
|
||||
|
||||
inline const Request* ResultList::get_request() const
|
||||
{
|
||||
return request ;
|
||||
|
|
Loading…
Reference in New Issue