MOAB: Mesh Oriented datABase  (version 5.2.1)
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, int* entities_alloc,
00018                                   int* entities_size ) = 0;
00019 
00020     virtual int get_all_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size ) = 0;
00021 
00022     virtual int get_entities( int dimension, iBase_EntitySetHandle set_handle, iBase_EntityHandle** entities,
00023                               int* entities_allocated, int* entities_size ) = 0;
00024 
00025     virtual int get_ents_dims( iBase_EntityHandle* entities, int entities_size, int** ent_types, int* ent_types_alloc,
00026                                int* ent_types_size ) = 0;
00027 
00028     virtual int get_related_ents( iBase_EntityHandle** entities, int* entities_alloc, int* entities_size ) = 0;
00029     virtual int get_related_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size )          = 0;
00030 
00031     virtual int get_relation_side( iBase_EntityHandle* entities, int num_entities, void* values ) = 0;
00032     virtual int get_relation_side( iBase_EntitySetHandle* sets, int num_sets, void* values )      = 0;
00033 
00034     virtual int set_relation_side( iBase_EntityHandle* entities, int num_entities, const void* values ) = 0;
00035     virtual int set_relation_side( iBase_EntitySetHandle* sets, int num_sets, const void* values )      = 0;
00036 
00037     virtual int rmv_relation_side( iBase_EntityHandle* entities, int num_entities ) = 0;
00038     virtual int rmv_relation_side( iBase_EntitySetHandle* sets, int num_sets )      = 0;
00039 
00040     virtual int get_iterator( iBase_EntitySetHandle set, iBase_EntityIterator* iter ) = 0;
00041 
00042     virtual int get_gids( iBase_EntityHandle* entities, int num_entities, int* values ) = 0;
00043     virtual int get_gids( iBase_EntitySetHandle* sets, int num_sets, int* values )      = 0;
00044 
00045     virtual int get_dims( iBase_EntityHandle* entities, int num_entities, int* values ) = 0;
00046     virtual int get_dims( iBase_EntitySetHandle* sets, int num_sets, int* values )      = 0;
00047 };
00048 
00049 inline AssocPairSide::~AssocPairSide()
00050 {
00051     // Nothing to do
00052 }
00053 
00054 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines