本文整理汇总了C++中LoadData函数的典型用法代码示例。如果您正苦于以下问题:C++ LoadData函数的具体用法?C++ LoadData怎么用?C++ LoadData使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了LoadData函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: m_mapRect
/***********************
* Constructor
**********************/
ObjectManager::ObjectManager(
const TiXmlElement *root,
const IntRect &mapRect,
int tileSize,
lua_State *L
) : m_mapRect( mapRect ), m_tileSize( tileSize ) {
Object::SetMapRect( mapRect );
Object::SetTileSize( tileSize );
LoadData( root, L );
}
示例2: ClearData
bool LoadTemplate::ProcessLoad()
{
ClearData();
if (!LoadData())
return false;
AfterLoadData(); // 完成数据加载后整理数据
return true;
}
示例3: LoadData
BOOL CPropPageSMS::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// TODO: Add your specialized code here and/or call the base class
if (PSN_SETACTIVE == ((LPNMHDR)lParam)->code)
{ // just changed tabs
LoadData();
}
// return TRUE;
return CPropertyPage::OnNotify(wParam, lParam, pResult);
}
示例4: ASSERT
void
BlockEditDialog::OnReadNext(void)
{
ASSERT(fpDiskFS != NULL);
if (fBlock == fpDiskFS->GetDiskImg()->GetNumBlocks() - 1)
return;
fBlock++;
SetSpinner(IDC_DISKEDIT_TRACKSPIN, fBlock);
LoadData();
}
示例5: LoadData
BOOL ConfigFile::Create(CTSTR lpConfigFile)
{
strFileName = lpConfigFile;
if(LoadFile(XFILE_CREATEALWAYS))
LoadData();
else
return 0;
return 1;
}
示例6: LoadData
BOOL CDialogFramesRecording::OnInitDialog()
{
CDialog::OnInitDialog();
LoadData();
bCurrentCheckRecordFrames = m_bCheckRecordFrames;
UpdateEnableControls();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
示例7: assertRetVal
bool ff::LoadData<ff::String>(IDataReader *pReader, StringOut data)
{
DWORD nBytes = 0;
assertRetVal(LoadData(pReader, nBytes), false);
const BYTE* sz = LoadBytes(pReader, (size_t)nBytes);
assertRetVal(sz, false);
data.assign((const wchar_t *)sz, (nBytes / sizeof(wchar_t)) - 1);
return true;
}
示例8: disconnect
//******************************************************
void cCutSet::Finished()
{
disconnect(CLoadThread,SIGNAL(Set(int,QString)),this,SLOT(Set(int,QString)));
disconnect(CLoadThread,SIGNAL(Finished()),this,SLOT(Finished()));
mFiles.clear();
pushButtonCut1->setEnabled(true);
pushButtonBrowse1->setEnabled(true);
lineEditDirectory->setEnabled(true);
LoadData();
}
示例9: main
//-----------------------------------------------------------------------------
// MAIN
//-----------------------------------------------------------------------------
int main (int argc, char *argv[])
{
struct rect_list_element *list_head;
int ret_code;
list_head = NULL;
ret_code = LoadData (list_head);
if (ret_code != TRUE)
return -1;
SortRectangleList (list_head);
DeleteRectangleList (list_head);
return 0;
}
示例10: LoadDataInAllPages
//---------------------------------------------------------------------------
void LoadDataInAllPages(int idstud)
{
if (dllInstances)
{
for (int i=0;i<dllInstances->Count;i++)
{
dllInstance=dllInstances->Items[i];
LoadData = (TLoadData *)GetProcAddress(dllInstance, "_LoadData");
if (LoadData) LoadData(DefIniFileName,idstud,(TForm*)(Pages->Items[i]));
}
}
}
示例11: SetGlobalVal
BOOL CCommonSetDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: 在此添加额外的初始化
m_Grid.SetEditable(FALSE);
SetGlobalVal();
LoadData();
return TRUE; // return TRUE unless you set the focus to a control
// 异常: OCX 属性页应返回 FALSE
}
示例12: GalleryConfig
/** \fn GalleryView::MenuSettings(MythMenu *)
* \brief Adds a new settings menu entry into the main menu
* \param mainMenu Parent that will hold the menu entry
* \return void
*/
void GalleryView::MenuSettings()
{
GalleryConfig *config = new GalleryConfig(m_mainStack, "galleryconfig");
connect(config, SIGNAL(configSaved()), this, SLOT(LoadData()));
if (config->Create())
{
m_mainStack->AddScreen(config);
}
else
delete config;
}
示例13: wxUnusedVar
void CMakeHelpTab::OnReload(wxCommandEvent& event)
{
wxUnusedVar(event);
wxASSERT(m_plugin->GetCMake());
if(!m_plugin->GetCMake()->IsOk()) {
wxMessageBox(_("CMake application path is invalid!"), wxMessageBoxCaptionStr, wxOK | wxCENTER | wxICON_ERROR);
return;
}
LoadData(true);
}
示例14: LoadData
BOOL KActiveSettings::Init()
{
BOOL bResult = false;
BOOL bRetCode = false;
bRetCode = LoadData();
KGLOG_PROCESS_ERROR(bRetCode);
bResult = true;
Exit0:
return bResult;
}
示例15: LoadData
BOOL KPlayerValueInfoList::Init()
{
BOOL bResult = false;
BOOL bRetCode = false;
bRetCode = LoadData();
KGLOG_PROCESS_ERROR(bRetCode);
bResult = true;
Exit0:
return bResult;
}