class TP_LAYOUT < $LAYOUT
****
Some default code for layout classes.


Flattened version is here

Ancestors
$LAYOUT $STR

Descendants
BUILTIN_LAYOUT ABSTRACT_LAYOUT IMMUTABLE_CLASS_LAYOUT EXTERNAL_LAYOUT
CLASS_LAYOUT



Public


Readable Attributes
attr str:STR;

Readonly Shareds
shared layouts:FSET{SAME};
**** Registry of all layouts of this type

Writable Shareds
shared layouts:FSET{SAME};
**** Registry of all layouts of this type

Features
create(tp:$TP):SAME
dependencies:FLIST{$LAYOUT}
**** By default, there are no dependencies
makestr:STR
sorted_fields(map:FMAP{IDENT,$TP}):LAYOUT_ARR
typedef(c:CGEN):STR
**** By default, no typedef needs to be emitted


Private

attr str:STR;
attr tp:$TP;
**** The type this layout is for
attr tp:$TP;
**** The type this layout is for