#include <process.h>
Public Member Functions | |
| Process () | |
| ~Process () | |
| Process (string pid, string name, string cpu, string owner) | |
| string | getName () |
| void | setName (string name) |
| string | getPid () |
| void | setPid (string pid) |
| string | getCpu () |
| void | setCpu (string cpu) |
| string | getOwner () |
| void | setOwner (string owner) |
| bool | operator== (Process t) |
Private Attributes | |
| string | pid |
| string | name |
| string | cpu |
| string | owner |
| value |
| Process::Process | ( | ) |
| Process::~Process | ( | ) |
| Process::Process | ( | string | pid, | |
| string | name, | |||
| string | cpu, | |||
| string | owner | |||
| ) |
Parameterized constructor that initializes the data members with the values passed to it.
| string Process::getCpu | ( | ) |
| string Process::getName | ( | ) |
| string Process::getOwner | ( | ) |
| string Process::getPid | ( | ) |
| bool Process::operator== | ( | Process | t | ) |
Operator(==) overloaded
| void Process::setCpu | ( | string | cpu | ) |
| void Process::setName | ( | string | name | ) |
| void Process::setOwner | ( | string | owner | ) |
| void Process::setPid | ( | string | pid | ) |
string Process::cpu [private] |
string Process::name [private] |
string Process::owner [private] |
string Process::pid [private] |
1.4.7