Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

Command Line Info


Compounds

class  CCmdInfo
class  CCmdInfoArg
class  CCmdInfoData
class  CCmdInfoLabel
class  CCmdInfoLabelEnum

Detailed Description

This module permits to parse easily the command line of the application :
        int main(int argc, char *argv[ ])
We suppose that the command line is formated like standard GNU application. See http://www.gnu.org for more information about the command line formating.

The following line :

        -label1 param1_1 param1_2 -label2 param2_1 param2_2 -label3
can be represented like a list: Moreover the same label could be used several times:
        -label1 param1 -label1 param2
So the final representation is:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.