From 289b1a13968f6b6da1de86f7ae2f652bce570009 Mon Sep 17 00:00:00 2001 From: mes5k Date: Tue, 21 Sep 2004 00:09:50 +0000 Subject: [PATCH] added some comments --- include/tclap/CommandLine.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/include/tclap/CommandLine.h b/include/tclap/CommandLine.h index 1a2a8cc..51601a4 100644 --- a/include/tclap/CommandLine.h +++ b/include/tclap/CommandLine.h @@ -93,7 +93,18 @@ class CmdLine */ XorHandler _xorHandler; + /** + * A list of Args to be explicitly deleted when the destructor + * is called. At the moment, this only includes the three default + * Args. + */ std::list _argDeleteOnExitList; + + /** + * A list of Visitors to be explicitly deleted when the destructor + * is called. At the moment, these are the Vistors created for the + * default Args. + */ std::list _visitorDeleteOnExitList; /** @@ -165,7 +176,9 @@ class CmdLine const char delimiter = ' ', const std::string& version = "none" ); - ///Deletes any resources allocated by a CmdLine object + /** + * Deletes any resources allocated by a CmdLine object. + */ ~CmdLine(); /**