ITK Function Reference

(V10000.1.0.60_20160308.00)
Data Structures | Macros | Typedefs | Functions
grm.h File Reference
#include <tccore/grm_errors.h>
#include <fclasses/tc_basic.h>
#include <stdarg.h>
#include <tccore/libtccore_exports.h>
#include <tccore/libtccore_undef.h>

Go to the source code of this file.

Data Structures

struct  GRM_list_relation_input_s
 
struct  GRM_relation_s
 

Macros

#define GRM_class_name_c   "ImanRelation"
 
#define GRM_relationtype_name_size_c   32
 

Typedefs

typedef struct
GRM_list_relation_input_s
GRM_list_relation_input_p_t
 
typedef struct
GRM_list_relation_input_s 
GRM_list_relation_input_t
 
typedef struct GRM_relation_sGRM_relation_p_t
 
typedef struct GRM_relation_s GRM_relation_t
 

Functions

TCCORE_API int GRM_ask_primary (tag_t relation, tag_t *primary_object)
 
TCCORE_API int GRM_ask_relation_type (tag_t relation, tag_t *relation_type)
 
TCCORE_API int GRM_ask_secondary (tag_t relation, tag_t *secondary_object)
 
TCCORE_API int GRM_ask_user_data (tag_t relation, tag_t *user_data)
 
TCCORE_API int GRM_create_relation (tag_t primary_object, tag_t secondary_object, tag_t relation_type, tag_t user_data, tag_t *relation)
 
TCCORE_API int GRM_create_relation_type (const char *relation_type_name, tag_t *relation_type)
 
TCCORE_API int GRM_delete_relation (tag_t relation)
 
TCCORE_API int GRM_delete_relation_type (tag_t relation_type)
 
TCCORE_API int GRM_find_relation (tag_t primary_object, tag_t secondary_object, tag_t relation_type, tag_t *relation)
 
TCCORE_API int GRM_find_relation_type (const char *relation_type_name, tag_t *relation_type)
 
TCCORE_API int GRM_list_all_related_objects (tag_t match_object, int *count, GRM_relation_t **related_object_list)
 
TCCORE_API int GRM_list_all_related_objects_only (tag_t match_object, int *count, tag_t **related_objects)
 
TCCORE_API int GRM_list_primary_objects (tag_t secondary_object, tag_t relation_type, int *count, GRM_relation_t **primary_list)
 
TCCORE_API int GRM_list_primary_objects_in_bulk (int input_count, const GRM_list_relation_input_t *inputs, int *count, GRM_relation_t **primary_list)
 
TCCORE_API int GRM_list_primary_objects_only (tag_t secondary_object, tag_t relation_type, int *count, tag_t **primary_objects)
 
TCCORE_API int GRM_list_primary_objects_with_primary_object_type_only (tag_t secondary_object, tag_t relation_type, const char *primary_type_name, int *count, tag_t **primary_objects)
 
TCCORE_API int GRM_list_relation_types (int *count, tag_t **relation_type_list)
 
TCCORE_API int GRM_list_relations (tag_t primary_object, tag_t secondary_object, tag_t relation_type, tag_t user_data, int *count, tag_t **relation_list)
 
TCCORE_API int GRM_list_secondary_objects (tag_t primary_object, tag_t relation_type, int *count, GRM_relation_t **secondary_list)
 
TCCORE_API int GRM_list_secondary_objects_in_bulk (int input_count, const GRM_list_relation_input_t *inputs, int *count, GRM_relation_t **secondary_list)
 
TCCORE_API int GRM_list_secondary_objects_only (tag_t primary_object, tag_t relation_type, int *count, tag_t **secondary_objects)
 
TCCORE_API int GRM_save_relation (tag_t relation)
 
TCCORE_API int GRM_set_user_data (tag_t relation, tag_t new_user_data)
 

Detailed Description

This header file declares all data types and constants to be used by clients of the GRM module

Definition in file grm.h.