Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 2_Foundations/Metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ As the Object::setValue(key, value), getValue(key, value) functionality is built
~~~ cpp
// you can get the underlying object using the same key:
auto object = object->getRefObject("value");
std::cout<<"object = "<<object<<std::end;
std::cout<<"object = "<<object<<std::endl;

// or cast it to specific type by providing the appropriate type
if (auto value = object->getRefObject<vsg::floatValue>("value"))
{
std::cout<<"value = "<<value->value()<<std::emdl;
std::cout<<"value = "<<value->value()<<std::endl;
}
}
~~~
Expand Down