where name, type and value are respectively any allowed:
name of metadata description
Variant type
field value
The reason is that creating single-value descriptions is possible, but accessing the (only) field of metadata based on them is impossible. The exception is thrown at the following string:
vmf::Variant Metadata::getFieldValue( const std::string& sName ) const
{
if( sName.empty() )
{
VMF_EXCEPTION(IncorrectParamException, "Field name not specified!");
...
The following code produces exception:
where
name
,type
andvalue
are respectively any allowed:The reason is that creating single-value descriptions is possible, but accessing the (only) field of metadata based on them is impossible. The exception is thrown at the following string: