|
acme
Foundational cross-platform layer of the ca2 framework
|
Public Types | |
| using | BASE_DATA_BASE = base_data < TYPE_DATA > |
| using | DATA = non_const < TYPE_DATA > |
Public Member Functions | |
| base_data (::collection::count count) | |
| bool | base_data_is_shared () const |
| auto | base_data_increment_reference_count () |
| auto | base_data_decrement_reference_count () |
| DATA * | data () const |
| const DATA * | c_data () const |
| ::i32 | base_data_defer_release () |
| inline ::collection::count | storage_count () const |
| character_count | storage_character_count () const |
Static Public Member Functions | |
| static base_data * | base_data_from_data (const DATA *pdata) |
| static base_data * | create_base_data2 (::collection::count count, ::heap::enum_memory ememory=::heap::e_memory_string) |
Public Attributes | |
| interlocked_int | m_countReference |
| ::heap::enum_memory | m_ememoryHeap |
| ::collection::count | m_count |
|
inline |
character count borrow meaning from string character count where character count is one less element than the storage item count (not counting last empty item) this idea can be borrowed to other arrays.