TransferSharesConf describes the configuration of TransferShares. More...
#include <TransferShares.h>
Public Types | |
| enum | ShareType { USER, VO, GROUP, ROLE, NONE } |
Public Member Functions | |
| TransferSharesConf (const std::string &type, const std::map< std::string, int > &ref_shares) | |
| TransferSharesConf () | |
| void | set_share_type (const std::string &type) |
| void | set_reference_share (const std::string &RefShare, int Priority) |
| void | set_reference_shares (const std::map< std::string, int > &shares) |
| bool | is_configured (const std::string &ShareToCheck) |
| int | get_basic_priority (const std::string &ShareToCheck) |
| std::string | conf () const |
| std::string | extract_share_info (DTR_ptr DTRToExtract) |
TransferSharesConf describes the configuration of TransferShares.
It allows reference shares to be defined with certain priorities. An instance of this class is used when creating a TransferShares object.
The criterion for assigning a share to a DTR.
1.6.3