summaryrefslogtreecommitdiff
path: root/ace/Get_Opt.i
blob: aa90a3a803f5c3ace5c4a21c4af795b5f68998b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* -*- C++ -*- */
// $Id$

// Get_Opt.i

ACE_INLINE int 
ACE_Get_Opt::ACE_Get_Opt_Long_Option::operator < (const ACE_Get_Opt_Long_Option &rhs)
{
  return this->name_ < rhs.name_;
}

ACE_INLINE int
ACE_Get_Opt::argc (void) const 
{ 
  return this->argc_; 
}

ACE_INLINE ACE_TCHAR **
ACE_Get_Opt::argv (void) const 
{ 
  return this->argv_; 
}

ACE_INLINE ACE_TCHAR*
ACE_Get_Opt::opt_arg (void) const 
{ 
  return this->optarg; 
}

ACE_INLINE int
ACE_Get_Opt::opt_opt (void)
{
  return this->optopt_;
}

ACE_INLINE int &
ACE_Get_Opt::opt_ind (void)
{ 
  return this->optind; 
}

ACE_INLINE const ACE_TCHAR *
ACE_Get_Opt::optstring (void) const 
{ 
  return this->optstring_.c_str ();
}