All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Modules Pages
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
32- (nullable NCElevationGraph *)getElevationGraph:(nonnull NSString *)tag;
33
38- (nonnull NSArray<NSString *> *)getGraphTags;
39
45- (nullable NCSublocation *)getSublocationById:(int32_t)id;
46
52- (nullable NCCategory *)getCategoryById:(int32_t)id;
53
57@property (nonatomic, readonly) int32_t id;
58
62@property (nonatomic, readonly) int32_t version;
63
67@property (nonatomic, nonnull, readonly) NSString * name;
68
72@property (nonatomic, nonnull, readonly) NSString * descript;
73
77@property (nonatomic, nonnull, readonly) NSArray<NCCategory *> * categories;
78
82@property (nonatomic, nonnull, readonly) NSArray<NCSublocation *> * sublocations;
83
87@property (nonatomic, readonly) BOOL modified;
88
89@end