void _ElementCellLayout_AssignFromXML( void* elementCellLayout, Stg_ComponentFactory *cf, void* data ){ ElementCellLayout* self = (ElementCellLayout*)elementCellLayout; Mesh* mesh; _CellLayout_AssignFromXML( self, cf, data ); mesh = Stg_ComponentFactory_ConstructByKey( cf, self->name, (Dictionary_Entry_Key)"Mesh", Mesh, True, data ) ; _ElementCellLayout_Init( self, mesh ); }
void _TriSingleCellLayout_AssignFromXML( void *triSingleCellLayout, Stg_ComponentFactory *cf, void* data ){ TriSingleCellLayout *self = (TriSingleCellLayout*)triSingleCellLayout; Dimension_Index dim = 0; _CellLayout_AssignFromXML( self, cf, data ); dim = Stg_ComponentFactory_GetRootDictUnsignedInt( cf, (Dictionary_Entry_Key)"dim", 0 ); assert( dim ); _TriSingleCellLayout_Init( (TriSingleCellLayout* )self, cf->rootDict, dim ); }