make


function make<Type>() -> Type?

Make an object, with the type given as an argument.

- **Type**  The type.

Returns An optional with a value if successful, or no value if not successful.

The make will not succeed if the type is a class with initialization parameters, or a compound type that includes such a class.

function make<Type>(name:String) -> Type?

Make an object, with the class given as a string.

- **Type**  Base type, which may be Object.
- **name**  Name of the class.

Returns An optional with a value if successful, or no value if not successful.

The make will not succeed if the class has initialization parameters.

function make(buffer:Buffer) -> Object?

Make an object, with the class given in a buffer.

- **buffer**  The buffer.

Returns An optional with a value if successful, or no value if not successful.

If the buffer contains a key class, an object of that class is constructed. The buffer is then passed to the read() function of the new object.

The make will not succeed if the class has initialization parameters.

function make(t:Integer, buffer:Buffer) -> Object?

Make an object, with the class given in a buffer.

- **t**  Step number.
- **buffer**  The buffer.

Returns An optional with a value if successful, or no value if not successful.

If the buffer contains a key class, an object of that class is constructed. The buffer is then passed to the read() function of the new object.

The make will not succeed if the class has initialization parameters.

function make<Type>(buffer:Buffer) -> Type?

Make an object, with the class given in a buffer, otherwise by a generic type.

  • Type Class if not given in buffer.

  • buffer The buffer.

Returns An optional with a value if successful, or no value if not successful.

If the buffer contains a key class, an object of that class is constructed. Otherwise, an object of class Type is constructed, if possible. The buffer is then passed to the read() function of the new object.

The make will not succeed if the class has initialization parameters.

function make<Type>(t:Integer, buffer:Buffer) -> Type?

Make an object, with the class given in a buffer, otherwise by a generic type.

  • Type Class if not given in buffer.

  • t Step number.

  • buffer The buffer.

Returns An optional with a value if successful, or no value if not successful.

If the buffer contains a key class, an object of that class is constructed. Otherwise, an object of class Type is constructed, if possible. The buffer is then passed to the read() function of the new object.

The make will not succeed if the class has initialization parameters.