Differences From Artifact [ffe6f2a2b2]:
- File
src/OFXMLNode.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 2817) [annotate] [blame] [check-ins using]
To Artifact [a5851a48bd]:
- File
src/OFXMLNode.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 2823) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | */ @interface OFXMLNode: OFObject <OFCopying, OFSerialization> /*! * @brief Returns the contents of the receiver as a string value. * * @return A string with the string value */ | | | | 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 | */ @interface OFXMLNode: OFObject <OFCopying, OFSerialization> /*! * @brief Returns the contents of the receiver as a string value. * * @return A string with the string value */ - (OFString *)stringValue; /*! * @brief Sets the string value of the receiver to the specified string. * * For an @ref OFXMLElement, it removes all children and creates a single child * with the specified string value. * * @param stringValue The new string value for the node */ - (void)setStringValue: (OFString *)stringValue; /*! * @brief Returns the contents of the receiver as a decimal value. * * @return An integer with the decimal value */ - (intmax_t)decimalValue; |
︙ | ︙ | |||
71 72 73 74 75 76 77 | - (double)doubleValue; /*! * @brief Returns an OFString representing the OFXMLNode as an XML string. * * @return An OFString representing the OFXMLNode as an XML string */ | | | | | | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - (double)doubleValue; /*! * @brief Returns an OFString representing the OFXMLNode as an XML string. * * @return An OFString representing the OFXMLNode as an XML string */ - (OFString *)XMLString; /*! * @brief Returns an OFString representing the OFXMLNode as an XML string with * indentation. * * @param indentation The indentation for the XML string * @return An OFString representing the OFXMLNode as an XML string with * indentation */ - (OFString *)XMLStringWithIndentation: (unsigned int)indentation; /*! * @brief Returns an OFString representing the OFXMLNode as an XML string with * indentation for the specified level. * * @param indentation The indentation for the XML string * @param level The level of indentation * @return An OFString representing the OFXMLNode as an XML string with * indentation */ - (OFString *)XMLStringWithIndentation: (unsigned int)indentation level: (unsigned int)level; @end OF_ASSUME_NONNULL_END |