vector<string> SALOMEDS_IParameters::getEntries()
{
vector<string> v;
+ if(!_ap) return v;
if(!_ap->IsSet(_AP_ENTRIES_LIST_, PT_STRARRAY)) return v;
return _ap->GetStrArray(_AP_ENTRIES_LIST_);
}
vector<string> SALOMEDS_IParameters::getProperties()
{
vector<string> v;
+ if(!_ap) return v;
if(!_ap->IsSet(_AP_PROPERTIES_LIST_, PT_STRARRAY)) return v;
return _ap->GetStrArray(_AP_PROPERTIES_LIST_);
}
std::vector<std::string> getProperties();
/*!
- Breaks a value string in two parts which is divided %separator.
+ Breaks a value string in two parts which is divided by %separator.
If fromEnd is True the search of separator starts from the end of the string
*/
std::vector<std::string> parseValue(const std::string& value, const char separator, bool fromEnd = true);