SCPM interface 1.0
Public Attributes

resource_info_t Struct Reference

variable type for resource information More...

List of all members.

Public Attributes

std::string resource_name
 string contain resource name
std::string resource_type
 string contain resource type
bool is_new
 resource new flag
bool is_deleted
 resource new flag
bool save
 resource to save flag
save_mode_t save_mode
 defines save mode for the resource
std::vector< resource_group_tgroups
 holds the names of the resource groups the resource belongs to

Detailed Description

This struct holds the attributes of a modified resource.


Member Data Documentation

Well, the resource name. Unique together with the resource_info_t::resource_type.

Contains the resource type. Unique toether with the resource_info_t::resource_name.

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.

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.

This flag has to be set to true by the frontend in case the resource should be saved for the profile to switch from.

With this flag one can change the way SCPM peforms the saving of this resource. See save_mode_t documentation for details.

In this vector the resource groups (can be multiple) the resource belongs to are saved.


The documentation for this struct was generated from the following files:

SCPM interface description - 2002,2003 SuSE Linux AG