traintracks-sdk/SdkClass.cpp
int SdkClass::EndPost()
{
	while(SdkClass::TheDataFieldsList.size() >= 0)
	{
		SendBlock();

		// clear the send buffer for next set
		try {
			// clear the buffer
			SdkClass::TheDataFieldsList.clear();
		}
		catch(...)
		{
			std::wcout << L"EXCEPTION on SdkClass::TheDataFieldsList.clear();";
			return -1;
		}

	}
	return 0;
}
// used to close down the system and insure everything iis sent

used to close down the system and insure everything iis sent
used to close down the system and insure everything iis sent
int SdkClass::EndPost()
{
	while(SdkClass::TheDataFieldsList.size() >= 0)
	{
		SendBlock();
		try {
			SdkClass::TheDataFieldsList.clear();
		}
		catch(...)
		{
			std::wcout << L"EXCEPTION on SdkClass::TheDataFieldsList.clear();";
			return -1;
		}
	}
	return 0;
}
int SdkClass :: EndPost ( ) { while ( SdkClass :: TheDataFieldsList . size ( ) >= 0 ) { SendBlock ( ) ; try { SdkClass :: TheDataFieldsList . clear ( ) ; } catch ( ... ) { std :: wcout << L" " ; return -1 ; } } return 0 ; }
used to close down the system and insure everything iis sent
used to close down the system and insure everything iis sent
// clear the send buffer for next set
 // clear the buffer
