X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FCommandLine.hpp;h=418ded6c68c9f8c51e07c62ddad3e20725684e42;hp=f24dfe42069cc260feed3056d06cc837ec57582d;hb=849f4a7977b5780eacae8fad7a078d05f4a615ee;hpb=b0eaa3f1fbf491fdc8a3044cf20754f14254338a diff --git a/src/CommandLine.hpp b/src/CommandLine.hpp index f24dfe4..418ded6 100644 --- a/src/CommandLine.hpp +++ b/src/CommandLine.hpp @@ -37,43 +37,43 @@ namespace suPHP { */ class CommandLine { private: - std::vector arguments; - + std::vector arguments; + public: - /** - * Constructer - */ - CommandLine(); - - /** - * Return number of arguments - */ - int count() const; + /** + * Constructer + */ + CommandLine(); + + /** + * Return number of arguments + */ + int count() const; - /** - * Returns (copy of) argument at at position - */ - std::string getArgument(int pos) const throw (OutOfRangeException); + /** + * Returns (copy of) argument at at position + */ + std::string getArgument(int pos) const throw (OutOfRangeException); - /** - * Set argument at position - */ - void setArgument(int pos, std::string arg); + /** + * Set argument at position + */ + void setArgument(int pos, std::string arg); - /** - * Add argument at the end of commandline - */ - void putArgument(std::string arg); - - /** - * Returns reference to string at index - */ - std::string& operator[](int index) throw (OutOfRangeException); + /** + * Add argument at the end of commandline + */ + void putArgument(std::string arg); + + /** + * Returns reference to string at index + */ + std::string& operator[](int index) throw (OutOfRangeException); - /** - * Returns number of elements - */ - int size() const; + /** + * Returns number of elements + */ + int size() const; }; };