52 case SCH_LINE_T:
return std::make_unique<SCH_LINE>();
53 case SCH_SHAPE_T:
return std::make_unique<SCH_SHAPE>();
54 case SCH_BITMAP_T:
return std::make_unique<SCH_BITMAP>();
56 case SCH_TEXT_T:
return std::make_unique<SCH_TEXT>();
57 case SCH_TABLE_T:
return std::make_unique<SCH_TABLE>();
59 case SCH_LABEL_T:
return std::make_unique<SCH_LABEL>();
63 case SCH_FIELD_T:
return std::make_unique<SCH_FIELD>( parentSchItem );
64 case SCH_GROUP_T:
return std::make_unique<SCH_GROUP>();
75 return std::make_unique<SCH_SHEET_PIN>(
static_cast<SCH_SHEET*
>( aContainer ) );
80 case SCH_SHEET_T:
return std::make_unique<SCH_SHEET>();
85 return std::make_unique<SCH_PIN>(
static_cast<LIB_SYMBOL*
>( aContainer ) );