acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
MEMORY Class Reference
Inheritance diagram for MEMORY:
block range< ::u8 * > base_array< TYPE, const TYPE &, ::constructor::nodef< TYPE >, MEMORY, t_etypeContainer > base_array< plex_heap_alloc_sync *, plex_heap_alloc_sync *, TYPED, MEMORY, t_etypeContainer > base_array< string_array_base, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > base_array< error_code, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > base_array< critical_section, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > base_array< item_n40585, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > base_array< ref_base *, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > base_array< TYPE, ARG_TYPE, TYPED, MEMORY, t_etypeContainer > memory_base shared_memory

Public Member Functions

 MEMORY (const MEMORY &memory)
 MEMORY (MEMORY &&memory)
MEMORY & operator= (const MEMORY &memory)
void _assign (const MEMORY &memory)
void assign (const MEMORY &memory)
::u8 * storage_begin ()
const ::u8 * storage_begin () const
memsize storage_size () const
::u8 * storage_end ()
const ::u8 * storage_end () const
memsize offset () const
memsize max_offset () const
Public Member Functions inherited from block
 block (const block &block)
 block (const range< ::u8 * > &range)
 block (const memory_base &memory)
 block (const memory_base *pmemory)
 block (const atom &atom)
template<const_pointer_to_prototype_character PSZ>
 block (PSZ psz)
template<const_array_of_prototype_character CONSTCHARACTERA>
 block (CONSTCHARACTERA a)
template<array_of_non_prototype_character NONCHARACTERA>
 block (NONCHARACTERA &a)
template<prototype_integral INTEGRAL>
 block (INTEGRAL &i)
template<typename TYPE>
 block (enum_as_little_endian_block, TYPE &t)
template<typename TYPE>
 block (enum_as_block, TYPE &t)
template<typename TYPE>
 block (enum_as_block, const TYPE &t)
 block (const void *begin, const void *end)
template<prototype_integral INTEGRAL>
 block (const void *data, INTEGRAL count)
