|
SOMHunter Core
|
The type representing the whole query. More...
#include <query-types.h>

Public Member Functions | |
| Query ()=default | |
| template<typename QueryType > | |
| Query (const std::vector< QueryType > &temp_queries) | |
| const bool | is_relocation () const |
| const bool | score_secondary () const |
| void | score_secondary (bool new_value) |
| const bool | is_canvas () const |
| const bool | is_bitmap_canvas () const |
| const bool | is_text_canvas () const |
| const bool | is_temporal_text () const |
| const bool | is_text () const |
| const bool | empty () const |
| const std::vector< TemporalQuery > & | queries () const |
| void | set_targets (const std::vector< VideoFrame > &ts) |
| std::string | get_plain_text_query () const |
| void | transform_to_no_pos_queries () |
| nlohmann::json | to_JSON () const |
| template<class Archive > | |
| void | serialize (Archive &archive) |
Public Attributes | |
| RescoreMetadata | metadata |
| Filters | filters |
| RelevanceFeedbackQuery | relevance_feeedback |
| std::vector< TemporalQuery > | temporal_queries |
| std::vector< FrameId > | targets |
| bool | is_save { false } |
| bool | _score_secondary { false } |
The type representing the whole query.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| nlohmann::json Query::to_JSON | ( | ) | const |

|
inline |

| bool sh::Query::_score_secondary { false } |
| Filters sh::Query::filters |
| bool sh::Query::is_save { false } |
| RescoreMetadata sh::Query::metadata |
| RelevanceFeedbackQuery sh::Query::relevance_feeedback |
| std::vector<FrameId> sh::Query::targets |
| std::vector<TemporalQuery> sh::Query::temporal_queries |