Пример #1
0
 BigInt::BigInt(char *source) {
     innerData = new BigIntData(0);
     sign = 1;
     string s = "";
     s.append(source);
     initFromString(s);
 }
Пример #2
0
DateTime::DateTime (
	wchar_t* strValue, 
	int nValueLen) 
{
	if (initFromString(strValue, nValueLen))
		m_bNothing = false;
}
Пример #3
0
void MonsterAILib::initWithFile(const char *fileName)
{
	bindActions();
	std::string startui = CCFileUtils::sharedFileUtils()->fullPathFromRelativePath(fileName);
	unsigned long nSize = 0;
	unsigned char * buffer = CCFileUtils::sharedFileUtils()->getFileData(startui.c_str(),"rb",&nSize);
	if (!nSize)return;
	initFromString((char*)buffer);
}
Пример #4
0
 BigInt::BigInt(string& source) {
     innerData = new BigIntData(0);
     sign = 1;
     initFromString(source);
 }
Пример #5
0
DateTime::DateTime (
	const String& strValue)
{
	if (initFromString(strValue.c_str(), (int)strValue.size()))
		m_bNothing = false;
}