File DataNode.c
FileList > core > DataNode.c
Go to the source code of this file
#include "DataNode.h"#include <libxml/tree.h>#include "Scripting.h"#include <stdlib.h>#include <string.h>#include <stdio.h>#include "AssertLib.h"#include "Log.h"
Public Functions
| Type | Name |
|---|---|
| void | DN_InitForLuaTableOnTopOfStack (struct DataNode * pOutNode) |
| void | DN_InitForXMLNode (struct DataNode * pOutNode, xmlNode * pXMLNode) |
| bool | StrCmpContent_Lua (struct DataNode * pNode, const char * cmpTo) |
| bool | StrCmpContent_XML (struct DataNode * pNode, const char * cmpTo) |
| bool | StrCmp_XML (struct DataNode * pNode, const char * propName, const char * cmpTo) |
| void | StrCpyContent_Lua (struct DataNode * pNode, char * dest) |
| void | StrCpyContent_XML (struct DataNode * pNode, char * dest) |
| size_t | StrLenContent_Lua (struct DataNode * pNode) |
| size_t | StrLenContent_XML (struct DataNode * pNode) |
Public Static Functions
| Type | Name |
|---|---|
| bool | ContainsChar (const char * str, char c) |
| bool | GetBool_Lua (struct DataNode * pNode, const char * propName) |
| bool | GetBool_XML (struct DataNode * pNode, const char * propName) |
| float | GetFloat_Lua (struct DataNode * pNode, const char * propName) |
| float | GetFloat_XML (struct DataNode * pNode, const char * propName) |
| int | GetInt_Lua (struct DataNode * pNode, const char * propName) |
| int | GetInt_XML (struct DataNode * pNode, const char * propName) |
| enum DNPropValType | GetPropType_Lua (struct DataNode * pNode, const char * propName) |
| enum DNPropValType | GetPropType_XMLNode (struct DataNode * pNode, const char * propName) |
| void | GetStrcpy_Lua (struct DataNode * pNode, const char * propName, char * dest) |
| void | GetStrcpy_XML (struct DataNode * pNode, const char * propName, char * dest) |
| size_t | GetStrlen_Lua (struct DataNode * pNode, const char * propName) |
| size_t | GetStrlen_XML (struct DataNode * pNode, const char * propName) |
| bool | StrCmp_Lua (struct DataNode * pNode, const char * propName, const char * cmpTo) |
Public Functions Documentation
function DN_InitForLuaTableOnTopOfStack
void DN_InitForLuaTableOnTopOfStack (
struct DataNode * pOutNode
)
function DN_InitForXMLNode
void DN_InitForXMLNode (
struct DataNode * pOutNode,
xmlNode * pXMLNode
)
function StrCmpContent_Lua
bool StrCmpContent_Lua (
struct DataNode * pNode,
const char * cmpTo
)
function StrCmpContent_XML
bool StrCmpContent_XML (
struct DataNode * pNode,
const char * cmpTo
)
function StrCmp_XML
bool StrCmp_XML (
struct DataNode * pNode,
const char * propName,
const char * cmpTo
)
function StrCpyContent_Lua
void StrCpyContent_Lua (
struct DataNode * pNode,
char * dest
)
function StrCpyContent_XML
void StrCpyContent_XML (
struct DataNode * pNode,
char * dest
)
function StrLenContent_Lua
size_t StrLenContent_Lua (
struct DataNode * pNode
)
function StrLenContent_XML
size_t StrLenContent_XML (
struct DataNode * pNode
)
Public Static Functions Documentation
function ContainsChar
static bool ContainsChar (
const char * str,
char c
)
function GetBool_Lua
static bool GetBool_Lua (
struct DataNode * pNode,
const char * propName
)
function GetBool_XML
static bool GetBool_XML (
struct DataNode * pNode,
const char * propName
)
function GetFloat_Lua
static float GetFloat_Lua (
struct DataNode * pNode,
const char * propName
)
function GetFloat_XML
static float GetFloat_XML (
struct DataNode * pNode,
const char * propName
)
function GetInt_Lua
static int GetInt_Lua (
struct DataNode * pNode,
const char * propName
)
function GetInt_XML
static int GetInt_XML (
struct DataNode * pNode,
const char * propName
)
function GetPropType_Lua
static enum DNPropValType GetPropType_Lua (
struct DataNode * pNode,
const char * propName
)
function GetPropType_XMLNode
static enum DNPropValType GetPropType_XMLNode (
struct DataNode * pNode,
const char * propName
)
function GetStrcpy_Lua
static void GetStrcpy_Lua (
struct DataNode * pNode,
const char * propName,
char * dest
)
function GetStrcpy_XML
static void GetStrcpy_XML (
struct DataNode * pNode,
const char * propName,
char * dest
)
function GetStrlen_Lua
static size_t GetStrlen_Lua (
struct DataNode * pNode,
const char * propName
)
function GetStrlen_XML
static size_t GetStrlen_XML (
struct DataNode * pNode,
const char * propName
)
function StrCmp_Lua
static bool StrCmp_Lua (
struct DataNode * pNode,
const char * propName,
const char * cmpTo
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/DataNode.c