ObjFW  Check-in [8c62d4520a]

Overview
Comment:OFIRI: Minor documentation improvement
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8c62d4520add8531916a221afde02be19527dceb1779f388ca5859fa41e4c6ef
User & Date: js on 2022-11-26 23:05:54
Other Links: manifest | tags
Context
2022-11-27
09:22
OFSystemInfo: Detect 3DNow! support check-in: 29565be707 user: js tags: trunk
2022-11-26
23:05
OFIRI: Minor documentation improvement check-in: 8c62d4520a user: js tags: trunk
01:29
OFIRI: Improve documentation check-in: 3e3b00eb93 user: js tags: trunk
Changes

Modified src/OFIRI.h from [dbc29e6a1a] to [3d78ef4d4f].

24
25
26
27
28
29
30
31
32


33
34
35
36
37
38
39
@class OFNumber;
@class OFPair OF_GENERIC(FirstType, SecondType);
@class OFString;

/**
 * @class OFIRI OFIRI.h ObjFW/OFIRI.h
 *
 * @brief A class for parsing Internationalized Resource Identifiers as per
 *	  RFC 3987 and accessing parts of it.


 */
@interface OFIRI: OFObject <OFCopying, OFMutableCopying, OFSerialization>
{
	OFString *_scheme;
	OFString *_Nullable _percentEncodedHost;
	OFNumber *_Nullable _port;
	OFString *_Nullable _percentEncodedUser;







|
|
>
>







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@class OFNumber;
@class OFPair OF_GENERIC(FirstType, SecondType);
@class OFString;

/**
 * @class OFIRI OFIRI.h ObjFW/OFIRI.h
 *
 * @brief A class for representing IRIs, URIs, URLs and URNs, for parsing them
 *	  as well as accessing parts of them.
 *
 * This class follows RFC 3976 and RFC 3987.
 */
@interface OFIRI: OFObject <OFCopying, OFMutableCopying, OFSerialization>
{
	OFString *_scheme;
	OFString *_Nullable _percentEncodedHost;
	OFNumber *_Nullable _port;
	OFString *_Nullable _percentEncodedUser;
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171

/**
 * @brief The IRI with relative subpaths resolved.
 */
@property (readonly, nonatomic) OFIRI *IRIByStandardizingPath;

/**
 * @brief The IRI with percent-encoding applied to all Unicode characters.
 */
@property (readonly, nonatomic)
    OFIRI *IRIByAddingPercentEncodingForUnicodeCharacters;

#ifdef OF_HAVE_FILES
/**
 * @brief The local file system representation for a file IRI.







|







159
160
161
162
163
164
165
166
167
168
169
170
171
172
173

/**
 * @brief The IRI with relative subpaths resolved.
 */
@property (readonly, nonatomic) OFIRI *IRIByStandardizingPath;

/**
 * @brief The IRI with percent-encoding added for all Unicode characters.
 */
@property (readonly, nonatomic)
    OFIRI *IRIByAddingPercentEncodingForUnicodeCharacters;

#ifdef OF_HAVE_FILES
/**
 * @brief The local file system representation for a file IRI.

Modified src/OFMutableIRI.h from [e6469ca335] to [ebf324f391].

16
17
18
19
20
21
22
23
24


25
26
27
28
29
30
31
#import "OFIRI.h"

OF_ASSUME_NONNULL_BEGIN

/**
 * @class OFMutableIRI OFMutableIRI.h ObjFW/OFMutableIRI.h
 *
 * @brief A class for parsing Internationalized Resource Identifiers as per
 *	  RFC 3987 and accessing and modifying parts of it.


 */
@interface OFMutableIRI: OFIRI
{
	OF_RESERVE_IVARS(OFMutableIRI, 4)
}

/**







|
|
>
>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#import "OFIRI.h"

OF_ASSUME_NONNULL_BEGIN

/**
 * @class OFMutableIRI OFMutableIRI.h ObjFW/OFMutableIRI.h
 *
 * @brief A class for representing IRIs, URIs, URLs and URNs, for parsing them,
 *	  accessing parts of them as well as modifying them.
 *
 * This class follows RFC 3976 and RFC 3987.
 */
@interface OFMutableIRI: OFIRI
{
	OF_RESERVE_IVARS(OFMutableIRI, 4)
}

/**