Skip to content
File CompoundTag.hpp
-
class CompoundTag : public Tag
Public Functions
-
const Tag *get(std::string_view name) const
-
Tag *get(std::string_view)
-
bool contains(std::string_view name) const
-
bool contains(std::string_view name, Tag::Type type) const
-
void clear()
-
void deepCopy(const CompoundTag &other)
-
std::unique_ptr<CompoundTag> clone() const
-
const ListTag *getList(std::string_view name) const
-
ListTag *getList(std::string_view name)
-
const ByteTag *getByteTag(std::string_view name) const
-
ByteTag *getByteTag(std::string_view name)
-
uint8_t getByte(std::string_view) const
-
void putByte(std::string name, unsigned char value)
-
const StringTag *getStringTag(std::string_view name) const
-
StringTag *getStringTag(std::string_view name)
-
const std::string *getString(std::string_view name) const
-
void putString(std::string name, std::string value)
-
const IntTag *getIntTag(std::string_view name) const
-
IntTag *getIntTag(std::string_view name)
-
int getInt(std::string_view name) const
Private Functions
-
template<typename T>
const T *get(std::string_view) const
-
template<typename T>
T *get(std::string_view)