summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/coredata/NSPropertyMapping.inc
blob: 836214cced15b7287a634936517f4bc3b2a947f8 (plain)
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
62
63
64
65
66
67
68
69
70
71
{ Parsed from Coredata.framework NSPropertyMapping.h }

{$ifdef TYPES}
{$ifndef NSPROPERTYMAPPING_PAS_T}
{$define NSPROPERTYMAPPING_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSPROPERTYMAPPING_PAS_R}
{$define NSPROPERTYMAPPING_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSPROPERTYMAPPING_PAS_F}
{$define NSPROPERTYMAPPING_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPROPERTYMAPPING_PAS_S}
{$define NSPROPERTYMAPPING_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSPropertyMapping = objcclass;
  NSPropertyMappingPointer = ^NSPropertyMapping;
  NSPropertyMappingPtr = NSPropertyMappingPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSPROPERTYMAPPING_PAS_C}
{$define NSPROPERTYMAPPING_PAS_C}

{ NSPropertyMapping }
  NSPropertyMapping = objcclass external (NSObject)
  private
    _reserved: Pointer;
    _reserved1: Pointer;
    _propertyTransforms: NSArray;
    _name: NSString;
    _valueExpression: NSExpression;
    _userInfo: NSDictionary;
    __propertyMappingFlags: record
      case byte of
       0: (_anonbitfield_NSPropertyMapping0: cuint);
       1: (data: bitpacked record
        _isInUse: 0..1;
        _reservedPropertyMapping: 0..((1 shl 31)-1);
       end;
      );
      end;
    
  public
    function name: NSString; message 'name';
    procedure setName(name_: NSString); message 'setName:';
    function valueExpression: NSExpression; message 'valueExpression';
    procedure setValueExpression(expression: NSExpression); message 'setValueExpression:';
    function userInfo: NSDictionary; message 'userInfo';
    procedure setUserInfo(userInfo_: NSDictionary); message 'setUserInfo:';
  end;

{$endif}
{$endif}