Inherits from Dictionary in order to store all the vehicles definitions from the database
More...
|
| Vehicles () |
| Empty constructor for the vehicles dictionary storing the vehicles from the datbase More...
|
|
void | AddValue (IVehicle value) |
|
IVehicle | CreateValue (IData data, int type=0) |
|
bool | DeleteValue (IData data, int key) |
|
bool | KeyExists (int key) |
|
bool | ReadDB (GData data, XmlNode vehiclesNode) |
| Reading the database in XML format to be loaded in the software, creates vehicles objects More...
|
|
XmlNode | ToXmlNode (XmlDocument xmlDoc) |
| Saves all the vehicles as an XML node that will be written in the data file More...
|
|
IVehicle | ValueForKey (int key) |
|
Inherits from Dictionary in order to store all the vehicles definitions from the database
Greet.DataStructureV3.Entities.Vehicles.Vehicles |
( |
| ) |
|
Empty constructor for the vehicles dictionary storing the vehicles from the datbase
bool Greet.DataStructureV3.Entities.Vehicles.ReadDB |
( |
GData |
data, |
|
|
XmlNode |
vehiclesNode |
|
) |
| |
Reading the database in XML format to be loaded in the software, creates vehicles objects
- Parameters
-
- Returns
XmlNode Greet.DataStructureV3.Entities.Vehicles.ToXmlNode |
( |
XmlDocument |
xmlDoc | ) |
|
Saves all the vehicles as an XML node that will be written in the data file
- Parameters
-
- Returns
bool Greet.DataStructureV3.Entities.Vehicles.fullyLoaded = false |
If we completed the database loading without incidents this flag is set to true
bool Greet.DataStructureV3.Entities.Vehicles.loaded = false |
If we started loading the database this flag is set to true
Parameter Greet.DataStructureV3.Entities.Vehicles.vehicleTechnologyLag |
Symbolize the average age of the vehicles on the road
The documentation for this class was generated from the following file:
- C:/Users/ddieffenthaler/Desktop/SVN/source/greet-dev/main/DataManagement/DataStructureV3/DataV3/Entities/Vehicle/Vehicles.cs