This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
forked from rentzsch/mogenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mogenerator.h
61 lines (51 loc) · 1.78 KB
/
mogenerator.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*******************************************************************************
mogenerator.h - <http://github.com/rentzsch/mogenerator>
Copyright (c) 2006-2010 Jonathan 'Wolf' Rentzsch: <http://rentzsch.com>
Some rights reserved: <http://opensource.org/licenses/mit-license.php>
***************************************************************************/
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "MiscMergeTemplate.h"
#import "MiscMergeCommandBlock.h"
#import "MiscMergeEngine.h"
#import "FoundationAdditions.h"
#import "nsenumerate.h"
#import "NSString+MiscAdditions.h"
#import "DDCommandLineInterface.h"
@interface NSManagedObjectModel (entitiesWithACustomSubclassVerbose)
- (NSArray*)entitiesWithACustomSubclassVerbose:(BOOL)verbose_;
@end
@interface NSEntityDescription (customBaseClass)
- (BOOL)hasCustomSuperentity;
- (NSString*)customSuperentity;
- (void)_processPredicate:(NSPredicate*)predicate_ bindings:(NSMutableArray*)bindings_;
- (NSArray*)prettyFetchRequests;
@end
@interface NSAttributeDescription (scalarAttributeType)
- (BOOL)hasScalarAttributeType;
- (NSString*)scalarAttributeType;
- (BOOL)hasDefinedAttributeType;
- (NSString*)objectAttributeType;
- (BOOL)hasTransformableAttributeType;
@end
@interface NSString (camelCaseString)
- (NSString*)camelCaseString;
@end
@interface MOGeneratorApp : NSObject <DDCliApplicationDelegate> {
NSString *origModelBasePath;
NSString *tempMOMPath;
NSManagedObjectModel *model;
NSString *baseClass;
NSString *includem;
NSString *templatePath;
NSString *outputDir;
NSString *machineDir;
NSString *humanDir;
NSString *templateGroup;
BOOL _help;
BOOL _version;
BOOL _listSourceFiles;
BOOL _orphaned;
}
- (NSString*)appSupportFileNamed:(NSString*)fileName_;
@end