ACE_ARGV_Queue_Entry_T< CHAR_TYPE > Class Template Reference

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

#include <ARGV.h>

Collaboration diagram for ACE_ARGV_Queue_Entry_T< CHAR_TYPE >:

Collaboration graph
[legend]
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_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( void   ) 

Initialize a ACE_ARGV_Queue_Entry_T.

Definition at line 10 of file ARGV.inl.

00011   : arg_(0),
00012     quote_arg_(false)
00013 {
00014   // No-op
00015 }

template<typename CHAR_TYPE>
ACE_INLINE ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( const CHAR_TYPE *  arg,
bool  quote_arg 
)

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.

00020   : arg_(arg),
00021     quote_arg_(quote_arg)
00022 {
00023   // No-op
00024 }

template<typename CHAR_TYPE>
ACE_INLINE ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::ACE_ARGV_Queue_Entry_T ( const ACE_ARGV_Queue_Entry_T< CHAR_TYPE > &  entry  ) 

Initialize a ACE_ARGV_Queue_Entry_T.

Parameters:
entry Pointer to a queue entry

Definition at line 27 of file ARGV.inl.

00028   : arg_(entry.arg_),
00029     quote_arg_(entry.quote_arg_)
00030 {
00031   // No-op
00032 }

template<typename CHAR_TYPE>
ACE_INLINE ACE_ARGV_Queue_Entry_T< CHAR_TYPE >::~ACE_ARGV_Queue_Entry_T ( void   ) 

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.

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


Member Function Documentation

template<typename CHAR_TYPE>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL 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.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TEXT, ACE_TRACE, and LM_DEBUG.

00026 {
00027 #if defined (ACE_HAS_DUMP)
00028   ACE_TRACE ("ACE_ARGV_Queue_Entry_T::dump");
00029 
00030   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00031   ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("arg_ = %s"), this->arg_));
00032   ACE_DEBUG ((LM_DEBUG,  ACE_TEXT ("quote_arg_ = %d"), (int)this->quote_arg_));
00033   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00034 #endif /* ACE_HAS_DUMP */
00035 }


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.

Referenced by ACE_ARGV_T< CHAR_TYPE >::create_buf_from_queue().

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.

Referenced by ACE_ARGV_T< CHAR_TYPE >::create_buf_from_queue().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:34:54 2010 for ACE by  doxygen 1.4.7