27 lines
399 B
C++
27 lines
399 B
C++
#ifndef DOMAIN_ADDRESSSPACE_H
|
|
#define DOMAIN_ADDRESSSPACE_H
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace domain {
|
|
|
|
class AddressSpace
|
|
{
|
|
std::string name;
|
|
long long start;
|
|
long long end;
|
|
|
|
public:
|
|
AddressSpace(std::string name, long long start, long long end);
|
|
|
|
std::string getName();
|
|
long long getStart();
|
|
long long getEnd();
|
|
};
|
|
|
|
} // namespace domain
|
|
|
|
#endif // DOMAIN_ADDRESSSPACE_H
|