载入中...
搜索中...
未找到
eve::spatial::QueryIds类 参考

Last-query hit buffer shared by spatial indexes. Script pattern: call query* → getResultCount / getResultId(i). 更多...

#include <QueryIds.h>

Public 成员函数

void clear ()
 Removes all stored entries.
 
void addUnique (int id)
 Appends id if not already present.
 
void addUnchecked (int id)
 Appends id without uniqueness checks.
 
int getCount () const
 Number of stored ids.
 
int getId (int index) const
 Id at dense index, or -1 if out of range.
 
const std::vector< int > & ids () const
 
std::vector< int > & ids ()
 

详细描述

Last-query hit buffer shared by spatial indexes. Script pattern: call query* → getResultCount / getResultId(i).

在文件 QueryIds.h 第 11 行定义.

成员函数说明

◆ addUnchecked()

void eve::spatial::QueryIds::addUnchecked ( int  id)
inline

Appends id without uniqueness checks.

在文件 QueryIds.h 第 25 行定义.

◆ addUnique()

void eve::spatial::QueryIds::addUnique ( int  id)
inline

Appends id if not already present.

在文件 QueryIds.h 第 17 行定义.

◆ clear()

◆ getCount()

◆ getId()

int eve::spatial::QueryIds::getId ( int  index) const
inline

Id at dense index, or -1 if out of range.

Number of stored ids.

在文件 QueryIds.h 第 31 行定义.

引用了 getCount() , 以及 index.

◆ ids() [1/2]

std::vector< int > & eve::spatial::QueryIds::ids ( )
inline

在文件 QueryIds.h 第 38 行定义.

◆ ids() [2/2]

const std::vector< int > & eve::spatial::QueryIds::ids ( ) const
inline

在文件 QueryIds.h 第 37 行定义.


该类的文档由以下文件生成: