[quote user="Paul Connelly"]Build an IElementSet by implementing the interface on some collection of element(s)[/quote]
Something like this?
struct MyCollection : IElementSet { size_t index; bvector<MyClassInheritsFromElementHandle> data; MyCollection () : index (0) {} virtual bool GetFirst (ElementHandleR eh) override { index= 0; eh = data [index]; } virtual bool GetNext (ElementHandleR eh) override { eh = data [++index]; } };