Skip to content

Class endstone::nbt::ArrayTag

template <typename T>

ClassList > endstone > nbt > ArrayTag

Inherits the following classes: endstone::nbt::TagBase

Public Types

Type Name
typedef storage_type::const_iterator const_iterator
typedef storage_type::difference_type difference_type
typedef storage_type::iterator iterator
typedef std::size_t size_type
typedef std::vector< value_type > storage_type
typedef T value_type

Public Functions

Type Name
ArrayTag () = default
ArrayTag (storage_type v)
ArrayTag (It first, It last)
ArrayTag (std::initializer_list< value_type > init)
void assign (It first, It last)
value_type & at (size_type i)
const value_type & at (size_type i) const
iterator begin () noexcept
const_iterator begin () noexcept const
const_iterator cbegin () noexcept const
const_iterator cend () noexcept const
void clear () noexcept
value_type * data () noexcept
const value_type * data () noexcept const
bool empty () noexcept const
iterator end () noexcept
const_iterator end () noexcept const
iterator erase (const_iterator pos)
iterator insert (const_iterator pos, value_type v)
value_type & operator[] (size_type i)
const value_type & operator[] (size_type i) const
void push_back (value_type v)
size_type size () noexcept const

Public Types Documentation

typedef const_iterator

using endstone::nbt::ArrayTag< T >::const_iterator =  storage_type::const_iterator;

typedef difference_type

using endstone::nbt::ArrayTag< T >::difference_type =  storage_type::difference_type;

typedef iterator

using endstone::nbt::ArrayTag< T >::iterator =  storage_type::iterator;

typedef size_type

using endstone::nbt::ArrayTag< T >::size_type =  std::size_t;

typedef storage_type

using endstone::nbt::ArrayTag< T >::storage_type =  std::vector<value_type>;

typedef value_type

using endstone::nbt::ArrayTag< T >::value_type =  T;

Public Functions Documentation

function ArrayTag [¼]

endstone::nbt::ArrayTag::ArrayTag () = default

function ArrayTag [2/4]

inline explicit endstone::nbt::ArrayTag::ArrayTag (
    storage_type v
) 

function ArrayTag [¾]

template<class  It>
inline endstone::nbt::ArrayTag::ArrayTag (
    It first,
    It last
) 

function ArrayTag [4/4]

inline endstone::nbt::ArrayTag::ArrayTag (
    std::initializer_list< value_type > init
) 

function assign

template<class  It>
inline void endstone::nbt::ArrayTag::assign (
    It first,
    It last
) 

function at [½]

inline value_type & endstone::nbt::ArrayTag::at (
    size_type i
) 

function at [2/2]

inline const  value_type & endstone::nbt::ArrayTag::at (
    size_type i
) const

function begin [½]

inline iterator endstone::nbt::ArrayTag::begin () noexcept

function begin [2/2]

inline const_iterator endstone::nbt::ArrayTag::begin () noexcept const

function cbegin

inline const_iterator endstone::nbt::ArrayTag::cbegin () noexcept const

function cend

inline const_iterator endstone::nbt::ArrayTag::cend () noexcept const

function clear

inline void endstone::nbt::ArrayTag::clear () noexcept

function data [½]

inline value_type * endstone::nbt::ArrayTag::data () noexcept

function data [2/2]

inline const  value_type * endstone::nbt::ArrayTag::data () noexcept const

function empty

inline bool endstone::nbt::ArrayTag::empty () noexcept const

function end [½]

inline iterator endstone::nbt::ArrayTag::end () noexcept

function end [2/2]

inline const_iterator endstone::nbt::ArrayTag::end () noexcept const

function erase

inline iterator endstone::nbt::ArrayTag::erase (
    const_iterator pos
) 

function insert

inline iterator endstone::nbt::ArrayTag::insert (
    const_iterator pos,
    value_type v
) 

function operator[]

inline value_type & endstone::nbt::ArrayTag::operator[] (
    size_type i
) 

function operator[]

inline const  value_type & endstone::nbt::ArrayTag::operator[] (
    size_type i
) const

function push_back

inline void endstone::nbt::ArrayTag::push_back (
    value_type v
) 

function size

inline size_type endstone::nbt::ArrayTag::size () noexcept const

Friends Documentation

friend operator!=

inline bool endstone::nbt::ArrayTag::operator!= (
    const  ArrayTag & a,
    const  ArrayTag & b
) noexcept

friend operator!=

inline bool endstone::nbt::ArrayTag::operator!= (
    const  ArrayTag & a,
    const storage_type & b
) noexcept

friend operator!=

inline bool endstone::nbt::ArrayTag::operator!= (
    const storage_type & a,
    const  ArrayTag & b
) noexcept

friend operator==

inline bool endstone::nbt::ArrayTag::operator== (
    const  ArrayTag & a,
    const  ArrayTag & b
) noexcept

friend operator==

inline bool endstone::nbt::ArrayTag::operator== (
    const  ArrayTag & a,
    const storage_type & b
) noexcept

friend operator==

inline bool endstone::nbt::ArrayTag::operator== (
    const storage_type & a,
    const  ArrayTag & b
) noexcept


The documentation for this class was generated from the following file include/endstone/nbt/array.h