1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef MESHASSOCPAIRSIDE_HPP
#define MESHASSOCPAIRSIDE_HPP

#include "AssocPairSide.hpp"
#include <iMesh.h>

class MeshAssocPairSide : public AssocPairSide
{
  public:
    MeshAssocPairSide( iRel_Instance relation, iBase_Instance instance, int id );
    virtual ~MeshAssocPairSide();

    virtual iBase_Instance instance() const;<--- Function in derived class<--- Function in derived class
    virtual iRel_IfaceType type() const;<--- Function in derived class<--- Function in derived class

    virtual int create_relation_side();<--- Function in derived class<--- Function in derived class
    virtual int destroy_relation_side();<--- Function in derived class<--- Function in derived class

    virtual int get_all_entities( int dimension,<--- Function in derived class<--- Function in derived class
                                  iBase_EntityHandle** entities,
                                  int* entities_alloc,
                                  int* entities_size );

    virtual int get_all_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size );<--- Function in derived class<--- Function in derived class

    virtual int get_entities( int dimension,<--- Function in derived class<--- Function in derived class
                              iBase_EntitySetHandle set_handle,
                              iBase_EntityHandle** entities,
                              int* entities_alloc,
                              int* entities_size );

    virtual int get_ents_dims( iBase_EntityHandle* entities,<--- Function in derived class<--- Function in derived class
                               int entities_size,
                               int** ent_types,
                               int* ent_types_alloc,
                               int* ent_types_size );

    virtual int get_related_ents( iBase_EntityHandle** entities, int* entities_alloc, int* entities_size );<--- Function in derived class<--- Function in derived class
    virtual int get_related_sets( iBase_EntitySetHandle** sets, int* sets_alloc, int* sets_size );<--- Function in derived class<--- Function in derived class

    virtual int get_relation_side( iBase_EntityHandle* entities, int num_entities, void* values );<--- Function in derived class<--- Function in derived class
    virtual int get_relation_side( iBase_EntitySetHandle* sets, int num_sets, void* values );<--- Function in derived class<--- Function in derived class

    virtual int set_relation_side( iBase_EntityHandle* entities, int num_entities, const void* values );<--- Function in derived class<--- Function in derived class
    virtual int set_relation_side( iBase_EntitySetHandle* sets, int num_sets, const void* values );<--- Function in derived class<--- Function in derived class

    virtual int rmv_relation_side( iBase_EntityHandle* entities, int num_entities );<--- Function in derived class<--- Function in derived class
    virtual int rmv_relation_side( iBase_EntitySetHandle* sets, int num_sets );<--- Function in derived class<--- Function in derived class

    virtual int get_iterator( iBase_EntitySetHandle set, iBase_EntityIterator* iter );<--- Function in derived class<--- Function in derived class

    virtual int get_gids( iBase_EntityHandle* entities, int num_entities, int* values );<--- Function in derived class<--- Function in derived class
    virtual int get_gids( iBase_EntitySetHandle* sets, int num_sets, int* values );<--- Function in derived class<--- Function in derived class

    virtual int get_dims( iBase_EntityHandle* entities, int num_entities, int* values );<--- Function in derived class<--- Function in derived class
    virtual int get_dims( iBase_EntitySetHandle* sets, int num_sets, int* values );<--- Function in derived class<--- Function in derived class

  private:
    iRel_Instance relation;
    iMesh_Instance instance_;
    int id;

    iBase_TagHandle relation_tag;
    iBase_TagHandle gid_tag;
    iBase_TagHandle dim_tag;
};

#endif