summaryrefslogtreecommitdiff
path: root/ACE/ace/ARGV.h
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-30 20:56:47 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-30 20:56:47 +0000
commit752f19672298fcd5f08fcff9cbaededbd0eceb7f (patch)
tree4c25f6d33f51c541e83b00d6d514d23806ecfcc8 /ACE/ace/ARGV.h
parent911e54615b0f90d967d6f2ed0da1d1d13f48c0b1 (diff)
downloadATCD-752f19672298fcd5f08fcff9cbaededbd0eceb7f.tar.gz
ChangeLogTag: Sun Mar 30 19:54:23 UTC 2008 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'ACE/ace/ARGV.h')
-rw-r--r--ACE/ace/ARGV.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ACE/ace/ARGV.h b/ACE/ace/ARGV.h
index a50535f1dea..b190c71c800 100644
--- a/ACE/ace/ARGV.h
+++ b/ACE/ace/ARGV.h
@@ -116,6 +116,33 @@ public:
/**
* Initializes the argument vector from a set of arguments. Any environment
* variable references are translated (if applicable) during execution of
+ * this method. In contrast with ACE_ARGV_T(CHAR_TYPE *[], bool, bool), this
+ * ctor does not require argv to be 0-terminated as the number of arguments
+ * is provided explicitely.
+ *
+ * @param argc The number of arguments in the argv array.
+ *
+ * @param argv An array of tokens to initialize the object with. All needed
+ * data is copied from @a argv during this call; the pointers
+ * in @a argv are not needed after this call, and the memory
+ * referred to by @a argv is not referenced by this object.
+ *
+ * @param substitute_env_args If non-zero, any element of @a argv that is
+ * an environment variable reference (e.g., @c $VAR) will have
+ * its environment variable value in the resultant vector
+ * in place of the environment variable name.
+ *
+ * @param quote_args If non-zero each argument @a argv[i] needs to
+ * be enclosed in double quotes ('"').
+ */
+ explicit ACE_ARGV_T (int argc,
+ CHAR_TYPE *argv[],
+ bool substitute_env_args = true,
+ bool quote_args = false);
+
+ /**
+ * Initializes the argument vector from a set of arguments. Any environment
+ * variable references are translated (if applicable) during execution of
* this method.
*
* @param argv An array of tokens to initialize the object with. The