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
#ifndef FBGEOMASSOCPAIRSIDE_HPP
#define FBGEOMASSOCPAIRSIDE_HPP

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

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

    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;
    FBiGeom_Instance instance_;
    int id;

    iBase_TagHandle relation_tag;
    iBase_TagHandle gid_tag;
};

#endif