summaryrefslogtreecommitdiff
path: root/indra/llxml/llxmlnode.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2024-05-14 14:22:46 -0500
committerGitHub <noreply@github.com>2024-05-14 14:22:46 -0500
commitd21f29b6439db5b954d630a4461fe77365cdb4b3 (patch)
tree50b128638c6ce451234ac71c734c3376ea1d6046 /indra/llxml/llxmlnode.h
parent799ebf21624edb8b42ca16b8cf51c138643efd32 (diff)
parent193d9d5f767c2bfad1dc5ced4fa630d05ae798ae (diff)
Merge branch 'project/gltf_development' into project/gltf_development
Diffstat (limited to 'indra/llxml/llxmlnode.h')
-rw-r--r--indra/llxml/llxmlnode.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/indra/llxml/llxmlnode.h b/indra/llxml/llxmlnode.h
index 32aee057ed..e09c89c543 100644
--- a/indra/llxml/llxmlnode.h
+++ b/indra/llxml/llxmlnode.h
@@ -121,7 +121,7 @@ public:
LLXMLNode(const char* name, bool is_attribute);
LLXMLNode(LLStringTableEntry* name, bool is_attribute);
LLXMLNode(const LLXMLNode& rhs);
- LLXMLNodePtr deepCopy();
+ LLXMLNodePtr deepCopy() const;
bool isNull();
@@ -135,11 +135,11 @@ public:
LLXMLNodePtr& node,
LLXMLNode* defaults_tree,
bool cacheable = false);
- static bool parseBuffer(
- const char* buffer,
- U32 length,
- LLXMLNodePtr& node,
- LLXMLNode* defaults);
+ static bool parseBuffer(
+ const char* buffer,
+ U32 length,
+ LLXMLNodePtr& node,
+ LLXMLNode* defaults);
static bool parseStream(
std::istream& str,
LLXMLNodePtr& node,
@@ -290,6 +290,10 @@ public:
protected:
bool removeChild(LLXMLNode* child);
+ static bool parseBuffer(
+ const char* buffer,
+ U32 length,
+ LLXMLNodePtr& node);
public:
std::string mID; // The ID attribute of this node