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
41- (nullable NCElevationGraph *)getElevationGraph:(nonnull NSString *)tag;
42
56- (nonnull NSArray<NSString *> *)getGraphTags;
57
72- (nullable NCSublocation *)getSublocationById:(int32_t)id;
73
88- (nullable NCCategory *)getCategoryById:(int32_t)id;
89
102@property (nonatomic, readonly) int32_t id;
103
116@property (nonatomic, readonly) int32_t version;
117
130@property (nonatomic, nonnull, readonly) NSString * name;
131
144@property (nonatomic, nonnull, readonly) NSString * descript;
145
158@property (nonatomic, nonnull, readonly) NSArray<NCCategory *> * categories;
159
172@property (nonatomic, nonnull, readonly) NSArray<NCSublocation *> * sublocations;
173
186@property (nonatomic, readonly) BOOL modified;
187
188@end