Overview
Comment: | Make OFCopying and OFComparing conform to OFObject. Also make OFMutableCopying conform to OFCopying. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b46a3eccdb1737da7a354849cb1a96d8 |
User & Date: | js on 2011-04-22 16:31:45 |
Other Links: | manifest | tags |
Context
2011-04-22
| ||
16:53 | Style improvements in OF(Mutable)Dictionary. check-in: da0d602dc8 user: js tags: trunk | |
16:31 |
Make OFCopying and OFComparing conform to OFObject. Also make OFMutableCopying conform to OFCopying. check-in: b46a3eccdb user: js tags: trunk | |
16:23 | Various style improvements. check-in: c7e66feb30 user: js tags: trunk | |
Changes
Modified src/OFObject.h from [1c3650ec63] to [9dc78efdb2].
︙ | ︙ | |||
412 413 414 415 416 417 418 | */ - (void)dealloc; @end /** * \brief A protocol for the creation of copies. */ | | | | | 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 | */ - (void)dealloc; @end /** * \brief A protocol for the creation of copies. */ @protocol OFCopying <OFObject> /** * \return A copy of the object */ - copy; @end /** * \brief A protocol for the creation of mutable copies. * * This protocol is implemented by objects that can be mutable and immutable * and allows returning a mutable copy. */ @protocol OFMutableCopying <OFCopying> /** * \return A mutable copy of the object */ - mutableCopy; @end /** * \brief A protocol for comparing objects. * * This protocol is implemented by objects that can be compared. */ @protocol OFComparing <OFObject> /** * Compares the object with another object. * * \param object An object to compare the object to * \return The result of the comparison */ - (of_comparison_result_t)compare: (id)object; |
︙ | ︙ |