BigInt::BigInt(char *source) { innerData = new BigIntData(0); sign = 1; string s = ""; s.append(source); initFromString(s); }
DateTime::DateTime ( wchar_t* strValue, int nValueLen) { if (initFromString(strValue, nValueLen)) m_bNothing = false; }
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); }
BigInt::BigInt(string& source) { innerData = new BigIntData(0); sign = 1; initFromString(source); }
DateTime::DateTime ( const String& strValue) { if (initFromString(strValue.c_str(), (int)strValue.size())) m_bNothing = false; }