HPL3/Amnesia: Rebirth/Scripting/iXmlDocument
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 CreateChildElement
- 3.2 CreateChildText
- 3.3 CreateFromFile
- 3.4 GetAttributeBool
- 3.5 GetAttributeColor
- 3.6 GetAttributeFloat
- 3.7 GetAttributeInt
- 3.8 GetAttributeString
- 3.9 GetAttributeVector2f
- 3.10 GetAttributeVector3f
- 3.11 GetChildIterator
- 3.12 GetErrorCol
- 3.13 GetErrorRow
- 3.14 GetFirstElement
- 3.15 GetFirstElement
- 3.16 GetFirstText
- 3.17 GetFirstText
- 3.18 GetParent
- 3.19 GetType
- 3.20 GetValue
- 3.21 Save
- 3.22 SaveToFile
- 3.23 SetAttributeBool
- 3.24 SetAttributeColor
- 3.25 SetAttributeFloat
- 3.26 SetAttributeInt
- 3.27 SetAttributeString
- 3.28 SetAttributeVector2f
- 3.29 SetAttributeVector3f
- 3.30 SetValue
- 3.31 ToElement
- 3.32 ToText
- 4 References
Fields
iXmlDocument has no public fields.
Functions
Return Type | Function And Description |
---|---|
cXmlElement | CreateChildElement(const tString &in asName) |
cXmlText | CreateChildText(const tString &in asText) |
bool | CreateFromFile(const tWString &in asPath) |
bool | GetAttributeBool(const tString &in asName, bool abDefault) |
cColor | GetAttributeColor(const tString &in asName, const cColor &in aDefault) |
float | GetAttributeFloat(const tString &in asName, float afDefault) |
int | GetAttributeInt(const tString &in asName, int alDefault) |
tString | GetAttributeString(const tString &in asName, const tString &in asDefault) |
cVector2f | GetAttributeVector2f(const tString &in asName, const cVector2f &in avDefault) |
cVector3f | GetAttributeVector3f(const tString &in asName, const cVector3f &in avDefault) |
cXmlNodeListIterator | GetChildIterator() |
int | GetErrorCol() |
int | GetErrorRow() |
cXmlElement | GetFirstElement() |
cXmlElement | GetFirstElement(const tString &in asName) |
cXmlText | GetFirstText() |
cXmlText | GetFirstText(const tString &in asText) |
iXmlNode | GetParent() |
eXmlNodeType | GetType() |
tString | GetValue() |
bool | Save() |
bool | SaveToFile(const tWString &in asPath) |
void | SetAttributeBool(const tString &in asName, bool abVal) |
void | SetAttributeColor(const tString &in asName, const cColor &in aVal) |
void | SetAttributeFloat(const tString &in asName, float afVal) |
void | SetAttributeInt(const tString &in asName, int alVal) |
void | SetAttributeString(const tString &in asName, const tString &in asVal) |
void | SetAttributeVector2f(const tString &in asName, const cVector2f &in avVal) |
void | SetAttributeVector3f(const tString &in asName, const cVector3f &in avVal) |
void | SetValue(const tString &in asValue) |
cXmlElement | ToElement() |
cXmlText | ToText() |
Details
CreateChildElement
cXmlElement@ CreateChildElement(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cXmlElement@—
CreateChildText
cXmlText@ CreateChildText(const tString &in asText)
Parameters
- asText (tString) —
Returns:
- cXmlText@—
CreateFromFile
GetAttributeBool
bool GetAttributeBool(const tString &in asName,
bool abDefault)
Parameters
- asName (tString) —
- abDefault (bool) —
Returns:
- bool—
GetAttributeColor
GetAttributeFloat
float GetAttributeFloat(const tString &in asName,
float afDefault)
Parameters
- asName (tString) —
- afDefault (float) —
Returns:
- float—
GetAttributeInt
int GetAttributeInt(const tString &in asName,
int alDefault)
Parameters
- asName (tString) —
- alDefault (int) —
Returns:
- int—
GetAttributeString
GetAttributeVector2f
GetAttributeVector3f
GetChildIterator
cXmlNodeListIterator@ GetChildIterator()
Returns:
- cXmlNodeListIterator@—
GetErrorCol
int GetErrorCol()
Returns:
- int—
GetErrorRow
int GetErrorRow()
Returns:
- int—
GetFirstElement
cXmlElement@ GetFirstElement()
Returns:
- cXmlElement@—
GetFirstElement
cXmlElement@ GetFirstElement(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cXmlElement@—
GetFirstText
cXmlText@ GetFirstText()
Returns:
- cXmlText@—
GetFirstText
GetParent
iXmlNode@ GetParent()
Returns:
- iXmlNode@—
GetType
eXmlNodeType GetType()
Returns:
- eXmlNodeType—
GetValue
const tString& GetValue()
Returns:
- const tString&—
Save
bool Save()
Returns:
- bool—
SaveToFile
SetAttributeBool
void SetAttributeBool(const tString &in asName,
bool abVal)
Parameters
- asName (tString) —
- abVal (bool) —
Returns:
- void
SetAttributeColor
SetAttributeFloat
void SetAttributeFloat(const tString &in asName,
float afVal)
Parameters
- asName (tString) —
- afVal (float) —
Returns:
- void
SetAttributeInt
void SetAttributeInt(const tString &in asName,
int alVal)
Parameters
- asName (tString) —
- alVal (int) —
Returns:
- void
SetAttributeString
SetAttributeVector2f
SetAttributeVector3f
SetValue
ToElement
cXmlElement@ ToElement()
Returns:
- cXmlElement@—
ToText
cXmlText@ ToText()
Returns:
- cXmlText@—