MOAB: Mesh Oriented datABase  (version 5.4.1)
FBGeomAssocPairSide.hpp
Go to the documentation of this file.
00001 #ifndef FBGEOMASSOCPAIRSIDE_HPP
00002 #define FBGEOMASSOCPAIRSIDE_HPP
00003 
00004 #include "AssocPairSide.hpp"
00005 #include <FBiGeom.h>
00006 
00007 class FBGeomAssocPairSide : public AssocPairSide
00008 {
00009   public:
00010     FBGeomAssocPairSide( iRel_Instance relation, iBase_Instance instance, int id );
00011     virtual ~FBGeomAssocPairSide();
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,
00020                                   iBase_EntityHandle** entities,
00021                                   int* entities_alloc,
00022                                   int* entities_size );
00023 
00024     virtual int get_all_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size );
00025 
00026     virtual int get_entities( int dimension,
00027                               iBase_EntitySetHandle set_handle,
00028                               iBase_EntityHandle** entities,
00029                               int* entities_alloc,
00030                               int* entities_size );
00031 
00032     virtual int get_ents_dims( iBase_EntityHandle* entities,
00033                                int entities_size,
00034                                int** ent_types,
00035                                int* ent_types_alloc,
00036                                int* ent_types_size );
00037 
00038     virtual int get_related_ents( iBase_EntityHandle** entities, int* entities_alloc, int* entities_size );
00039     virtual int get_related_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size );
00040 
00041     virtual int get_relation_side( iBase_EntityHandle* entities, int num_entities, void* values );
00042     virtual int get_relation_side( iBase_EntitySetHandle* sets, int num_sets, void* values );
00043 
00044     virtual int set_relation_side( iBase_EntityHandle* entities, int num_entities, const void* values );
00045     virtual int set_relation_side( iBase_EntitySetHandle* sets, int num_sets, const void* values );
00046 
00047     virtual int rmv_relation_side( iBase_EntityHandle* entities, int num_entities );
00048     virtual int rmv_relation_side( iBase_EntitySetHandle* sets, int num_sets );
00049 
00050     virtual int get_iterator( iBase_EntitySetHandle set, iBase_EntityIterator* iter );
00051 
00052     virtual int get_gids( iBase_EntityHandle* entities, int num_entities, int* values );
00053     virtual int get_gids( iBase_EntitySetHandle* sets, int num_sets, int* values );
00054 
00055     virtual int get_dims( iBase_EntityHandle* entities, int num_entities, int* values );
00056     virtual int get_dims( iBase_EntitySetHandle* sets, int num_sets, int* values );
00057 
00058   private:
00059     iRel_Instance relation;
00060     FBiGeom_Instance instance_;
00061     int id;
00062 
00063     iBase_TagHandle relation_tag;
00064     iBase_TagHandle gid_tag;
00065 };
00066 
00067 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines