/// //? Create collections of items. //@ robust module TDev.RT.Collections { //? Creates an empty User collection //@ [result].writesMutable export function create_user_collection(): Collection { return new Collection(User); } //? Creates an empty DateTime collection //@ [result].writesMutable export function create_date_time_collection(): Collection { return new Collection(DateTime); } //? Creates an empty Picture collection //@ [result].writesMutable export function create_picture_collection(): Collection { return new Collection(Picture); } //? Creates an empty Picture collection //@ [result].writesMutable export function create_sound_collection(): Collection { return new Collection(Sound); } //? Creates an empty Action collection //@ [result].writesMutable export function create_action_collection(): Collection { return new Collection(Action); } //? Creates an empty string collection //@ [result].writesMutable export function create_string_collection() : Collection { return new Collection("string"); } //? Creates an empty place collection //@ [result].writesMutable export function create_place_collection(): Collection { return new Collection(Place); } //? Creates an empty link collection //@ [result].writesMutable export function create_link_collection(): Collection { return new Collection(Link); } //? Creates an empty message collection //@ [result].writesMutable export function create_message_collection(): Collection { return new Collection(Message); } //? Creates an empty location collection //@ [result].writesMutable export function create_location_collection(): Collection { return new Collection(Location_); } //? Creates an empty number map //@ [result].writesMutable export function create_number_map() : NumberMap { return new NumberMap(); } //? Creates an empty string map (case and culture sensitive) //@ [result].writesMutable export function create_string_map() : StringMap { return new StringMap(); } //? Creates an empty number collection //@ [result].writesMutable export function create_number_collection(): Collection { return new Collection("number"); } }