Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetaDataDictionary::Print only prints [UNKNOWN_PRINT_CHARACTERISTICS] #1454

Open
blowekamp opened this issue Nov 29, 2019 · 0 comments
Labels

Comments

@blowekamp
Copy link
Member

@blowekamp blowekamp commented Nov 29, 2019

Description

For any MetaDataObject calling obj->Print(std::cout) produces "[UNKNOWN_PRINT_CHARACTERISTICS]" on the console.

template <typename MetaDataObjectType>
void
MetaDataObject<MetaDataObjectType>::Print(std::ostream & os) const
{
Superclass::Print(os);
}

Expected behavior

For itk::Object base objects the Print method should be used while those which support operator<<, that method should be used.

It is expected to be able to iterate over the metadata dictionary and print the key and value of all types and get descriptive output.

@blowekamp blowekamp added the type:Bug label Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.