|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
#include <DataView.h>
Public Member Functions | |
| virtual | ~DataView () |
| virtual bool | Initialize (DataModel &model, Element *element, const String &expression, const String &modifier)=0 |
| virtual bool | Update (DataModel &model)=0 |
| virtual StringList | GetVariableNameList () const =0 |
| Element * | GetElement () const |
| int | GetSortOrder () const |
| bool | IsValid () const |
Protected Member Functions | |
| DataView (Element *element, int sort_offset) | |
Private Attributes | |
| ObserverPtr< Element > | attached_element |
| int | sort_order |
Data view.
Data views are used to present a data variable in the document by different means. A data view is declared in the document by the element attribute:
data-[type]-[modifier]="[expression]"
The modifier may or may not be required depending on the data view.
|
virtual |
|
protected |
| Element * Rml::DataView::GetElement | ( | ) | const |
| int Rml::DataView::GetSortOrder | ( | ) | const |
|
pure virtual |
Implemented in Rml::DataViewCommon.
|
pure virtual |
Implemented in Rml::DataViewCommon.
| bool Rml::DataView::IsValid | ( | ) | const |
|
pure virtual |
|
private |
|
private |