Hi, all.

I'm wonder how to do this kind of documentation correctly. The language is
Objective-C and this is my case.

I have an interface that implements a standard protocol. The declaration is
like this:

@interface MyInterface : NSObject < NSCopying > {
}
@end

'NSCopying' has the 'copyWithZone:' selector and it is implemented in
'MyInterface' implementation:

@implementation MyInterface
- (id)copyWithZone:(NSZone *)zone
{
    // ... code removed for brevity
    return something;
}
@end

In Objective-C overridden selectors are not declared in the interface
declaration. So, what is the correct way to document the implementation of
'copyWithZone:'?  Since it is not declared in the 'interface' declaration it
is assumed by Doxygen to be a local selector. This is right. I don't want
local operations to show up in the documentation. But I do want some
overridden selectors to appear in the documentation. How could I accomplish
that?
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to