| #include "elog_entry.hpp" | 
 |  | 
 | #include "elog_serialize.hpp" | 
 | #include "log_manager.hpp" | 
 |  | 
 | namespace phosphor | 
 | { | 
 | namespace logging | 
 | { | 
 |  | 
 | // TODO Add interfaces to handle the error log id numbering | 
 |  | 
 | void Entry::delete_() | 
 | { | 
 |     parent.erase(id()); | 
 | } | 
 |  | 
 | bool Entry::resolved(bool value) | 
 | { | 
 |     auto current = | 
 |         sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolved(); | 
 |     if (value != current) | 
 |     { | 
 |         value ? associations({}) : associations(assocs); | 
 |         current = | 
 |             sdbusplus::xyz::openbmc_project::Logging::server::Entry::resolved( | 
 |                 value); | 
 |         serialize(*this); | 
 |     } | 
 |  | 
 |     return current; | 
 | } | 
 |  | 
 | } // namespace logging | 
 | } // namespace phosphor |