Class endstone::CompoundTag¶
ClassList > endstone > CompoundTag
Inherits the following classes: endstone::nbt::TagBase
Public Types¶
| Type | Name |
|---|---|
| typedef map_type::const_iterator | const_iterator |
| typedef map_type::iterator | iterator |
| typedef std::string | key_type |
| typedef std::map< key_type, value_type > | map_type |
| typedef std::size_t | size_type |
| typedef nbt::Tag | value_type |
Public Functions¶
| Type | Name |
|---|---|
| CompoundTag () = default |
|
| CompoundTag (std::initializer_list< std::pair< key_type, value_type > > init) |
|
| value_type & | at (const key_type & key) |
| const value_type & | at (key_type key) const |
| iterator | begin () noexcept |
| const_iterator | begin () noexcept const |
| const_iterator | cbegin () noexcept const |
| const_iterator | cend () noexcept const |
| void | clear () noexcept |
| bool | contains (const key_type & key) noexcept const |
| std::pair< iterator, bool > | emplace (Args &&... args) |
| bool | empty () noexcept const |
| iterator | end () noexcept |
| const_iterator | end () noexcept const |
| iterator | erase (const_iterator pos) |
| size_type | erase (const key_type & key) |
| iterator | erase (const_iterator first, const_iterator last) |
| std::pair< iterator, bool > | insert (P && v) |
| std::pair< iterator, bool > | insert_or_assign (const key_type & key, M && obj) |
| void | merge (CompoundTag & source) |
| void | merge (CompoundTag && source) |
| value_type & | operator[] (const key_type & key) |
| size_type | size () noexcept const |
| void | swap (CompoundTag & other) noexcept |
| std::pair< iterator, bool > | try_emplace (const key_type & key, Args &&... args) |
Public Types Documentation¶
typedef const_iterator¶
typedef iterator¶
typedef key_type¶
typedef map_type¶
typedef size_type¶
typedef value_type¶
Public Functions Documentation¶
function CompoundTag [½]¶
function CompoundTag [2/2]¶
endstone::CompoundTag::CompoundTag (
std::initializer_list< std::pair< key_type, value_type > > init
)
function at [½]¶
function at [2/2]¶
function begin [½]¶
function begin [2/2]¶
function cbegin¶
function cend¶
function clear¶
function contains¶
function emplace¶
template<class... Args>
std::pair< iterator, bool > endstone::CompoundTag::emplace (
Args &&... args
)
function empty¶
function end [½]¶
function end [2/2]¶
function erase [⅓]¶
function erase [⅔]¶
function erase [3/3]¶
function insert¶
function insert_or_assign¶
template<class M>
std::pair< iterator, bool > endstone::CompoundTag::insert_or_assign (
const key_type & key,
M && obj
)
function merge [½]¶
function merge [2/2]¶
function operator[]¶
function size¶
function swap¶
function try_emplace¶
template<class... Args>
std::pair< iterator, bool > endstone::CompoundTag::try_emplace (
const key_type & key,
Args &&... args
)
Friends Documentation¶
friend operator!=¶
friend operator==¶
The documentation for this class was generated from the following file include/endstone/nbt/compound.h