PropertyParserString.cpp 376 B

1234567891011121314151617
  1. #include "PropertyParserString.h"
  2. namespace Rml {
  3. PropertyParserString::PropertyParserString() {}
  4. PropertyParserString::~PropertyParserString() {}
  5. bool PropertyParserString::ParseValue(Property& property, const String& value, const ParameterMap& /*parameters*/) const
  6. {
  7. property.value = Variant(value);
  8. property.unit = Unit::STRING;
  9. return true;
  10. }
  11. } // namespace Rml