~ubuntu-branches/ubuntu/utopic/nordugrid-arc/utopic

« back to all changes in this revision

Viewing changes to src/hed/libs/common/OptionParser.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-05-01 20:51:02 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140501205102-icy9t3348uxobyx7
Tags: 4.1.0-1
* 4.1.0 Release
* Call dh_autoreconf to support ppc64le (Closes: #744639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
     */
107
107
    std::list<std::string> Parse(int argc, char **argv);
108
108
 
 
109
    /// Get command and arguments
 
110
    /**
 
111
     * Get the arguments as they were passed to the Parse method as a string
 
112
     * joined by spaces.
 
113
     * @return The command and all arguments joined by a spaces.
 
114
     * @since Added in 4.1.0.
 
115
     **/
 
116
    const std::string& GetCommandWithArguments() const { return origcmdwithargs; }
 
117
    
109
118
  private:
110
119
    std::string arguments;
111
120
    std::string summary;
112
121
    std::string description;
113
122
    std::list<OptionBase*> options;
 
123
    std::string origcmdwithargs;
114
124
  };
115
125
 
116
126
} // namespace Arc