Argv_Type_Converter.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Argv_Type_Converter.inl,v 1.4 2005/10/28 16:14:51 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE ACE_TCHAR**
00008 ACE_Argv_Type_Converter::get_TCHAR_argv (void)
00009 {
00010 #if defined (ACE_USES_WCHAR)
00011   if (this->char_passed_)
00012     {
00013       this->align_wchar_with_char ();
00014     }
00015 
00016   this->wchar_passed_ = true;
00017   return this->wchar_argv_;
00018 #else
00019   return this->char_argv_;
00020 #endif  // ACE_USES_WCHAR
00021 }
00022 
00023 ACE_INLINE char**
00024 ACE_Argv_Type_Converter::get_ASCII_argv (void)
00025 {
00026 #if defined (ACE_USES_WCHAR)
00027   if (this->wchar_passed_)
00028     {
00029       this->align_char_with_wchar ();
00030     }
00031 
00032   this->char_passed_ = 1;
00033 #endif  // ACE_USES_WCHAR
00034 
00035   return this->char_argv_;
00036 }
00037 
00038 ACE_INLINE int&
00039 ACE_Argv_Type_Converter::get_argc (void)
00040 {
00041   return this->saved_argc_;
00042 }
00043 
00044 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:41:45 2006 for ACE by doxygen 1.3.6