Ada Programming/Libraries/Container/Booch
Library containers
- Bags
- Collections
- Plain
- Ordered
- Dequeues
- Graphs
- Directed
- Undirected
- Lists
- Single
- Double
- Maps
- Queues
- Plain
- Ordered
- Rings
- Sets
- Stacks
- Trees
- AVL
- Binary
- Multiway
Library links
- Author
- Simon Wright
- Homepage
- http://booch95.sourceforge.net
- Tutorial
- http://booch95.sourceforge.net/case-study.html
- Project Info
- http://sourceforge.net/projects/booch95
- CVS Archive
- http://sourceforge.net/cvs/?group_id=135616
- Download
- http://sourceforge.net/project/showfiles.php?group_id=135616
Sample code
Read the project tutorial for full detail.
withAda.Calendar;withAda.Strings.Bounded;packageCarsispackagePlate_StringsisnewAda.Strings.Bounded.Generic_Bounded_Length (10);subtypePlate_StringisPlate_Strings.Bounded_String;packageModel_StringsisnewAda.Strings.Bounded.Generic_Bounded_Length (32);subtypeModel_StringisModel_Strings.Bounded_String;typeCarisrecordPlate : Plate_String; Model : Model_String; Registered : Ada.Calendar.Time;endrecord;endCars;
withBC.Containers.Collections.Bounded;withCars;packageMy_Fleet_CombinedisusetypeCars.Car;packageAbstract_Car_ContainersisnewBC.Containers (Cars.Car);packageAbstract_Car_CollectionsisnewAbstract_Car_Containers.Collections;packageFleetsisnewAbstract_Car_Collections.Bounded (Maximum_Size => 30); The_Fleet : Fleets.Collection;endMy_Fleet_Combined;