Skip to content
Snippets Groups Projects
Commit a4a44e53 authored by Steven Murray's avatar Steven Murray
Browse files

Renamed member-variable tapePoolName of ArchivalRequest to storageClassName

parent 583e13d8
Branches
Tags
No related merge requests found
......@@ -16,21 +16,21 @@ cta::ArchivalRequest::~ArchivalRequest() throw() {
//------------------------------------------------------------------------------
// constructor
//------------------------------------------------------------------------------
cta::ArchivalRequest::ArchivalRequest(const std::string &tapePoolName,
cta::ArchivalRequest::ArchivalRequest(const std::string &storageClassName,
const uint64_t priority):
m_tapePoolName(tapePoolName),
m_storageClassName(storageClassName),
m_priority(priority) {
}
//------------------------------------------------------------------------------
// getTapePoolName
// getStorageClassName
//------------------------------------------------------------------------------
const std::string &cta::ArchivalRequest::getTapePoolName() const throw() {
return m_tapePoolName;
const std::string &cta::ArchivalRequest::getStorageClassName() const throw() {
return m_storageClassName;
}
//------------------------------------------------------------------------------
// getTapePoolName
// getPriority
//------------------------------------------------------------------------------
uint64_t cta::ArchivalRequest::getPriority() const throw() {
return m_priority;
......
......@@ -3,6 +3,7 @@
#include "cta/UserRequest.hpp"
#include <stdint.h>
#include <string>
namespace cta {
......@@ -25,17 +26,17 @@ public:
/**
* Constructor.
*
* @param tapePoolName The name of the destination tape pool.
* @param storageClassName The name of the storage class.
* @param priority The priority of the request.
*/
ArchivalRequest(const std::string &tapePoolName, const uint64_t priority);
ArchivalRequest(const std::string &storageClassName, const uint64_t priority);
/**
* Returns the name of the destination tape pool.
* Returns the name of the storage class.
*
* @return The name of the destination tape pool.
* @return The name of the storage class.
*/
const std::string &getTapePoolName() const throw();
const std::string &getStorageClassName() const throw();
/**
* Returns the priority of the request.
......@@ -47,9 +48,9 @@ public:
private:
/**
* The name of the destination tape pool.
* The name of the storage class.
*/
std::string m_tapePoolName;
std::string m_storageClassName;
/**
* The priority of the request.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment