#include <Pt/Xml/ByteorderMark.h>
XML byte order mark.
Public Types | |
| enum | Encoding { Generic = 0, Unicode = 1 } |
| Text encoding type. More... | |
| enum | Endianess { None = 0, BigEndian = 1, LittleEndian = 2 } |
| Text encoding endianess. More... | |
Public Member Functions | |
| ByteorderMark () | |
| Default constructor. | |
| void | clear () |
| Clears all content. | |
| Encoding | encoding () const |
| Returns the type of encoding. | |
| Endianess | endianess () const |
| The endianess of the document encoding. | |
| void | setEncoding (Encoding e) |
| Sets the type of encoding. | |
| void | setEndianess (Endianess e) |
| Sets the endianess of the document encoding. | |
| void | setWidth (unsigned char w) |
| Sets word width of the encoding. | |
| int | width () const |
| Returns the word width of the encoding. | |
| enum Endianess |
| enum Encoding |