yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ObjectAutoCheckResults Class Reference

#include <object_coverage_model.h>

Classes

struct  ObjectSummary
 

Public Member Functions

void Clear ()
 
void Record (int room_id, size_t object_index, int object_id, const PlacementAutoResult &result)
 
void RecordRoom (bool exact)
 
const PlacementAutoResult * Find (int room_id, size_t object_index) const
 
const ObjectSummary * Summary (int object_id) const
 
const std::map< int, ObjectSummary > & summaries () const
 
int rooms_compared () const
 
int rooms_exact () const
 

Private Attributes

std::map< std::pair< int, size_t >, PlacementAutoResult > placements_
 
std::map< int, ObjectSummary > summaries_
 
int rooms_compared_ = 0
 
int rooms_exact_ = 0
 

Detailed Description

Definition at line 153 of file object_coverage_model.h.

Member Function Documentation

◆ Clear()

◆ Record()

◆ RecordRoom()

void yaze::editor::ObjectAutoCheckResults::RecordRoom ( bool exact)
inline

◆ Find()

const PlacementAutoResult * yaze::editor::ObjectAutoCheckResults::Find ( int room_id,
size_t object_index ) const

◆ Summary()

◆ summaries()

const std::map< int, ObjectSummary > & yaze::editor::ObjectAutoCheckResults::summaries ( ) const
inline

◆ rooms_compared()

int yaze::editor::ObjectAutoCheckResults::rooms_compared ( ) const
inline

◆ rooms_exact()

int yaze::editor::ObjectAutoCheckResults::rooms_exact ( ) const
inline

Member Data Documentation

◆ placements_

std::map<std::pair<int, size_t>, PlacementAutoResult> yaze::editor::ObjectAutoCheckResults::placements_
private

Definition at line 180 of file object_coverage_model.h.

Referenced by Clear(), Find(), and Record().

◆ summaries_

std::map<int, ObjectSummary> yaze::editor::ObjectAutoCheckResults::summaries_
private

Definition at line 181 of file object_coverage_model.h.

Referenced by Clear(), Record(), summaries(), and Summary().

◆ rooms_compared_

int yaze::editor::ObjectAutoCheckResults::rooms_compared_ = 0
private

Definition at line 182 of file object_coverage_model.h.

Referenced by Clear(), RecordRoom(), and rooms_compared().

◆ rooms_exact_

int yaze::editor::ObjectAutoCheckResults::rooms_exact_ = 0
private

Definition at line 183 of file object_coverage_model.h.

Referenced by Clear(), RecordRoom(), and rooms_exact().


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