Loading...
Searching...
No Matches
NCLocation.h
Go to the documentation of this file.
1#import "NCCategory.h"
2#import "NCExport.h"
3#import <Foundation/Foundation.h>
5@class NCSublocation;
6
7
22DEFAULT_EXPORT_ATTRIBUTE
23@interface NCLocation : NSObject
24
42- (nullable NCElevationGraph *)getElevationGraph:(nonnull NSString *)tag;
43
58- (nonnull NSArray<NSString *> *)getGraphTags;
59
75- (nullable NCSublocation *)getSublocationById:(int32_t)id;
76
92- (nullable NCCategory *)getCategoryById:(int32_t)id;
93
107@property (nonatomic, readonly) int32_t id;
108
122@property (nonatomic, readonly) int32_t version;
123
137@property (nonatomic, nonnull, readonly) NSString * name;
138
152@property (nonatomic, nonnull, readonly) NSString * descript;
153
167@property (nonatomic, nonnull, readonly) NSArray<NCCategory *> * categories;
168
182@property (nonatomic, nonnull, readonly) NSArray<NCSublocation *> * sublocations;
183
197@property (nonatomic, readonly) BOOL modified;
198
199@end