CheckedModelWriter class abstract base

A writer whose files this package can also read, so a write can be checked by reading it back — what exportChecked does.

A subclass rather than a method every writer owes. USDZ has no reader here, and a readBack that threw for it would be a writer breaking the contract it was typed as; a writer that can be checked says so by what it extends.

Extended outside this package, and stays so through 1.x. A base class rather than an interface (decision 5 of tasks/1.0-api-review.md): a member added in a minor arrives with a default body, so a writer written against 1.0 keeps compiling. Write extends, on a final or base class.

Inheritance
Implementers

Constructors

CheckedModelWriter()
A checked writer; const so one can be a constant.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
What an agent, a command line or a request asks for: glb, obj, stlAscii. Stable, because it is typed by people and stored in scripts.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
says → String
One line for a menu, in the words a person recognises.
no setterinherited
suffix → String
The suffix of the first file, dot included.
no setterinherited
tolerance → double
How far a number may move on the way through: 0.0 for a binary format, the printed precision for a text one. The unit is that of the number compared.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBack(ModelWrite written) → Future<ModelDocument>
The document written reads back as.
toString() → String
A string representation of this object.
inherited
write(ModelWriteContext context) → ModelWrite
ModelWriteContext.document as files, named from ModelWriteContext.baseName.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited