Add a mean to get all components from a type or a child type.

signed-off-by: Snaipe franklinmathieu@gmail.com