XMLMetadataManager in C++