示例#1
0
SummaryBalance::SummaryBalance (const BlockModel& al)
  : Summary (al),
    description (al.frame ().description ()),
    file (al.name ("where", "")),
    precision (al.integer ("precision")),
    require_top (al.flag ("require_top")),
    input (al.name_sequence ("input")),
    output (al.name_sequence ("output")),
    content (al.name_sequence ("content")),
    fetch (input, output, content)
{ }
示例#2
0
ModelFramed::ModelFramed (const BlockModel& al)
  : ModelLogable (al.type_name ()),
    // Block is sometimes fed a temporary frame, thus the need for clone.
    my_frame (&(al.frame ().clone ()))
{ daisy_assert (my_frame.get ());  }