CRM64Pro GDK v0.11.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CRM64Pro::XMLMgr

XML Manager class. More...

Inherits CRM64Pro::ManagerBase.

Public Member Functions

Sint32 info (Sint32 idXML=0)
 Request XML Manager information.
 
Sint32 create (const string &sMainNode, Uint32 iUnused=0)
 Create a new XML.
 
Sint32 close (Sint32 idXML)
 Close and destroy a XML.
 
Sint32 getNum ()
 Get number of loaded objects.
 
Sint32 setName (Sint32 idXML, const string &sName)
 Change the object name.
 
XMLget (Sint32 idXML=0)
 Get a pointer to the XML using its handler.
 
Sint32 loadFromFile (const string &sFile, const string &sName="")
 Load a XML file.
 
Sint32 loadFromBuffer (const unsigned char *szData, const Sint32 iSize, const string &sName)
 Load a XML from a buffer.
 
Sint32 load (const string &sFileCDC, const string &sName)
 Load a XML file stored in a CDC file.
 
Sint32 load (Sint32 idCDC, const string &sName)
 Load a XML file stored in a CDC file.
 
Sint32 remove (Sint32 idCDC, const string &sName)
 Remove a XML file stored in a CDC file.
 

Detailed Description

XML Manager class.