yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::PolicyResult Struct Reference

#include <policy_evaluator.h>

Public Member Functions

bool has_critical_violations () const
 
bool can_accept_with_override () const
 
bool is_clean () const
 

Public Attributes

bool passed
 
std::vector< PolicyViolationviolations
 
std::vector< PolicyViolationcritical_violations
 
std::vector< PolicyViolationwarnings
 
std::vector< PolicyViolationinfo
 

Detailed Description

Definition at line 31 of file policy_evaluator.h.

Member Function Documentation

◆ has_critical_violations()

bool yaze::cli::PolicyResult::has_critical_violations ( ) const
inline

◆ can_accept_with_override()

bool yaze::cli::PolicyResult::can_accept_with_override ( ) const
inline

Definition at line 42 of file policy_evaluator.h.

References has_critical_violations(), and warnings.

Here is the call graph for this function:

◆ is_clean()

bool yaze::cli::PolicyResult::is_clean ( ) const
inline

Definition at line 45 of file policy_evaluator.h.

References violations.

Member Data Documentation

◆ passed

bool yaze::cli::PolicyResult::passed

Definition at line 32 of file policy_evaluator.h.

Referenced by yaze::cli::PolicyEvaluator::EvaluateProposal().

◆ violations

◆ critical_violations

std::vector<PolicyViolation> yaze::cli::PolicyResult::critical_violations

◆ warnings

std::vector<PolicyViolation> yaze::cli::PolicyResult::warnings

◆ info

std::vector<PolicyViolation> yaze::cli::PolicyResult::info

Definition at line 38 of file policy_evaluator.h.

Referenced by yaze::cli::PolicyEvaluator::CategorizeViolations().


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