parcel 0.2.4
Wrappable, wire-transferable C++23 value system with JSON serialization
Loading...
Searching...
No Matches
audit.h File Reference

Parcel adapters for the comms::AuditRecord family. More...

#include <parcel/cell.h>
#include <parcel/common.h>
#include <parcel/defaults.h>
#include <parcel/descriptor.h>
#include <parcel/json.h>
#include <commons/audit_record.hpp>
#include <commons/identity.hpp>
#include <commons/json/audit_record.hpp>
#include <cstddef>
#include <string>
#include <string_view>
Include dependency graph for audit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  parcel::AuditRecordCell
 Cell wrapping comms::AuditRecord. More...
 
class  parcel::AuditRecordsCell
 Cell wrapping comms::AuditRecords (= comms::AuditLog<comms::AuditRecord>). More...
 
class  parcel::ChangeAuditRecordCell< P >
 Cell wrapping comms::ChangeAuditRecord<typename P::storage_t>, the before/after change refinement of AuditRecord. More...
 
class  parcel::ChangeAuditRecordsCell< P >
 Cell wrapping comms::ChangeAuditRecords<typename P::storage_t> (= comms::AuditLog<comms::ChangeAuditRecord<typename P::storage_t>>). More...
 

Detailed Description

Parcel adapters for the comms::AuditRecord family.

  • AuditRecordCellcomms::AuditRecord"audit_record".
  • AuditRecordsCellcomms::AuditRecords"audit_records".
  • ChangeAuditRecordCell<P>comms::ChangeAuditRecord<P::storage_t>"change_audit_record:" + P::kind_id.
  • ChangeAuditRecordsCell<P>comms::ChangeAuditRecords<P::storage_t>"change_audit_records:" + P::kind_id.

The two non-templated cells are pre-registered in the default registry; the templated ChangeAuditRecord* cells are opt-in per element cell P (register via ChangeAuditRecordCell<SomeCell>::descriptor()), exactly like TypedListCell<P>.