NSAttributeDescription.inc 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. { Parsed from CoreData.framework NSAttributeDescription.h }
  2. {$ifdef TYPES}
  3. type
  4. NSAttributeDescriptionPtr = ^NSAttributeDescription;
  5. {$endif}
  6. {$ifdef TYPES}
  7. type
  8. NSAttributeType = NSUInteger;
  9. NSAttributeTypePtr = ^NSAttributeType;
  10. const
  11. NSUndefinedAttributeType = 0;
  12. NSInteger16AttributeType = 100;
  13. NSInteger32AttributeType = 200;
  14. NSInteger64AttributeType = 300;
  15. NSDecimalAttributeType = 400;
  16. NSDoubleAttributeType = 500;
  17. NSFloatAttributeType = 600;
  18. NSStringAttributeType = 700;
  19. NSBooleanAttributeType = 800;
  20. NSDateAttributeType = 900;
  21. NSBinaryDataAttributeType = 1000;
  22. NSTransformableAttributeType = 1800 { available in 10_5,3_0 };
  23. NSObjectIDAttributeType = 2000 { available in 10_6,3_0 };
  24. {$endif}
  25. {$ifdef CLASSES}
  26. type
  27. NSAttributeDescription = objcclass external (NSPropertyDescription)
  28. private
  29. _attributeValueClass: pobjc_class;
  30. _valueTransformerName: NSString;
  31. _type: NSAttributeType;
  32. _attributeValueClassName: NSString;
  33. __attributeDescriptionFlags: bitpacked record
  34. case byte of
  35. 0: (_anonBitField___attributeDescriptionFlags0: cuint);
  36. 1: (
  37. _hasMaxValueInExtraIvars: 0..1;
  38. _hasMinValueInExtraIvars: 0..1;
  39. _storeBinaryDataExternally: 0..1;
  40. _reservedAttributeDescription: 0..((1 shl 29)-1);
  41. );
  42. end;
  43. _defaultValue: id;
  44. public
  45. procedure setAttributeType(newValue: NSAttributeType); message 'setAttributeType:';
  46. function attributeType: NSAttributeType; message 'attributeType';
  47. procedure setAttributeValueClassName(newValue: NSString); message 'setAttributeValueClassName:';
  48. function attributeValueClassName: NSString; message 'attributeValueClassName';
  49. procedure setDefaultValue(newValue: id); message 'setDefaultValue:';
  50. function defaultValue: id; message 'defaultValue';
  51. function versionHash: NSData; message 'versionHash';
  52. procedure setValueTransformerName(newValue: NSString); message 'setValueTransformerName:';
  53. function valueTransformerName: NSString; message 'valueTransformerName';
  54. procedure setAllowsExternalBinaryDataStorage(newValue: ObjCBOOL); message 'setAllowsExternalBinaryDataStorage:';
  55. function allowsExternalBinaryDataStorage: ObjCBOOL; message 'allowsExternalBinaryDataStorage';
  56. end;
  57. {$endif}