|
pstore2
|


Public Member Functions | |
| bss_section_creation_dispatcher (gsl::not_null< section_content const *> const sec) | |
| bss_section_creation_dispatcher (section_kind const kind, gsl::not_null< section_content const *> const sec) | |
| bss_section_creation_dispatcher (bss_section_creation_dispatcher const &)=delete | |
| bss_section_creation_dispatcher (bss_section_creation_dispatcher &&) noexcept=delete | |
| bss_section_creation_dispatcher & | operator= (bss_section_creation_dispatcher const &)=delete |
| bss_section_creation_dispatcher & | operator= (bss_section_creation_dispatcher &&) noexcept=delete |
| void | set_content (gsl::not_null< section_content const *> const sec) |
| std::size_t | size_bytes () const final |
| Returns the number of bytes of storage that are required for an instance of the section data. More... | |
| std::uint8_t * | write (std::uint8_t *out) const final |
Copies the section instance data to the memory starting at out. More... | |
Public Member Functions inherited from pstore::repo::section_creation_dispatcher | |
| section_creation_dispatcher (section_kind const kind) noexcept | |
| section_creation_dispatcher (section_creation_dispatcher const &)=delete | |
| section_creation_dispatcher (section_creation_dispatcher &&)=delete | |
| section_creation_dispatcher & | operator= (section_creation_dispatcher const &)=delete |
| section_creation_dispatcher & | operator= (section_creation_dispatcher &&)=delete |
| section_kind const & | kind () const noexcept |
| template<typename IntType , typename = std::enable_if<std::is_unsigned<IntType>::value>> | |
| std::size_t | aligned (IntType a) const |
| std::uint8_t * | aligned (std::uint8_t *const a) const |
|
finalvirtual |
Returns the number of bytes of storage that are required for an instance of the section data.
Implements pstore::repo::section_creation_dispatcher.
|
finalvirtual |
Copies the section instance data to the memory starting at out.
On entry, out is aligned according to the result of the aligned() member function.
| out | The address to which the instance data will be written. |
Implements pstore::repo::section_creation_dispatcher.
1.8.13