#include "structures.h"
#include "properties.h"
#include "classes.h"
#include "utils/list.h"
#include "utils/check_func.h"
#include "ss_func.h"
#include "kpi_low.h"
Go to the source code of this file.
Functions | |
int | ss_set_property_for_individual (individual_t *ind, char *propname, void *data) |
Sets property for individual in SS and localy by name. | |
int | ss_set_property_for_class (class_t *ind, char *propname, void *data) |
Sets property for class in SS and localy by name. |
Vanag Pavel <vanag@cs.karelia.ru>
SmartSlog KP Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SmartSlog KP Library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
int ss_set_property_for_class | ( | class_t * | ind, | |
char * | propname, | |||
void * | data | |||
) |
Sets property for class in SS and localy by name.
Checks class correctness: cardinality, property values limitation and sets property for entity in SS and localy. Function sets global PetrSU KP Library's errno.
[in] | individual_t | *ind. Pointer to the individual struct. |
[in] | char | *propname. Pointer to the char array with name. |
[in] | void | *data. Pointer to the value. |
int ss_set_property_for_individual | ( | individual_t * | ind, | |
char * | propname, | |||
void * | data | |||
) |
Sets property for individual in SS and localy by name.
Checks individual correctness: cardinality, property values limitation and sets property for entity in SS and localy. Function sets global PetrSU KP Library's errno.
[in] | individual_t | *ind. Pointer to the individual struct. |
[in] | char | *propname. Pointer to the char array with name. |
[in] | void | *data. Pointer to the value. |