agl::utl::IParameterIO class

Base classes

class IParameterList

Constructors, destructors, conversion operators

IParameterIO()
IParameterIO(const sead::SafeString& name, u32 version)
~IParameterIO() override

Public functions

auto save(const sead::SafeString& path, u32) const -> bool virtual
void applyResParameterArchive(ResParameterArchive arc) virtual
void applyResParameterArchiveLerp(ResParameterArchive arc_a, ResParameterArchive arc_b, f32 t) virtual
void load(const sead::SafeString& path, bool)
void loadText(const void* data, u32 size, bool)
auto isCompleteArchive(ResParameterArchive archive, bool) const -> bool
void genMessageIO(sead::hostio::Context* context, u32)
void listenPropertyEventIO(sead::hostio::Reflexible* reflexible, sead::hostio::PropertyEvent* event)
void addList(IParameterList* child, const sead::SafeString& name)
void addObj(IParameterObj* child, const sead::SafeString& name)
void clearList()
void clearObj()
void removeList(IParameterList* child)
void removeObj(IParameterObj* child)
auto getChildObjHead() const -> IParameterObj*
auto getChildObjTail() const -> IParameterObj*
auto getChildListHead() const -> IParameterList*
auto getChildListTail() const -> IParameterList*
auto getNext() const -> IParameterList*
auto getParent() const -> IParameterList*
auto getName() const -> sead::SafeString
auto getNameHash() const -> u32
void applyResParameterList(ResParameterList list)
void applyResParameterList(ResParameterList list1, ResParameterList list2, f32 t)
auto isComplete(ResParameterList res, bool) const -> bool
auto getTagName() -> const char*
void createAttribute(sead::XmlElement* element, sead::Heap* heap) const
void writeToXML(sead::XmlElement* element, sead::Heap* heap)
auto readFromXML(const sead::XmlElement& element, bool x) -> bool
auto verify() const -> bool
auto verifyList() const -> bool
auto verifyList(IParameterList* p_check, IParameterList* other) const -> bool
auto verifyObj() const -> bool
auto verifyObj(IParameterObj* obj1, IParameterObj* obj2) const -> bool
void sortByHash()

Protected functions

void callbackInvalidVersion_(ResParameterArchive) virtual
void save_(const sead::SafeString& path, const sead::XmlDocument* document) const
auto preWrite_() const -> bool virtual
void postWrite_() const virtual
auto preRead_() -> bool virtual
void postRead_() virtual
auto isApply_(ResParameterList list) const -> bool virtual
void callbackNotAppliable_(IParameterObj*, ParameterBase*, ResParameterObj) virtual
void callbackNotInterpolatable_(IParameterObj*, ParameterBase*, ResParameterObj, ResParameterObj, ResParameter, ResParameter, f32) virtual
void setParameterListName_(const sead::SafeString& name)
void applyResParameterList_(bool interpolate, ResParameterList l1, ResParameterList l2, f32 t)
auto searchResParameterObj_(ResParameterList res, const IParameterObj& obj) const -> ResParameterObj
auto searchChildParameterObj_(ResParameterObj res, IParameterObj* obj) const -> IParameterObj*
void applyResParameterObjB_(bool interpolate, ResParameterList res, f32 t)
auto searchResParameterList_(ResParameterList res, const IParameterList& list) const -> ResParameterList
auto searchChildParameterList_(ResParameterList res) const -> IParameterList*
void applyResParameterListB_(bool interpolate, ResParameterList res, f32 t)

Protected variables

sead::FixedSafeString<64> mType
u32 mVersion
void* _a8
sead::FixedSafeString<256> _b0
u32 mResFileSize
u32 _1cc
IParameterObj* mpChildObjHead
IParameterObj* mpChildObjTail
IParameterList* mpChildListHead
IParameterList* mpChildListTail
u32 mNameHash
IParameterList* mNext
IParameterList* mParent
const char* mName

Function documentation

void agl::utl::IParameterIO::addList(IParameterList* child, const sead::SafeString& name)

