| 202 | } |
| 203 | |
| 204 | vector<UnitDefPtr> UnitTypeDef::getUnitDefs() const |
| 205 | { |
| 206 | vector<UnitDefPtr> unitDefs; |
| 207 | for (UnitDefPtr unitDef : getDocument()->getChildrenOfType<UnitDef>()) |
| 208 | { |
| 209 | if (unitDef->getUnitType() == _name) |
| 210 | { |
| 211 | unitDefs.push_back(unitDef); |
| 212 | } |
| 213 | } |
| 214 | return unitDefs; |
| 215 | } |
| 216 | |
| 217 | ValuePtr AttributeDef::getValue() const |
| 218 | { |
no test coverage detected