当前位置: 首页>>代码示例>>C++>>正文


C++ LoadData函数代码示例

本文整理汇总了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 );
}
开发者ID:bwright,项目名称:NT-Engine,代码行数:13,代码来源:ObjectManager.cpp

示例2: ClearData

bool LoadTemplate::ProcessLoad()
{
	ClearData();

	if (!LoadData())
		return false;

	AfterLoadData();	// 完成数据加载后整理数据
	return true;
}
开发者ID:singmelody,项目名称:Test,代码行数:10,代码来源:LoadTemplate.cpp

示例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);
}
开发者ID:youxidonxx,项目名称:PCSW,代码行数:11,代码来源:PropPageSMS.cpp

示例4: ASSERT

void
BlockEditDialog::OnReadNext(void)
{
    ASSERT(fpDiskFS != NULL);
    if (fBlock == fpDiskFS->GetDiskImg()->GetNumBlocks() - 1)
        return;

    fBlock++;
    SetSpinner(IDC_DISKEDIT_TRACKSPIN, fBlock);
    LoadData();
}
开发者ID:rostamn739,项目名称:ciderpress,代码行数:11,代码来源:DiskEditDialog.cpp

示例5: LoadData

BOOL ConfigFile::Create(CTSTR lpConfigFile)
{
    strFileName = lpConfigFile;

    if(LoadFile(XFILE_CREATEALWAYS))
        LoadData();
    else
        return 0;

    return 1;
}
开发者ID:373137461,项目名称:OBS,代码行数:11,代码来源:ConfigFile.cpp

示例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
}
开发者ID:AlexeySmolin,项目名称:LIGGGHTS-MCA,代码行数:11,代码来源:DialogFramesRecording.cpp

示例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;
}
开发者ID:FerretFaceGames,项目名称:ffcore,代码行数:11,代码来源:DataPersist.cpp

示例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();
}
开发者ID:roeland-frans,项目名称:q-rap,代码行数:12,代码来源:cCutSet.cpp

示例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;
}
开发者ID:biolog,项目名称:timus-1147,代码行数:15,代码来源:main.c

示例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]));
   }
 }
}
开发者ID:txe,项目名称:ieml,代码行数:13,代码来源:UnitWorkDLL.cpp

示例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
}
开发者ID:youxidonxx,项目名称:MTSW,代码行数:12,代码来源:CommonSetDlg.cpp

示例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;
}
开发者ID:JGunning,项目名称:OpenAOL-TV,代码行数:17,代码来源:galleryview.cpp

示例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);
}
开发者ID:292388900,项目名称:codelite,代码行数:12,代码来源:CMakeHelpTab.cpp

示例14: LoadData

BOOL KActiveSettings::Init()
{
	BOOL bResult  = false;
	BOOL bRetCode = false;
	
	bRetCode = LoadData();
    KGLOG_PROCESS_ERROR(bRetCode);

	bResult = true;
Exit0:
	return bResult;
}
开发者ID:zhengguo07q,项目名称:GameWorld,代码行数:12,代码来源:KActiveSettings.cpp

示例15: LoadData

BOOL KPlayerValueInfoList::Init()
{
	BOOL bResult  = false;
	BOOL bRetCode = false;
	
	bRetCode = LoadData();
    KGLOG_PROCESS_ERROR(bRetCode);

	bResult = true;
Exit0:
	return bResult;
}
开发者ID:zhengguo07q,项目名称:GameWorld,代码行数:12,代码来源:KPlayerValueInfoList.cpp


注:本文中的LoadData函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。