-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommandes.hpp
More file actions
28 lines (23 loc) · 814 Bytes
/
commandes.hpp
File metadata and controls
28 lines (23 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef COMMANDES_H_INCLUDES
#define COMMANDES_H_INCLUDES
#include "commande.hpp"
#include <vector>
using namespace std;
class commandes{
vector <commande> liste;
public:
commandes(const char *);
commandes(unsigned int ,commande * );
void affiche(void);
int copy( unsigned int,const commande *);
int append(commande );
int erase(unsigned int);
void clear(void);
void reverse(void);
int execute_all(void);
int replace(unsigned int, unsigned int, commande);
friend commandes operator+ (commandes, commandes);
friend commandes operator+= (commandes, commandes);
commandes& operator= (const commandes&);
};
#endif