#include <Argv_Type_Converter.h>
Public Methods | |
| ACE_Argv_Type_Converter (int &argc, char **argv) | |
| ~ACE_Argv_Type_Converter (void) | |
| ACE_TCHAR ** | get_TCHAR_argv (void) |
| Returns the pointer of converted command line. More... | |
| char ** | get_ASCII_argv (void) |
| Returns the pointer of ASCII (char) command line. More... | |
| int & | get_argc (void) |
| Returns the number of sub paramters (argc). More... | |
Private Methods | |
| ACE_Argv_Type_Converter (const ACE_Argv_Type_Converter &) | |
| Copy Constructor should not be used. More... | |
| ACE_Argv_Type_Converter | operator= (const ACE_Argv_Type_Converter &) |
| Assignment '=' operator should not be used. More... | |
Private Attributes | |
| int & | saved_argc_ |
| Original number of input paramter, same as 'argc'. More... | |
| char ** | char_argv_ |
| Data member pointer that contains converted argv in ACE_ANTI_TCHAR. More... | |
This class is to convert 'char' type command line paramter to wide-character (wchar_t) format and stores the copy of it. This is useful for all classes that use 'char**' argv but cannot be converted into 'ACE_TCHAR**' version. Note that the converted data will be lost upon destruction, so classes should use this class as their data member.
|
||||||||||||
|
|
|
|
|
|
|
Copy Constructor should not be used.
|
|
|
Returns the number of sub paramters (argc).
|
|
|
Returns the pointer of ASCII (char) command line.
|
|
|
Returns the pointer of converted command line.
|
|
|
Assignment '=' operator should not be used.
|
|
|
Data member pointer that contains converted argv in ACE_ANTI_TCHAR.
|
|
|
Original number of input paramter, same as 'argc'.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001