yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
project_plan_agent.h File Reference
#include <string>
#include <string_view>
#include <vector>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "core/project_plan.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::core::PlanAgentUpdate
 
struct  yaze::core::PlanAgentChange
 
struct  yaze::core::PlanAgentDiff
 
struct  yaze::core::PlanAgentFileResult
 

Namespaces

namespace  yaze
 
namespace  yaze::core
 

Enumerations

enum class  yaze::core::PlanAgentChangeKind { yaze::core::kAdded , yaze::core::kChanged , yaze::core::kRemoved , yaze::core::kUnchanged }
 

Functions

const char * yaze::core::PlanAgentChangeKindName (PlanAgentChangeKind kind)
 
absl::StatusOr< PlanAgentDiff > yaze::core::DiffPlanAgentUpdate (const ProjectPlan &plan, const PlanAgentUpdate &update)
 
absl::StatusOr< PlanAgentDiff > yaze::core::ApplyPlanAgentUpdate (ProjectPlan *plan, const PlanAgentUpdate &update)
 
absl::StatusOr< PlanAgentFileResult > yaze::core::ApplyPlanAgentUpdateToFile (const std::string &path, const PlanAgentUpdate &update, bool dry_run)
 
const PlanJson * yaze::core::FindPlanAgentStatus (const ProjectPlan &plan)
 
const PlanJson * yaze::core::FindPlanAgentObservation (const ProjectPlan &plan, std::string_view key)
 
std::vector< std::string > yaze::core::OrphanedPlanAgentObservations (const ProjectPlan &plan)
 
void yaze::core::RenamePlanAgentObservation (ProjectPlan *plan, std::string_view before, std::string_view after)
 
bool yaze::core::AdoptPlanAgentOnlyChanges (ProjectPlan *draft, std::string_view loaded_source, std::string_view disk_source)
 

Variables

constexpr std::string_view yaze::core::kPlanAgentStatusKey = "agent_status"
 
constexpr std::string_view yaze::core::kPlanAgentStatusSchema
 
constexpr std::string_view yaze::core::kPlanAgentUpdateSchema