forked from rentzsch/mogenerator
/
mogenerator.h
52 lines (44 loc) · 1.52 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
/*******************************************************************************
mogenerator.h - <http://github.com/rentzsch/mogenerator>
Copyright (c) 2006-2009 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 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;
@end
@interface NSString (camelCaseString)
- (NSString*)camelCaseString;
@end
@interface MOGeneratorApp : NSObject <DDCliApplicationDelegate> {
NSString *tempMOMPath;
NSManagedObjectModel *model;
NSString *baseClass;
NSString *includem;
NSString *templatePath;
NSString *outputDir;
NSString *machineDir;
NSString *humanDir;
NSString *templateGroup;
BOOL _help;
BOOL _version;
}
- (NSString*)appSupportFileNamed:(NSString*)fileName_;
@end