The hp::DoFHandler class is woefully poorly documented. Add at least a little bit of information.

I assume you meant "which finite element of an FECollection...". Please replace the <i>..</i> by back tics or <code>...</code>