SOMHunter Core
sh::TemporalQuery Struct Reference

#include <query-types.h>

Collaboration diagram for sh::TemporalQuery:

Public Member Functions

 TemporalQuery ()
 
 TemporalQuery (TextualQuery tq)
 
 TemporalQuery (CanvasQuery cq)
 
 TemporalQuery (RelocationQuery rq)
 
 TemporalQuery (TextualQuery tq, CanvasQuery cq, RelocationQuery rq)
 
bool score_secondary () const
 
void score_secondary (bool new_value)
 
const bool is_relocation () const
 
const bool is_canvas () const
 
const bool is_text () const
 
const bool empty () const
 
const bool is_bitmap_canvas () const
 
const bool is_text_canvas () const
 
template<class Archive >
void serialize (Archive &archive)
 
bool operator== (const TemporalQuery &b) const
 
nlohmann::json to_JSON () const
 

Public Attributes

TextualQuery textual
 
CanvasQuery canvas
 
RelocationQuery relocation
 
bool _score_secondary { false }
 

Constructor & Destructor Documentation

◆ TemporalQuery() [1/5]

sh::TemporalQuery::TemporalQuery ( )
inline

◆ TemporalQuery() [2/5]

sh::TemporalQuery::TemporalQuery ( TextualQuery  tq)
inline

◆ TemporalQuery() [3/5]

sh::TemporalQuery::TemporalQuery ( CanvasQuery  cq)
inline

◆ TemporalQuery() [4/5]

sh::TemporalQuery::TemporalQuery ( RelocationQuery  rq)
inline

◆ TemporalQuery() [5/5]

sh::TemporalQuery::TemporalQuery ( TextualQuery  tq,
CanvasQuery  cq,
RelocationQuery  rq 
)
inline

Member Function Documentation

◆ empty()

const bool sh::TemporalQuery::empty ( ) const
inline
Here is the call graph for this function:

◆ is_bitmap_canvas()

const bool sh::TemporalQuery::is_bitmap_canvas ( ) const
inline
Here is the call graph for this function:

◆ is_canvas()

const bool sh::TemporalQuery::is_canvas ( ) const
inline
Here is the call graph for this function:

◆ is_relocation()

const bool sh::TemporalQuery::is_relocation ( ) const
inline

◆ is_text()

const bool sh::TemporalQuery::is_text ( ) const
inline
Here is the call graph for this function:

◆ is_text_canvas()

const bool sh::TemporalQuery::is_text_canvas ( ) const
inline
Here is the call graph for this function:

◆ operator==()

bool sh::TemporalQuery::operator== ( const TemporalQuery b) const
inline
Here is the call graph for this function:

◆ score_secondary() [1/2]

bool sh::TemporalQuery::score_secondary ( ) const
inline

◆ score_secondary() [2/2]

void sh::TemporalQuery::score_secondary ( bool  new_value)
inline

◆ serialize()

template<class Archive >
void sh::TemporalQuery::serialize ( Archive &  archive)
inline

◆ to_JSON()

nlohmann::json sh::TemporalQuery::to_JSON ( ) const
inline
Here is the call graph for this function:

Member Data Documentation

◆ _score_secondary

bool sh::TemporalQuery::_score_secondary { false }

◆ canvas

CanvasQuery sh::TemporalQuery::canvas

◆ relocation

RelocationQuery sh::TemporalQuery::relocation

◆ textual

TextualQuery sh::TemporalQuery::textual

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