Hello!

I've a class:
Code:
class Customer
{
public:
	std::string get_name();
	short get_gender();
	int get_id();
	Customer();
private:
	int id;
	short gender;
	std::string name;
};
And some data in a file (customer details).
What is the best way to put this data into objects of Customer? Should I use XML, libconfig, or something else? I only want to read from a file, not to write data back.

Thanks in advance for your help.
Thomas Peter