Exemple #1
0
void VariantDB::Print()
{
	dataList::iterator itor = m_data.begin();

	LogMsg("Listing VariantDB contents");
	LogMsg("*********************");
	while (itor != m_data.end())
	{
		Variant *pV = itor->second;
		string s = itor->first + ": "+pV->Print();

		LogMsg( s.c_str());
		itor++;
	}
	LogMsg("*********************");
}
Exemple #2
0
std::string VariantDB::DumpAsString()
{
	string log = "*********************\r\n";

	dataList::iterator itor = m_data.begin();

	while (itor != m_data.end())
	{
		Variant *pV = itor->second;
		string s = itor->first + ": "+pV->Print();

		log += s + " ";
		itor++;
	}

	log += "\r\n";
	return log;
}