ss_populate.h File Reference

Contains describtion of functions for work with populations from SS. More...

#include "kpi_interface.h"
#include "ss_func.h"
#include "utils/list.h"

Go to the source code of this file.

Functions

int ss_populate (individual_t *individual)
 Populate if given individual from SS.
int ss_populate_by_pattern (individual_t *individual, individual_t *pattern)
 Populate if given individual from SS by pattern.


Detailed Description

Contains describtion of functions for work with populations from SS.

Vanag Pavel <vanag@cs.karelia.ru>

Date:
05 April, 2010
Version:
0.2alpha

LICENSE

SmartSlog KP Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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

DESCRIPTION

Contains describtion of functions for work with populations from SS. This file is part of PetrSU KP library.

Function Documentation

int ss_populate ( individual_t individual  ) 

Populate if given individual from SS.

Tries to find individual by given individual data (uuid, properties) and populate it. Function sets global PetrSU KP Library's errno.

Parameters:
[in] individual_t * individual. Pointer to the individual struct.
Returns:
int. Status of the operation when completed (0 if successfull, otherwise -1).

int ss_populate_by_pattern ( individual_t individual,
individual_t pattern 
)

Populate if given individual from SS by pattern.

Tries to find individual by given individual data (uuid, properties) by pattern and populate it. Function sets global PetrSU KP Library's errno.

Parameters:
[in] individual_t * individual. Pointer to the individual struct.
Returns:
int. Status of the operation when completed (0 if successfull, otherwise -1).


doxygen