|
| TextRecord () |
|
virtual | ~TextRecord () |
|
void | init (TNF tnf, ByteVector type, ByteVector id, ByteVector payload) override |
|
void | setLanguage (std::string language, UTF utf=UTF_8) |
|
std::string | getLanguage () const |
|
void | setCleanPayload (std::string cleanPayload) |
|
std::string | getCleanPayload () const |
|
void | setUTF (UTF utf) |
|
UTF | getUTF () const |
|
void | updatePayload () |
|
| NdefRecord () |
|
virtual | ~NdefRecord () |
|
size_t | getEncodedSize () const |
|
ByteVector | encode (bool firstRecord, bool lastRecord) |
|
virtual void | init (TNF tnf, ByteVector type, ByteVector id, ByteVector payload) |
|
void | setTnf (TNF tnf) |
|
TNF | getTnf () const |
|
void | setType (ByteVector type) |
|
ByteVector & | getType () |
|
void | setPayload (ByteVector payload) |
|
ByteVector & | getPayload () |
|
void | setId (ByteVector id) |
|
ByteVector & | getId () |
|
void | serialize (boost::property_tree::ptree &parentNode) override |
| Serialize object to Xml Node.
|
|
void | unSerialize (boost::property_tree::ptree &node) override |
| UnSerialize object from a Xml Node.
|
|
std::string | getDefaultXmlNodeName () const override |
| Get the default Xml Node name for this object.
|
|
virtual | ~XmlSerializable ()=default |
|
virtual std::string | serialize () |
| Serialize object to Xml Node string.
|
|
virtual std::string | serializeWithHeaders () |
| Serialize object to Xml Node string, with xml headers.
|
|
virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| Serialize object to Xml Node.
|
|
virtual void | serializeToFile (const std::string &filename) |
| Serialize object to a Xml file.
|
|
virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| UnSerialize object from a Xml Node.
|
|
virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| UnSerialize object from a Xml Node string.
|
|
virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| UnSerialize object from a Xml node.
|
|
virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| UnSerialize object from a Xml node.
|
|
virtual void | unSerializeFromFile (const std::string &filename) |
| UnSerialize object from a Xml file.
|
|
virtual std::string | getDefaultXmlNodeName () const =0 |
| Get the default Xml Node name for this object.
|
|