coptpsr.h

Go to the documentation of this file.
00001 
00015 #ifndef COPTPSR_H_INCLUDED
00016 #define COPTPSR_H_INCLUDED
00017 
00018 #include <Coconut/copt.h>
00019 #include <Coconut/clist.h>
00020 
00027 @interface COptPsr : NSObject 
00028 {
00030         CList *         opt_list ;
00032         CList *         arg_list ;
00034         NSString *      app_name ;
00035 
00037         COpt *          opt_help ;
00039         COpt *          opt_usage ;
00040 }
00041 
00048   - init ;
00049   
00055   - (void) dealloc ;
00056  
00065   - (NSString *) appName ;
00066 
00073   - (void) addOpt: (COpt *) opt ;
00074 
00080   - (void) addHelpOpt ;
00081 
00087   - (void) addUsageOpt ;
00088 
00095   - (uint_t) optNum ;
00096 
00107   - (BOOL) parse: (int) argc and: (const char **) argv 
00108     withErrorMessage: (BOOL) withmsg ;
00109 
00117   - (CList *) argList ;
00118 
00119 @end
00120 
00121 #endif /* COPTPSR_H_INCLUDED */
00122 

Generated on Mon Mar 20 18:48:15 2006 for Coconut by  doxygen 1.4.6