Greet 2014
Documentation for the GREET 2014 API
|
Object representing the collection of entities of a loaded project More...
Public Member Functions | |
XmlNode | GetPluginXML (string pluginName) |
XmlDocument | GetProjectDocument () |
Returns a copy of the project document. Modifications to this document will not be saved to the file More... | |
int | PushPluginXML (string plugin, XmlNode node) |
Properties | |
IData | Data [get, set] |
Entities of the loaded database More... | |
List< IMonitor > | MonitorValues [get] |
Monitored values More... | |
int | Version [get, set] |
Get or sets the version number of the project More... | |
Object representing the collection of entities of a loaded project
XmlNode Greet.DataStructureV3.Interfaces.IProject.GetPluginXML | ( | string | pluginName | ) |
Returns a copy of the node reserved for this plugin. Modifications to this node will not be saved to the file
In order to save to the database, please use the method IProject.PushPluginXML(APlugin plugin, XmlNode node);
plugin | The current plugin |
Implemented in Greet.DataStructureV3.GProject.
XmlDocument Greet.DataStructureV3.Interfaces.IProject.GetProjectDocument | ( | ) |
Returns a copy of the project document. Modifications to this document will not be saved to the file
Implemented in Greet.DataStructureV3.GProject.
int Greet.DataStructureV3.Interfaces.IProject.PushPluginXML | ( | string | plugin, |
XmlNode | node | ||
) |
Pushing an XML node to the project will automatically set a "project modified" flag, that way the user will be prompted to save his file before quitting
In order to save the project and all the data it contains to a file, please use the method string IGREETController.SaveProject(IProject project, string fileName)
plugin | The current plugin |
node | The node to be pushed to the database |
May throw an exceltion if the XmlNode is not created using the same Owner document or contains XMLDeclarations that should no be inserted, see Inner Exception
Implemented in Greet.DataStructureV3.GProject.
|
get |
Monitored values
|
getset |
Get or sets the version number of the project