Differences From Artifact [54f69129e9]:
- File
src/OFXMLNode.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 2543) [annotate] [blame] [check-ins using]
To Artifact [59a112a637]:
- File src/OFXMLNode.h — part of check-in [cc3ad3ddd3] at 2017-11-18 18:50:50 on branch trunk — Documentation: Use @brief for all properties (user: js, size: 2585) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | /*! * @class OFXMLNode OFXMLNode.h ObjFW/OFXMLNode.h * * @brief A class which stores an XML element. */ @interface OFXMLNode: OFObject <OFCopying, OFSerialization> /*! | | | | | | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /*! * @class OFXMLNode OFXMLNode.h ObjFW/OFXMLNode.h * * @brief A class which stores an XML element. */ @interface OFXMLNode: OFObject <OFCopying, OFSerialization> /*! * @brief The contents of the node as a string value. * * For an @ref OFXMLElement, setting it removes all children and creates a * single child with the specified string value. */ @property (nonatomic, copy) OFString *stringValue; /*! * @brief The contents of the receiver as a decimal value. */ @property (readonly, nonatomic) intmax_t decimalValue; /*! * @brief The contents of the receiver as a hexadecimal value. */ @property (readonly, nonatomic) uintmax_t hexadecimalValue; /*! * @brief The contents of the receiver as a float value. */ @property (readonly, nonatomic) float floatValue; /*! * @brief The contents of the receiver as a double value. */ @property (readonly, nonatomic) double doubleValue; /*! * @brief A string representing the node as an XML string. */ @property (readonly, nonatomic) OFString *XMLString; - (instancetype)init OF_UNAVAILABLE; - (instancetype)initWithSerialization: (OFXMLElement *)element OF_UNAVAILABLE; /*! |
︙ | ︙ |