libCZI
Reading and Writing CZI documents made easy
Loading...
Searching...
No Matches
libCZI::IXmlNodeRw Class Reference

This interface combines read- and write-access for an XML-node. More...

#include <libCZI_Metadata.h>

Inheritance diagram for libCZI::IXmlNodeRw:
libCZI::IXmlNodeRead libCZI::IXmlNodeWrite

Additional Inherited Members

- Public Member Functions inherited from libCZI::IXmlNodeRead
virtual std::wstring Name () const =0
 
virtual bool TryGetAttribute (const wchar_t *attributeName, std::wstring *attribValue) const =0
 
virtual void EnumAttributes (const std::function< bool(const std::wstring &attribName, const std::wstring &attribValue)> &enumFunc) const =0
 
virtual bool TryGetValue (std::wstring *value) const =0
 
virtual std::shared_ptr< IXmlNodeReadGetChildNodeReadonly (const char *path)=0
 
virtual void EnumChildren (const std::function< bool(std::shared_ptr< IXmlNodeRead >)> &enumChildren)=0
 
bool TryGetValueAsDouble (double *p)
 
bool TryGetValueAsFloat (float *p)
 
bool TryGetValueAsInt32 (std::int32_t *p)
 
bool TryGetValueAsUInt32 (std::uint32_t *p)
 
bool TryGetValueAsInt64 (std::int64_t *p)
 
bool TryGetValueAsUInt64 (std::uint64_t *p)
 
bool TryGetValueAsBool (bool *p)
 
- Public Member Functions inherited from libCZI::IXmlNodeWrite
virtual std::shared_ptr< IXmlNodeRwGetOrCreateChildNode (const char *path)=0
 
virtual std::shared_ptr< IXmlNodeRwGetChildNode (const char *path)=0
 
virtual std::shared_ptr< IXmlNodeRwAppendChildNode (const char *name)=0
 
virtual void SetAttribute (const char *name, const char *value)=0
 
virtual void SetAttribute (const wchar_t *name, const wchar_t *value)=0
 
virtual void SetValue (const char *str)=0
 
virtual void SetValue (const wchar_t *str)=0
 
virtual void SetValueI32 (int value)=0
 
virtual void SetValueUI32 (unsigned int value)=0
 
virtual void SetValueDbl (double value)=0
 
virtual void SetValueFlt (float value)=0
 
virtual void SetValueBool (bool value)=0
 
virtual void SetValueI64 (long long value)=0
 
virtual void SetValueUI64 (unsigned long long value)=0
 
virtual void RemoveChildren ()=0
 Removes all children of this node.
 
virtual void RemoveAttributes ()=0
 Removes all attributes of this node.
 
virtual bool RemoveChild (const char *name)=0
 
virtual bool RemoveAttribute (const char *name)=0
 
void SetValue (const std::string &str)
 
void SetValue (const std::wstring &str)
 
std::shared_ptr< IXmlNodeRwGetOrCreateChildNode (const std::string &path)
 
std::shared_ptr< IXmlNodeRwGetChildNode (const std::string &path)
 

Detailed Description

This interface combines read- and write-access for an XML-node.


The documentation for this class was generated from the following file: