#include </home/runner/work/metall/metall/include/metall/object_attribute_accessor.hpp>
Public Types | |
using | size_type = typename object_directory_type::size_type |
using | name_type = typename object_directory_type::name_type |
using | offset_type = typename object_directory_type::offset_type |
using | length_type = typename object_directory_type::length_type |
using | description_type = typename object_directory_type::description_type |
using | const_iterator = typename object_directory_type::const_iterator |
Public Member Functions | |
anonymous_object_attr_accessor () noexcept=default | |
anonymous_object_attr_accessor (const std::string &object_attribute_file_path) noexcept | |
anonymous_object_attr_accessor (const anonymous_object_attr_accessor &other) noexcept | |
anonymous_object_attr_accessor (anonymous_object_attr_accessor &&) noexcept=default | |
anonymous_object_attr_accessor & | operator= (const anonymous_object_attr_accessor &other) noexcept |
anonymous_object_attr_accessor & | operator= (anonymous_object_attr_accessor &&) noexcept=default |
bool | good () const noexcept |
Returns if the internal state is good. | |
size_type | num_objects () const noexcept |
Returns the number of objects in the directory. | |
const_iterator | begin () const noexcept |
Returns a const iterator that points the beginning of stored object attribute. | |
const_iterator | end () const noexcept |
Returns a const iterator that points the end of stored object attribute. | |
bool | set_description (const_iterator position, const description_type &description) noexcept |
Sets an description. An existing one is overwrite. | |
_offset_type | |
_size_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::size_type = typename object_directory_type::size_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::name_type = typename object_directory_type::name_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::offset_type = typename object_directory_type::offset_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::length_type = typename object_directory_type::length_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::description_type = typename object_directory_type::description_type |
using metall::anonymous_object_attr_accessor< _offset_type, _size_type >::const_iterator = typename object_directory_type::const_iterator |
|
defaultnoexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
Returns if the internal state is good.
|
inlinenoexcept |
Returns the number of objects in the directory.
|
inlinenoexcept |
Returns a const iterator that points the beginning of stored object attribute.
|
inlinenoexcept |
Returns a const iterator that points the end of stored object attribute.
|
inlinenoexcept |
Sets an description. An existing one is overwrite.
position | An iterator to an object. |
description | A description string in description_type. |