22OF_ASSUME_NONNULL_BEGIN
29OF_SUBCLASSING_RESTRICTED
32 uint8_t _size, _horizontalPrecision, _verticalPrecision;
33 uint32_t _latitude, _longitude, _altitude;
40@property (readonly, nonatomic) uint8_t
size;
55@property (readonly, nonatomic) uint32_t
latitude;
66@property (readonly, nonatomic) uint32_t
altitude;
68- (instancetype)initWithName: (
OFString *)name
71 TTL: (uint32_t)TTL OF_UNAVAILABLE;
92- (instancetype)initWithName: (
OFString *)name
95 horizontalPrecision: (uint8_t)horizontalPrecision
96 verticalPrecision: (uint8_t)verticalPrecision
97 latitude: (uint32_t)latitude
98 longitude: (uint32_t)longitude
99 altitude: (uint32_t)altitude
100 TTL: (uint32_t)TTL OF_DESIGNATED_INITIALIZER;
OFDNSRecordType
The type of a DNS resource record.
Definition OFDNSResourceRecord.h:44
OFDNSClass
The DNS class.
Definition OFDNSResourceRecord.h:34
A class representing a DNS resource record.
Definition OFDNSResourceRecord.h:82
A class representing an LOC DNS resource record.
Definition OFLOCDNSResourceRecord.h:31
uint32_t altitude
The altitude in centimeters from a base of 100000 meters below the GPS reference.
Definition OFLOCDNSResourceRecord.h:66
uint8_t verticalPrecision
The vertical precision in centimeters, encoded as per RFC 1876.
Definition OFLOCDNSResourceRecord.h:50
uint8_t horizontalPrecision
The horizontal precision in centimeters, encoded as per RFC 1876.
Definition OFLOCDNSResourceRecord.h:45
uint32_t latitude
The latitude in thousands of a second of an arc.
Definition OFLOCDNSResourceRecord.h:55
uint32_t longitude
The longitude in thousands of a second of an arc.
Definition OFLOCDNSResourceRecord.h:60
uint8_t size
The diameter in centimeters of a sphere enclosing the position, encoded as per RFC 1876.
Definition OFLOCDNSResourceRecord.h:40
A class for handling strings.
Definition OFString.h:143