constexpr bool has_data () const
template<typename TYPE>
const TYPE * as_pointer () const
template<typename TYPE>
TYPE * as_pointer ()
template<typename ITERATOR_TYPE>
::range< ITERATOR_TYPE > as_range ()
template<typename ITERATOR_TYPE>
const ::range< ITERATOR_TYPE > as_range () const
template<typename ITERATOR_TYPE>
::character_range< ITERATOR_TYPE > as_character_range ()
template<typename ITERATOR_TYPE>
const ::character_range< ITERATOR_TYPE > as_character_range () const
template<prototype_aggregate AGGREGATE>
block & operator= (const AGGREGATE &aggregate)
template<character_count c>
block & operator= (const ::u8(&ba)[c])
template<typename T>
block & operator>> (T &t)
template<character_count c>
block & operator>> (::u8(&ba)[c])
block & from_base64 (const ::scoped_string &scopedstr) const
::std::strong_ordering compare (const block &block) const
bool operator== (const block &block) const
bool operator!= (const block &block) const
memsize find (const ::block &blockFind, memsize start=0) const
memsize _find (const ::block &blockFind, memsize start=0) const
void copy (const ::block &block)
bool begins (const ::block &block) const
bool ends (const ::block &block) const
::u8 & first_byte (::collection::index i=0)
::u8 first_byte (::collection::index i=0) const
::u8 & last_byte (::collection::index i=-1)
::u8 last_byte (::collection::index i=-1) const
Public Member Functions inherited from range< ::u8 * >
constexpr range (no_initialize_t)
constexpr range (nullptr_t)
constexpr range (const ITEM(&array)[count], enum_range erange=e_range_none)
constexpr range (const TYPED_RANGE &range)
constexpr range (const range &range)
constexpr range (range &&range)
constexpr range (TYPE *&p)
constexpr range (this_iterator begin, INTEGRAL count, enum_range erange=e_range_none)
constexpr range (this_iterator begin, this_iterator end, enum_range erange=e_range_none)
constexpr range (this_iterator begin, EQUALITY equality)
range & operator= (const range &range)
range & operator= (range &&range)
void add_initializer_list (const ::std::initializer_list< ITEM > &initializer_list)
void set_null ()
constexpr THIS_RAW_RANGE operator() (START start) const
constexpr THIS_RAW_RANGE operator() (START start, COUNT count) const
::collection::count array_get_count () const
void block_concatenate_to (A_ITEM *&p)
constexpr THIS_RAW_RANGE operator() (START start)
THIS_RAW_RANGE operator() (START start, COUNT count)
constexpr auto index_of (const_iterator p) const
this_iterator & begin ()
this_iterator & end ()
const_iterator begin () const
const_iterator end () const
this_iterator & begin (this_iterator begin)
this_iterator & end (this_iterator end)
auto & first ()
auto & first () const
constexpr this_iterator data ()
constexpr const this_iterator data () const
constexpr ::collection::count size () const
constexpr memsize size_in_bytes () const
constexpr bool is_empty () const
constexpr bool is_set () const
bool operator! () const
constexpr bool is_before_begin (const_iterator iterator) const
constexpr bool is_end (const_iterator iterator) const
constexpr bool is_iterator_ok (const_iterator iterator) const
constexpr bool is_this_range (const range &range) const
constexpr THIS_RAW_RANGE _start_range (memsize start) const
constexpr THIS_RAW_RANGE _end_range (const_iterator end) const
constexpr THIS_RAW_RANGE _start_count_range (memsize start, memsize count) const
constexpr bool _equals (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr bool equals (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr auto _order (const THIS_RAW_RANGE &rangeBlock, ORDERING ordering) const
constexpr auto order (const THIS_RAW_RANGE &rangeBlock, ORDERING ordering) const
constexpr const_iterator _find (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator find (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator _rear_find (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator rear_find (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator _find_first_character (ITEM item, EQUALITY equality) const
constexpr const_iterator find_first_character (ITEM item, EQUALITY equality) const
constexpr const_iterator _find_first_character_in (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator find_first_character_in (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator _rear_find_first_character_in (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator rear_find_first_character_in (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr const_iterator _skip (ARG_ITEM item, EQUALITY equality) const
constexpr const_iterator skip (ARG_ITEM item, EQUALITY equality) const
constexpr const_iterator _rear_skip (ARG_ITEM item, EQUALITY equality) const
constexpr const_iterator rear_skip (ARG_ITEM item, EQUALITY equality) const
constexpr const_iterator _rear_find (ARG_ITEM item, EQUALITY equality) const
constexpr const_iterator rear_find (ARG_ITEM item, EQUALITY equality) const
constexpr bool _begins (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr bool begins (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr bool _ends (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const
constexpr bool ends (const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) const

Public Attributes

bool m_bOwner
bool m_bReadOnly
::u8 * m_beginStorage
memsize m_sizeStorage
::f64 m_dAllocationRateUp
::u32 m_dwAllocationAddUp
memory_container * m_pcontainer
enum_memory m_ememory
read_only_memory * m_preadonlymemory
memory * m_pprimitivememory
shared_memory * m_psharedmemory
paged_memory * m_pvirtualmemory
Public Attributes inherited from range< ::u8 * >
this_iterator m_begin
this_iterator m_end
enum_range m_erange

Additional Inherited Members

Public Types inherited from block
using PRIMITIVE_BLOCK_TAG = PRIMITIVE_BLOCK_TAG_TYPE
Public Types inherited from range< ::u8 * >
using this_iterator
using iterator
using const_iterator
using THIS_RAW_RANGE
using RAW_RANGE
using CONST_RAW_RANGE
using THIS_RANGE
using RANGE
using CONST_RANGE
using ITEM_POINTER
using THIS_ITEM
using ITEM
using CONST_ITEM
using ARG_ITEM
Static Public Member Functions inherited from range< ::u8 * >
static constexpr memsize item_size ()
static constexpr bool _initialize_equals (bool &b, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock)
static constexpr bool _static_equals (THIS_RAW_RANGE range, THIS_RAW_RANGE rangeBlock, EQUALITY equality)
static constexpr bool static_equals (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality)
static constexpr auto _static_order (THIS_RAW_RANGE range, THIS_RAW_RANGE rangeBlock, ORDERING ordering)
static constexpr auto static_order (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, ORDERING ordering)
static bool _initialize_find (const_iterator &p, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock)
static const_iterator _static_find (THIS_RAW_RANGE range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality)
static const_iterator static_find (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality)
static bool _initialize_rear_find (const_iterator &p, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock)
static const_iterator _static_rear_find (THIS_RAW_RANGE range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality)
static const_iterator static_rear_find (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality)
static constexpr bool _initialize_find_first_character (const_iterator &p, const THIS_RAW_RANGE &range, ITEM2 item) noexcept
static constexpr const_iterator _static_find_first_character (THIS_RAW_RANGE range, ITEM item, EQUALITY equality) noexcept
static constexpr const_iterator static_find_first_character (const THIS_RAW_RANGE &range, ITEM item, EQUALITY equality) noexcept
static constexpr bool _initialize_find_first_character_in (const_iterator &p, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock) noexcept
static constexpr const_iterator _static_find_first_character_in (THIS_RAW_RANGE range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept
static constexpr const_iterator static_find_first_character_in (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept
static constexpr bool _initialize_rear_find_first_character_in (const_iterator &p, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock) noexcept
static constexpr const_iterator _static_rear_find_first_character_in (THIS_RAW_RANGE range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept
static constexpr const_iterator static_rear_find_first_character_in (THIS_RAW_RANGE range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept
static constexpr bool _initialize_skip (const_iterator &p, const THIS_RAW_RANGE &range) noexcept
static constexpr const_iterator _static_skip (THIS_RAW_RANGE range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr const_iterator static_skip (const THIS_RAW_RANGE &range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr bool _initialize_rear_skip (const_iterator &p, const THIS_RAW_RANGE &range) noexcept
static constexpr const_iterator _static_rear_skip (THIS_RAW_RANGE range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr const_iterator static_rear_skip (const THIS_RAW_RANGE &range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr bool _initialize_find_item (const_iterator &p, const THIS_RAW_RANGE &range) noexcept
static constexpr bool _initialize_rear_find (const_iterator &p, const THIS_RAW_RANGE &range) noexcept
static constexpr const_iterator _static_rear_find (THIS_RAW_RANGE range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr const_iterator static_rear_find (THIS_RAW_RANGE range, ARG_ITEM item, EQUALITY equality) noexcept
static constexpr bool _initialize_contains (bool &b, const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock) noexcept
static constexpr bool _static_begins (THIS_RAW_RANGE range, THIS_RAW_RANGE rangeBlock, EQUALITY equality) noexcept
static constexpr bool static_begins (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept
static constexpr bool _static_ends (THIS_RAW_RANGE range, THIS_RAW_RANGE rangeBlock, EQUALITY equality) noexcept
static constexpr bool static_ends (const THIS_RAW_RANGE &range, const THIS_RAW_RANGE &rangeBlock, EQUALITY equality) noexcept

The documentation for this class was generated from the following files:
  • prototype/prototype/memory_base.h
  • prototype/prototype/memory_base.cpp