bool DataPointsNode::getValue (const String& strMemberName, String& strValue) { bool bValueSet = false; DataPoints* pObject = dynamic_cast<DataPoints*>(m_pObject); if (strMemberName == L"value") { ValueObject* pValueObj = dynamic_cast<ValueObject*>(m_pObject); if (pValueObj) { if (!pValueObj->isNothing()) { strValue = pValueObj->toString(); bValueSet = true; } } } else if (strMemberName == L"Name") { if (pObject->hasValue_Name()) { strValue = (StringObjectImpl(pObject->getName())).toString(); bValueSet = true; } } else if (strMemberName == L"Desc") { if (pObject->hasValue_Desc()) { strValue = (StringObjectImpl(pObject->getDesc())).toString(); bValueSet = true; } } else if (strMemberName == L"Code") { if (pObject->hasValue_Code()) { strValue = (StringObjectImpl(pObject->getCode())).toString(); bValueSet = true; } } else if (strMemberName == L"State") { if (pObject->hasValue_State()) { strValue = (EnumStateTypeImpl(pObject->getState())).toString(); bValueSet = true; } } else if (strMemberName == L"PntRef") { if (pObject->hasValue_PntRef()) { strValue = (StringObjectImpl(pObject->getPntRef())).toString(); bValueSet = true; } } else if (strMemberName == L"PointGeometry") { if (pObject->hasValue_PointGeometry()) { strValue = (EnumPointGeometryTypeImpl(pObject->getPointGeometry())).toString(); bValueSet = true; } } else if (strMemberName == L"DTMAttribute") { if (pObject->hasValue_DTMAttribute()) { strValue = (EnumDTMAttributeTypeImpl(pObject->getDTMAttribute())).toString(); bValueSet = true; } } return bValueSet; }