// Inherited from SMESH_IDSource interface
virtual SMESH::long_array* GetIDs();
+ /*!
+ * Returns types of elements it contains
+ * Inherited from SMESH_IDSource interface
+ */
+ virtual SMESH::array_of_ElementType* GetTypes();
+
// Internal C++ interface
int GetLocalID() const { return myLocalID; }
SMESH_Mesh_i* GetMeshServant() const { return myMeshServant; }
int myLocalID;
void changeLocalId(int localId) { myLocalID = localId; }
- friend void SMESH_Mesh_i::CheckGeomGroupModif();
+ friend class SMESH_Mesh_i;
};
// ======
CORBA::Long AddByPredicate( SMESH::Predicate_ptr thePredicate );
CORBA::Long RemoveByPredicate( SMESH::Predicate_ptr thePredicate );
+
+ CORBA::Long AddFrom( SMESH::SMESH_IDSource_ptr theSource );
};
// =========================