Molybden API
Loading...
Searching...
No Matches
command_line_args.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_COMMAND_LINE_ARGS_HPP
6#define MOLYBDEN_COMMAND_LINE_ARGS_HPP
7
8#include <vector>
9
10#include "molybden/base/string_types.hpp"
11
12namespace molybden {
13
19 public:
23 static const CommandLineArgs& get();
24
28 [[nodiscard]] virtual std::vector<StringViewType> list() const = 0;
29
30 virtual ~CommandLineArgs();
31};
32
33} // namespace molybden
34
35#endif // MOLYBDEN_COMMAND_LINE_ARGS_HPP
Allows accessing the copy of the original command line arguments of the current process.
Definition command_line_args.hpp:18
virtual std::vector< StringViewType > list() const =0
Returns the origin command line arguments of the current process.
static const CommandLineArgs & get()
Returns the only instance of the class.