void agl::utl::IParameterIO::addObj(IParameterObj* child, const sead::SafeString& name)

void agl::utl::IParameterIO::clearList()

void agl::utl::IParameterIO::clearObj()

void agl::utl::IParameterIO::removeList(IParameterList* child)

void agl::utl::IParameterIO::removeObj(IParameterObj* child)

IParameterObj* agl::utl::IParameterIO::getChildObjHead() const

IParameterObj* agl::utl::IParameterIO::getChildObjTail() const

IParameterList* agl::utl::IParameterIO::getChildListHead() const

IParameterList* agl::utl::IParameterIO::getChildListTail() const

IParameterList* agl::utl::IParameterIO::getNext() const

IParameterList* agl::utl::IParameterIO::getParent() const

sead::SafeString agl::utl::IParameterIO::getName() const

u32 agl::utl::IParameterIO::getNameHash() const

void agl::utl::IParameterIO::applyResParameterList(ResParameterList list)

void agl::utl::IParameterIO::applyResParameterList(ResParameterList list1, ResParameterList list2, f32 t)

bool agl::utl::IParameterIO::isComplete(ResParameterList res, bool) const

const char* agl::utl::IParameterIO::getTagName()

void agl::utl::IParameterIO::createAttribute(sead::XmlElement* element, sead::Heap* heap) const

void agl::utl::IParameterIO::writeToXML(sead::XmlElement* element, sead::Heap* heap)

bool agl::utl::IParameterIO::readFromXML(const sead::XmlElement& element, bool x)

bool agl::utl::IParameterIO::verify() const

bool agl::utl::IParameterIO::verifyList() const

bool agl::utl::IParameterIO::verifyList(IParameterList* p_check, IParameterList* other) const

bool agl::utl::IParameterIO::verifyObj() const

bool agl::utl::IParameterIO::verifyObj(IParameterObj* obj1, IParameterObj* obj2) const

void agl::utl::IParameterIO::sortByHash()

bool agl::utl::IParameterIO::preWrite_() const virtual protected

void agl::utl::IParameterIO::postWrite_() const virtual protected

bool agl::utl::IParameterIO::preRead_() virtual protected

void agl::utl::IParameterIO::postRead_() virtual protected

bool agl::utl::IParameterIO::isApply_(ResParameterList list) const virtual protected

void agl::utl::IParameterIO::callbackNotAppliable_(IParameterObj*, ParameterBase*, ResParameterObj) virtual protected

void agl::utl::IParameterIO::setParameterListName_(const sead::SafeString& name) protected

void agl::utl::IParameterIO::applyResParameterList_(bool interpolate, ResParameterList l1, ResParameterList l2, f32 t) protected

ResParameterObj agl::utl::IParameterIO::searchResParameterObj_(ResParameterList res, const IParameterObj& obj) const protected

IParameterObj* agl::utl::IParameterIO::searchChildParameterObj_(ResParameterObj res, IParameterObj* obj) const protected

void agl::utl::IParameterIO::applyResParameterObjB_(bool interpolate, ResParameterList res, f32 t) protected

ResParameterList agl::utl::IParameterIO::searchResParameterList_(ResParameterList res, const IParameterList& list) const protected

IParameterList* agl::utl::IParameterIO::searchChildParameterList_(ResParameterList res) const protected

void agl::utl::IParameterIO::applyResParameterListB_(bool interpolate, ResParameterList res, f32 t) protected

Variable documentation

IParameterObj* agl::utl::IParameterIO::mpChildObjHead protected

IParameterObj* agl::utl::IParameterIO::mpChildObjTail protected

IParameterList* agl::utl::IParameterIO::mpChildListHead protected

IParameterList* agl::utl::IParameterIO::mpChildListTail protected

u32 agl::utl::IParameterIO::mNameHash protected

IParameterList* agl::utl::IParameterIO::mNext protected

IParameterList* agl::utl::IParameterIO::mParent protected

const char* agl::utl::IParameterIO::mName protected