lasso
AssocPairSide.hpp
Go to the documentation of this file.
00001 #ifndef ASSOCPAIRSIDE_HPP
00002 #define ASSOCPAIRSIDE_HPP
00003 
00004 #include <iBase.h>
00005 #include <iRel.h>
00006 
00007 class AssocPairSide
00008 {
00009 public:
00010   virtual ~AssocPairSide();
00011   virtual iBase_Instance instance() const = 0;
00012   virtual iRel_IfaceType type() const = 0;
00013 
00014   virtual int create_relation_side() = 0;
00015   virtual int destroy_relation_side() = 0;
00016 
00017   virtual int get_all_entities(int dimension, iBase_EntityHandle **entities,
00018                                int *entities_alloc, int *entities_size) = 0;
00019 
00020   virtual int get_all_sets(iBase_EntitySetHandle **sets,
00021                            int *sets_alloc, int *sets_size) = 0;
00022 
00023   virtual int get_entities(int dimension, iBase_EntitySetHandle set_handle,
00024                            iBase_EntityHandle **entities,
00025                            int *entities_allocated, int *entities_size) = 0;
00026 
00027   virtual int get_ents_dims(iBase_EntityHandle *entities, int entities_size,
00028                             int **ent_types, int *ent_types_alloc,
00029                             int *ent_types_size) = 0;
00030 
00031   virtual int get_related_ents(iBase_EntityHandle **entities,
00032                                int *entities_alloc, int *entities_size) = 0;
00033   virtual int get_related_sets(iBase_EntitySetHandle **sets, int *sets_alloc,
00034                                int *sets_size) = 0;
00035 
00036   virtual int get_relation_side(iBase_EntityHandle *entities, int num_entities,
00037                                 void *values) = 0;
00038   virtual int get_relation_side(iBase_EntitySetHandle *sets, int num_sets,
00039                                 void *values) = 0;
00040 
00041   virtual int set_relation_side(iBase_EntityHandle *entities, int num_entities,
00042                                 const void *values) = 0;
00043   virtual int set_relation_side(iBase_EntitySetHandle *sets, int num_sets,
00044                                 const void *values) = 0;
00045 
00046   virtual int rmv_relation_side(iBase_EntityHandle *entities,
00047                                 int num_entities) = 0;
00048   virtual int rmv_relation_side(iBase_EntitySetHandle *sets, int num_sets) = 0;
00049 
00050   virtual int get_iterator(iBase_EntitySetHandle set,
00051                            iBase_EntityIterator *iter) = 0;
00052 
00053   virtual int get_gids(iBase_EntityHandle *entities, int num_entities,
00054                        int *values) = 0;
00055   virtual int get_gids(iBase_EntitySetHandle *sets, int num_sets,
00056                        int *values) = 0;
00057 
00058   virtual int get_dims(iBase_EntityHandle *entities, int num_entities,
00059                        int *values) = 0;
00060   virtual int get_dims(iBase_EntitySetHandle *sets, int num_sets,
00061                        int *values) = 0;
00062 };
00063 
00064 inline
00065 AssocPairSide::~AssocPairSide()
00066 {
00067   // Nothing to do
00068 }
00069 
00070 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines