summaryrefslogtreecommitdiff
path: root/ACE/ace/Get_Opt.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Get_Opt.inl')
-rw-r--r--ACE/ace/Get_Opt.inl43
1 files changed, 43 insertions, 0 deletions
diff --git a/ACE/ace/Get_Opt.inl b/ACE/ace/Get_Opt.inl
new file mode 100644
index 00000000000..cbe5f167e55
--- /dev/null
+++ b/ACE/ace/Get_Opt.inl
@@ -0,0 +1,43 @@
+// -*- C++ -*-
+//
+// $Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE bool
+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_END_VERSIONED_NAMESPACE_DECL