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

CTBargv.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00013 
00014 
00015 //------------------------------------------+-----------------------------------
00017 
00018 inline int CTBargv::Argc() const
00019 {
00020   return mi_argc;
00021 }
00022 
00023 //------------------------------------------+-----------------------------------
00025 
00026 inline const char* CTBargv::Argv(int i_ind) const
00027 {
00028   return (i_ind >= 0 && i_ind < mi_argc) ? m_argv[i_ind].mc_arg : "";
00029 }
00030 
00031 //------------------------------------------+-----------------------------------
00033 
00034 inline const char* CTBargv::operator[](int i_ind) const
00035 {
00036   return Argv(i_ind);
00037 }
00038 
00039 //------------------------------------------+-----------------------------------
00045 inline ostream& operator<<(ostream& os, const CTBargv& av)
00046 {
00047   av.ToStream(os);
00048   return os;
00049 }

Generated at Fri Oct 24 18:11:27 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001