InscoperAPI/API/Shared/XML/XMLAttribute.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::XMLAttribute XMLAttribute class represents an attribute of an XML node. |
Source code¶
#ifndef XMLATTRIBUTE_H
#define XMLATTRIBUTE_H
#include <Global.h>
#include <string>
namespace Inscoper {
class INSCOPER_EXPORT XMLAttribute {
public:
XMLAttribute();
XMLAttribute(XMLAttribute const &node);
XMLAttribute(XMLAttribute &&node);
XMLAttribute &operator=(XMLAttribute const &node);
XMLAttribute &operator=(XMLAttribute &&node);
~XMLAttribute();
std::string asString();
int asInt();
unsigned int asUInt();
double asDouble();
float asFloat();
bool asBool();
long long asLLong();
unsigned long long asULLong();
unsigned short asUShort();
unsigned char asUChar();
char asChar();
bool isEmpty();
private:
class XMLAttributeImpl;
XMLAttributeImpl *pimpl;
friend class XMLNode;
};
} // namespace Inscoper
#endif // XMLATTRIBUTE_H
Updated on 2026-09-03 at 12:14:17 +0200