int main( int , char *[] )
{
WriterType::Pointer writer = WriterType::New();
EllipseType::Pointer ellipse = EllipseType::New();
ellipse->SetRadiusInObjectSpace(3);
writer->SetInput(ellipse);
writer->SetFileName("ellipse.meta");
writer->Update();
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName("ellipse.meta");
reader->Update();
ReaderType::GroupType * group = reader->GetGroup();
std::cout << "Number of objects in the group: ";
std::cout << group->GetNumberOfChildren() << std::endl;
return EXIT_SUCCESS;
}