SCPM interface
1.0
|
variable type for resource information More...
Public Attributes | |
std::string | resource_name |
string contain resource name More... | |
std::string | resource_type |
string contain resource type More... | |
bool | is_new |
resource new flag More... | |
bool | is_deleted |
resource new flag More... | |
bool | save |
resource to save flag More... | |
save_mode_t | save_mode |
defines save mode for the resource More... | |
std::vector< resource_group_t > | groups |
holds the names of the resource groups the resource belongs to More... | |
This struct holds the attributes of a modified resource.
resource_name |
Well, the resource name. Unique together with the resource_info_t::resource_type.
resource_type |
Contains the resource type. Unique toether with the resource_info_t::resource_name.
is_new |
This indicates that the given resource is new, that means it has been added while the profile was active. The intention of this flag is to give the user the possibility to decide, wheather the new resource should be added to the other profiles.
is_deleted |
This indicates that the given resource has been deleted, that means it is not present in the system anymore. This can be used to offer the user the possibility to wipe off old resources from the database.
save |
This flag has to be set to true by the frontend in case the resource should be saved for the profile to switch from.
save_mode |
With this flag one can change the way SCPM peforms the saving of this resource. See save_mode_t documentation for details.
groups |
In this vector the resource groups (can be multiple) the resource belongs to are saved.