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