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

This class holds the other emissions of the process like the otherEmissions More...

Public Member Functions

 ProcessStaticEmissions (bool ensureDistinct)
 
 ProcessStaticEmissions (GData data, XmlNode node, bool ensureDistinct, string optionalParamPrefix)
 
bool ContainsKey (int index)
 
void CreateStaticEmission (GData data, int id)
 Creates a new Static emission with an amount of 0 and add it to the list of static emissions More...
 
void Remove (int idx)
 
void Remove (ProcessStaticEmission en)
 

Static Public Member Functions

static EmissionAmounts operator* (ProcessStaticEmissions e2, Parameter param)
 
static EmissionAmounts operator+ (EmissionAmounts e1, ProcessStaticEmissions e2)
 

Public Attributes

bool ensureDistinction = false
 This attribute is used to ensure that there is no repeatition of the same gas in the list of nodes. More...
 

Properties

int Count [get]
 
List< ProcessStaticEmissionStaticEmissions [get]
 

Detailed Description

This class holds the other emissions of the process like the otherEmissions

Constructor & Destructor Documentation

Greet.DataStructureV3.Entities.ProcessStaticEmissions.ProcessStaticEmissions ( bool  ensureDistinct)

Parameters
ensureDistinctThis attribute is used to ensure that there is no repeatition of the same gas in the list of nodes.
Greet.DataStructureV3.Entities.ProcessStaticEmissions.ProcessStaticEmissions ( GData  data,
XmlNode  node,
bool  ensureDistinct,
string  optionalParamPrefix 
)

Parameters
nodeThe xml node from which the emissions are needed to be calculated
ensureDistinctThis attribute is used to ensure that there is no repeatition of the same gas in the list of nodes.

Member Function Documentation

void Greet.DataStructureV3.Entities.ProcessStaticEmissions.CreateStaticEmission ( GData  data,
int  id 
)

Creates a new Static emission with an amount of 0 and add it to the list of static emissions

Can throw a ArgumentException in case the ID passed as an argument already exists in the list of static emissions

Parameters
dataThe database to which the parameters for that static emission are going to be registered
idThe ID for the gas to be created for the static emission

Member Data Documentation

bool Greet.DataStructureV3.Entities.ProcessStaticEmissions.ensureDistinction = false

This attribute is used to ensure that there is no repeatition of the same gas in the list of nodes.


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