Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Parsing.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2024
3** my_zappy
4** File description:
5** Parsing.hpp
6*/
7
8#pragma once
9
10#include <iostream>
11
12namespace Gui
13{
14 class Parsing {
15 public:
16 Parsing();
17 void help() const;
18 bool parse_args(int ac, char **av);
19 bool validate_args() const;
20 void print_args() const;
21
22 private:
23 std::string _port;
24 std::string _machine;
25 bool check_valid_port(const std::string &port);
26 };
27}
void print_args() const
Definition Parsing.cpp:46
void help() const
Definition Parsing.cpp:17
bool parse_args(int ac, char **av)
Definition Parsing.cpp:22
bool validate_args() const
Definition Parsing.cpp:38