Public Member Functions | Public Attributes

ACE_ARGV_Queue_Entry_T< CHAR_TYPE > Class Template Reference

An entry in the queue which keeps user supplied arguments. More...

#include <ARGV.h>

List of all members.

Public Member Functions

 ACE_ARGV_Queue_Entry_T (void)
 Initialize a ACE_ARGV_Queue_Entry_T.
 ACE_ARGV_Queue_Entry_T (const CHAR_TYPE *arg, bool quote_arg)
 ACE_ARGV_Queue_Entry_T (const ACE_ARGV_Queue_Entry_T< CHAR_TYPE > &entry)
 ~ACE_ARGV_Queue_Entry_T (void)
void dump (void) const
 Dump the state of this object.

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
const CHAR_TYPE * arg_
 Pointer to the argument.
bool quote_arg_
 The argument need to be quoted while adding to the vector.

Detailed Description

template<typename CHAR_TYPE>
class ACE_ARGV_Queue_Entry_T< CHAR_TYPE >

An entry in the queue which keeps user supplied arguments.

Definition at line 36 of file ARGV.h.


Constructor & Destructor Documentation

template<typename CHAR_TYPE >
ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( void   )  [inline]

Initialize a ACE_ARGV_Queue_Entry_T.

Definition at line 10 of file ARGV.inl.

  : arg_(0),
    quote_arg_(false)
{
  // No-op
}

template<typename CHAR_TYPE >
ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( const CHAR_TYPE *  arg,
bool  quote_arg 
) [inline]

Initialize a ACE_ARGV_Queue_Entry_T.

Parameters:
arg Pointer to an argument
quote_arg The argument arg need to be quoted while adding to the vector.

Definition at line 18 of file ARGV.inl.

  : arg_(arg),
    quote_arg_(quote_arg)
{
  // No-op
}

template<typename CHAR_TYPE >
ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( const ACE_ARGV_Queue_Entry_T< CHAR_TYPE > &  entry  )  [inline]

Initialize a ACE_ARGV_Queue_Entry_T.

Parameters:
entry Pointer to a queue entry

Definition at line 27 of file ARGV.inl.

  : arg_(entry.arg_),
    quote_arg_(entry.quote_arg_)
{
  // No-op
}

template<typename CHAR_TYPE >
ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::~ACE_ARGV_Queue_Entry_T ( void   )  [inline]

We need this destructor to keep some compilers from complaining. It's just a no-op, however.

Definition at line 35 of file ARGV.inl.

{
  // No-op just to keep some compilers happy...
}


Member Function Documentation

template<typename CHAR_TYPE >
void ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::dump ( void   )  const

Dump the state of this object.

Definition at line 25 of file ARGV.cpp.

{
#if defined (ACE_HAS_DUMP)
  ACE_TRACE ("ACE_ARGV_Queue_Entry_T::dump");

  ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
  ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("arg_ = %s"), this->arg_));
  ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("quote_arg_ = %d"), (int)this->quote_arg_));
  ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
#endif /* ACE_HAS_DUMP */
}


Member Data Documentation

template<typename CHAR_TYPE>
ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ALLOC_HOOK_DECLARE

Definition at line 69 of file ARGV.h.

template<typename CHAR_TYPE>
const CHAR_TYPE* ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::arg_

Pointer to the argument.

Definition at line 72 of file ARGV.h.

template<typename CHAR_TYPE>
bool ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::quote_arg_

The argument need to be quoted while adding to the vector.

Definition at line 75 of file ARGV.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines