Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.DataStructureV3.Entities.Resources Class Reference

The collection of resources in the fuel dataset More...

Inheritance diagram for Greet.DataStructureV3.Entities.Resources:

Public Types

enum  PhysicalState { liquid, solid, gaseous, energy }
 
enum  UsagePurpose { stationary, transportation, intermediate }
 

Public Member Functions

void AddValue (IResource value)
 
IResource CreateValue (IData data, int type=0)
 
bool DeleteValue (IData data, int key)
 
List< string > GetCurrentMembers (Group g)
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 
bool KeyExists (int key)
 
ResourceData MaterialByName (string name_looked)
 
bool ReadDB (GData data, XmlNode resourcesNodes)
 Reads the XML file and create the data objects More...
 
XmlNode ToXmlNode (XmlDocument xmlDoc)
 Put the data objects in an XML file More...
 
void UpdateFrequencies (Processes processes)
 
IResource ValueForKey (int key)
 

Public Attributes

bool fullyLoaded = false
 
bool loaded = false
 

Properties

IEnumerable< IResourceAllValues [get]
 
Dictionary< int, GroupGroups [get, set]
 
int MaxGroupId [get, set]
 

Detailed Description

The collection of resources in the fuel dataset

Member Function Documentation

bool Greet.DataStructureV3.Entities.Resources.ReadDB ( GData  data,
XmlNode  resourcesNodes 
)

Reads the XML file and create the data objects

Parameters
filename
Returns
XmlNode Greet.DataStructureV3.Entities.Resources.ToXmlNode ( XmlDocument  xmlDoc)

Put the data objects in an XML file

Parameters
fileInfothe fileinfo to write the data
Returns

The documentation for this class was generated from the following file: