| Flutter Impeller |

Public Member Functions | List of all members
impeller::Archivable Class Referenceabstract

Instances of `Archivable`s can be read from and written to a persistent archive. More...

`#include <archivable.h>`

Inheritance diagram for impeller::Archivable:

## Public Member Functions
virtual | ~Archivable ()=default
virtual PrimaryKey | GetPrimaryKey () const =0
virtual bool | Write (ArchiveLocation &item) const =0
virtual bool | Read (ArchiveLocation &item)=0

## Detailed Description

Instances of `Archivable`s can be read from and written to a persistent archive.

Definition at line 27 of file archivable.h.

## Constructor & Destructor Documentation

## ◆ ~Archivable()

virtual impeller::Archivable::~Archivable | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ GetPrimaryKey()

virtual PrimaryKey impeller::Archivable::GetPrimaryKey | ( |  | ) | const
| pure virtual

Implemented in impeller::testing::SampleWithVector, impeller::testing::Sample, and impeller::ArchiveVector.

## ◆ Read()

virtual bool impeller::Archivable::Read | ( | ArchiveLocation & | item | ) |
| pure virtual

Implemented in impeller::testing::SampleWithVector, impeller::testing::Sample, and impeller::ArchiveVector.

## ◆ Write()

virtual bool impeller::Archivable::Write | ( | ArchiveLocation & | item | ) | const
| pure virtual

Implemented in impeller::testing::SampleWithVector, impeller::testing::Sample, and impeller::ArchiveVector.

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

- impeller/archivist/archivable.h