您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ GetFullName函数代码示例

51自学网 2021-06-01 21:08:25
  C++
这篇教程C++ GetFullName函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中GetFullName函数的典型用法代码示例。如果您正苦于以下问题:C++ GetFullName函数的具体用法?C++ GetFullName怎么用?C++ GetFullName使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了GetFullName函数的26个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: GetFirstKey

bool wxRegKey::Copy(wxRegKey& keyDst){    bool ok = true;    // copy all sub keys to the new location    wxString strKey;    long lIndex;    bool bCont = GetFirstKey(strKey, lIndex);    while ( ok && bCont ) {        wxRegKey key(*this, strKey);        wxString keyName;        keyName << GetFullName(&keyDst) << REG_SEPARATOR << strKey;        ok = key.Copy(keyName);        if ( ok )            bCont = GetNextKey(strKey, lIndex);        else            wxLogError(_("Failed to copy the registry subkey '%s' to '%s'."),                   GetFullName(&key), keyName.c_str());    }    // copy all values    wxString strVal;    bCont = GetFirstValue(strVal, lIndex);    while ( ok && bCont ) {        ok = CopyValue(strVal, keyDst);        if ( !ok ) {            wxLogSysError(m_dwLastError,                          _("Failed to copy registry value '%s'"),                          strVal.c_str());        }        else {            bCont = GetNextValue(strVal, lIndex);        }    }    if ( !ok ) {        wxLogError(_("Failed to copy the contents of registry key '%s' to '%s'."),                   GetFullName(this), GetFullName(&keyDst));    }    return ok;}
开发者ID:DumaGit,项目名称:winsparkle,代码行数:45,


示例2: PostTypeLoadException

 void PostTypeLoadException(LPCUTF8 pNameSpace, LPCUTF8 pTypeName, LPCUTF8 pMethodName,                            UINT resIDWhy, OBJECTREF *pThrowable) {     LPCWSTR wszFullName = NULL;     GetFullName(&wszFullName); // ignore return hr          ::PostTypeLoadException(pNameSpace, pTypeName, wszFullName,                             pMethodName, resIDWhy, pThrowable); }
开发者ID:ArildF,项目名称:masters,代码行数:9,


示例3: GetFullName

wxString PHPEntityClass::FormatPhpDoc() const{    wxString doc;    doc << "/**/n"        << " * @class " << GetFullName() << "/n"        << " * @brief /n"        << " */";    return doc;}
开发者ID:05storm26,项目名称:codelite,代码行数:9,


示例4: Cmd_GetLastTransactionItem_Execute

static bool Cmd_GetLastTransactionItem_Execute(COMMAND_ARGS){	TESForm* form = NULL;	GetLastTransactionInfo(&form, NULL);	UInt32* refResult = (UInt32*)result;	*refResult = form ? form->refID : 0;	DEBUG_PRINT("GetLastTransactionItem >> %s", GetFullName(form));	return true;}
开发者ID:679565,项目名称:SkyrimOnline,代码行数:9,


示例5: GetFullName

bool ldl_datablock::ContstructFullName(		char *szName,		ldl_datablock *dbParent,		char *result ){	GetFullName(result);	return true;}
开发者ID:jleclanche,项目名称:darkdust-ctp2,代码行数:9,


示例6: GetFullName

wxString PHPEntityClass::FormatPhpDoc(const CommentConfigData& data) const{    wxString doc;    doc << data.GetCommentBlockPrefix() << "/n"        << " * @class " << GetFullName() << "/n"        << " * @brief /n"        << " */";    return doc;}
开发者ID:MaartenBent,项目名称:codelite,代码行数:9,


示例7: wxLogError

// ----------------------------------------------------------------------------// delete keys/values// ----------------------------------------------------------------------------bool wxRegKey::DeleteSelf(){  {    wxLogNull nolog;    if ( !Open() ) {      // it already doesn't exist - ok!      return true;    }  }  // prevent a buggy program from erasing one of the root registry keys or an  // immediate subkey (i.e. one which doesn't have '//' inside) of any other  // key except HKCR (HKCR has some "deleteable" subkeys)  if ( m_strKey.empty() ||       ((m_hRootKey != (WXHKEY) aStdKeys[HKCR].hkey) &&        (m_strKey.Find(REG_SEPARATOR) == wxNOT_FOUND)) ) {      wxLogError(_("Registry key '%s' is needed for normal system operation,/ndeleting it will leave your system in unusable state:/noperation aborted."),                 GetFullName(this));      return false;  }  // we can't delete keys while enumerating because it confuses GetNextKey, so  // we first save the key names and then delete them all  wxArrayString astrSubkeys;  wxString strKey;  long lIndex;  bool bCont = GetFirstKey(strKey, lIndex);  while ( bCont ) {    astrSubkeys.Add(strKey);    bCont = GetNextKey(strKey, lIndex);  }  size_t nKeyCount = astrSubkeys.Count();  for ( size_t nKey = 0; nKey < nKeyCount; nKey++ ) {    wxRegKey key(*this, astrSubkeys[nKey]);    if ( !key.DeleteSelf() )      return false;  }  // now delete this key itself  Close();  m_dwLastError = RegDeleteKey((HKEY) m_hRootKey, m_strKey.t_str());  // deleting a key which doesn't exist is not considered an error  if ( m_dwLastError != ERROR_SUCCESS &&          m_dwLastError != ERROR_FILE_NOT_FOUND ) {    wxLogSysError(m_dwLastError, _("Can't delete key '%s'"),                  GetName().c_str());    return false;  }  return true;}
开发者ID:DumaGit,项目名称:winsparkle,代码行数:59,


示例8: guard

VPackage* VMemberBase::GetPackage() const{    guard(VMemberBase::GetPackage);    for (const VMemberBase* p = this; p; p = p->Outer)        if (p->MemberType == MEMBER_Package)            return (VPackage*)p;    Sys_Error("Member object %s not in a package", *GetFullName());    return NULL;    unguard;}
开发者ID:JoshEngebretson,项目名称:Mongrel,代码行数:10,


示例9: indentString

void PHPEntityNamespace::PrintStdout(int indent) const{    wxString indentString(' ', indent);    wxPrintf("%sNamespace name: %s/n", indentString, GetFullName());    PHPEntityBase::List_t::const_iterator iter = m_children.begin();    for(; iter != m_children.end(); ++iter) {        (*iter)->PrintStdout(indent + 4);    }}
开发者ID:MaartenBent,项目名称:codelite,代码行数:10,


示例10: UE_LOG

void AAmbitionOfNobunagaPlayerController::ServerClearHeroAction_Implementation(AHeroCharacter* hero,        const FHeroAction& action){	if (Role < ROLE_Authority)	{		UE_LOG(LogAmbitionOfNobunaga, Log, TEXT("%s ClearHeroAction"), *GetFullName());		AAONGameState* ags = Cast<AAONGameState>(UGameplayStatics::GetGameState(GetWorld()));		ags->ClearHeroAction(hero, action);	}}
开发者ID:damody,项目名称:AmbitionOfNobunaga,代码行数:10,


示例11: DEBUG

void CClient::ReadLine(const CString& sData) {	CString sLine = sData;	sLine.TrimRight("/n/r");	DEBUG("(" << GetFullName() << ") CLI -> ZNC [" << sLine << "]");	if (IsAttached()) {		NETWORKMODULECALL(OnUserRaw(sLine), m_pUser, m_pNetwork, this, return);	} else {
开发者ID:ex0a,项目名称:znc,代码行数:10,


示例12: GetFullName

void PHPEntityNamespace::Store(PHPLookupTable* lookup){    try {        // A namespace, unlike other PHP entities, can be defined in various files        // and in multiple locations. This means, that by definition, there can be multiple entries        // for the same namespace, however, since our relations in the database is ID based,        // we try to locate the namespace in the DB before we attempt to insert it        wxSQLite3Database& db = lookup->Database();        {            wxSQLite3Statement statement =                db.PrepareStatement("SELECT * FROM SCOPE_TABLE WHERE FULLNAME=:FULLNAME LIMIT 1");            statement.Bind(statement.GetParamIndex(":FULLNAME"), GetFullName());            wxSQLite3ResultSet res = statement.ExecuteQuery();            if(res.NextRow()) {                // we have a match, update this item database ID to match                // what we have found in the database                PHPEntityNamespace ns;                ns.FromResultSet(res);                SetDbId(ns.GetDbId());                return;            }        }        // Get the 'parent' namespace part        wxString parentPath = GetFullName().BeforeLast('//');        DoEnsureNamespacePathExists(db, parentPath);        {            wxSQLite3Statement statement = db.PrepareStatement(                "INSERT INTO SCOPE_TABLE (ID, SCOPE_TYPE, SCOPE_ID, NAME, FULLNAME, LINE_NUMBER, FILE_NAME) "                "VALUES (NULL, 0, -1, :NAME, :FULLNAME, :LINE_NUMBER, :FILE_NAME)");            statement.Bind(statement.GetParamIndex(":NAME"), GetShortName());            statement.Bind(statement.GetParamIndex(":FULLNAME"), GetFullName());            statement.Bind(statement.GetParamIndex(":LINE_NUMBER"), GetLine());            statement.Bind(statement.GetParamIndex(":FILE_NAME"), GetFilename().GetFullPath());            statement.ExecuteUpdate();            SetDbId(db.GetLastRowId());        }    } catch(wxSQLite3Exception& exc) {        wxUnusedVar(exc);    }}
开发者ID:ilius,项目名称:codelite,代码行数:42,


示例13: OnRegister

void UActorComponent::ExecuteRegisterEvents(){	if(!bRegistered)	{		OnRegister();		checkf(bRegistered, TEXT("Failed to route OnRegister (%s)"), *GetFullName());	}	if(FApp::CanEverRender() && !bRenderStateCreated && World->Scene)	{		CreateRenderState_Concurrent();		checkf(bRenderStateCreated, TEXT("Failed to route CreateRenderState_Concurrent (%s)"), *GetFullName());	}	if(!bPhysicsStateCreated && World->GetPhysicsScene() && ShouldCreatePhysicsState())	{		CreatePhysicsState();		checkf(bPhysicsStateCreated, TEXT("Failed to route CreatePhysicsState (%s)"), *GetFullName());	}}
开发者ID:Tigrouzen,项目名称:UnrealEngine-4,代码行数:20,


示例14: TRACE

void LimitDecrementerBody::operator() (const Body::InputType1& input, Node::MultiNodeContinueType::output_ports_type& output){    imageWrapperIn_ = dynamic_cast<ImageMessage*>(input);    TRACE(GetFullName() + ": " + imageWrapperIn_->GetMetaData().GetFrameNumber());    BeforeProcess();    Process();    AfterProcess();    std::get<OUTPUT_LIMITER>(output).try_put(tbb::flow::continue_msg());}
开发者ID:aodkrisda,项目名称:face-gesture-api,代码行数:11,


示例15: HookRegQueryValueEx

LONG HookRegQueryValueEx(     HKEY hkey,     PCHAR lpszValueName,     PDWORD lpdwReserved,     PDWORD lpdwType,     PBYTE lpbData,     PDWORD lpcbData     ) {    LONG      retval;    int       i, len;    CHAR      fullname[NAMELEN], data[DATASIZE], tmp[2*BINARYLEN], process[PROCESSLEN];      GetFullName( hkey, NULL, lpszValueName, fullname );    retval = RealRegQueryValueEx( hkey, lpszValueName, lpdwReserved,                                   lpdwType, lpbData, lpcbData );    data[0] = 0;    if( retval == ERROR_SUCCESS && lpbData ) {        if( !lpdwType || *lpdwType == REG_BINARY ) {            if( *lpcbData > BINARYLEN ) len = BINARYLEN;            else len = *lpcbData;            for( i = 0; i < len; i++ ) {                sprintf( tmp, "%X ", lpbData[i]);                strcat( data, tmp );            }            if( *lpcbData > BINARYLEN) strcat( data, "...");        } else if( *lpdwType == REG_SZ ) {            strcpy( data, "/"");            strncat( data, lpbData, STRINGLEN );            if( strlen( lpbData ) > STRINGLEN )                 strcat( data, "..." );            strcat( data, "/"");        } else if( *lpdwType == REG_DWORD ) {            sprintf( data, "0x%X", *(PDWORD) lpbData );        }    }     if( ErrorString( retval ) &&  FilterDef.logreads) {        LogRecord( "%s/tQueryValueEx/t%s/t%s/t%s",                    GetProcess( process ), fullname, ErrorString( retval ), data);      }    return retval;}
开发者ID:bekdepostan,项目名称:hf-2011,代码行数:54,


示例16: GetGroupLine

void ConfigGroup::Rename(const wxString& newName){    m_strName = newName;    LineList *line = GetGroupLine();    wxString strFullName;    strFullName << wxT("[") << (GetFullName().c_str() + 1) << wxT("]"); // +1: no '/'    line->SetText(strFullName);    SetDirty();}
开发者ID:TimofonicJunkRoom,项目名称:plucker,代码行数:11,


示例17: Cmd_GetBaseObject_Execute

bool Cmd_GetBaseObject_Execute(COMMAND_ARGS){	UInt32* refResult = (UInt32*)result;	*refResult = 0;	if (thisObj && thisObj->baseForm) {		*refResult = thisObj->baseForm->refID;		if (IsConsoleMode())			Console_Print("GetBaseObject >> %08x (%s)", thisObj->baseForm->refID, GetFullName(thisObj->baseForm));	}	return true;}
开发者ID:robojan,项目名称:RealPipboyNV,代码行数:12,


示例18: checkf

void UEdGraph::GetAllChildrenGraphs(TArray<UEdGraph*>& Graphs) const{#if WITH_EDITORONLY_DATA	for (int32 i = 0; i < SubGraphs.Num(); ++i)	{		UEdGraph* Graph = SubGraphs[i];		checkf(Graph, *FString::Printf(TEXT("%s has invalid SubGraph array entry at %d"), *GetFullName(), i));		Graphs.Add(Graph);		Graph->GetAllChildrenGraphs(Graphs);	}#endif // WITH_EDITORONLY_DATA}
开发者ID:Foreven,项目名称:Unreal4-1,代码行数:12,


示例19: FReplaceBlueprintWithClassHelper

void UClassProperty::CheckValidObject(void* Value) const{#if WITH_EDITOR	// Ugly hack to replace Blueprint references with Class references.	struct FReplaceBlueprintWithClassHelper	{		bool bShouldReplace;		UClass* BlueprintClass;		UClassProperty* BPGeneratedClassProp;		FReplaceBlueprintWithClassHelper() : bShouldReplace(false), BlueprintClass(NULL), BPGeneratedClassProp(NULL)		{			GConfig->GetBool(TEXT("EditoronlyBP"), TEXT("bReplaceBlueprintWithClass"), bShouldReplace, GEditorIni);			if (bShouldReplace)			{				BlueprintClass = FindObject<UClass>(NULL, TEXT("/Script/Engine.Blueprint"));				ensure(BlueprintClass);				BPGeneratedClassProp = BlueprintClass ? FindField<UClassProperty>(BlueprintClass, TEXT("GeneratedClass")) : NULL;				ensure(BPGeneratedClassProp);			}		}		bool CanReplace() const		{			return bShouldReplace && BlueprintClass && BPGeneratedClassProp;		}	};	static FReplaceBlueprintWithClassHelper Helper;	const UObject* Object = GetObjectPropertyValue(Value);	Super::CheckValidObject(Value);	const UObject* CurrentObject = GetObjectPropertyValue(Value);	if (Helper.CanReplace()		&& !CurrentObject		&& Object 		&& Object->IsA(Helper.BlueprintClass)		&& (UObject::StaticClass() == MetaClass))	{		UObject* RecoveredObject = Helper.BPGeneratedClassProp->GetPropertyValue_InContainer(Object);		SetObjectPropertyValue(Value, RecoveredObject);		UE_LOG(LogProperty, Log,			TEXT("Blueprint '%s' is replaced with class '%s' in property '%s'"),			*Object->GetFullName(),			*RecoveredObject->GetFullName(),			*GetFullName());	}#else	// WITH_EDITOR	Super::CheckValidObject(Value);#endif	// WITH_EDITOR}
开发者ID:Foreven,项目名称:Unreal4-1,代码行数:52,


示例20: Cmd_GetBaseForm_Execute

bool Cmd_GetBaseForm_Execute(COMMAND_ARGS)	// For LeveledForm, find real baseForm, not temporary one{	UInt32* refResult = (UInt32*)result;	*refResult = 0;	TESForm* baseForm = GetPermanentBaseForm(thisObj);	if (baseForm) {		*refResult = baseForm->refID;		if (IsConsoleMode())			Console_Print("GetBaseForm >> %08x (%s)", baseForm->refID, GetFullName(baseForm));	}	return true;}
开发者ID:robojan,项目名称:RealPipboyNV,代码行数:13,


示例21: check

void UActorComponent::ExecuteUnregisterEvents(){	if(bPhysicsStateCreated)	{		check(bRegistered); // should not have physics state unless we are registered		DestroyPhysicsState();		checkf(!bPhysicsStateCreated, TEXT("Failed to route DestroyPhysicsState (%s)"), *GetFullName());	}	if(bRenderStateCreated)	{		check(bRegistered);		DestroyRenderState_Concurrent();		checkf(!bRenderStateCreated, TEXT("Failed to route DestroyRenderState_Concurrent (%s)"), *GetFullName());	}	if(bRegistered)	{		OnUnregister();		checkf(!bRegistered, TEXT("Failed to route OnUnregister (%s)"), *GetFullName());	}}
开发者ID:Tigrouzen,项目名称:UnrealEngine-4,代码行数:22,


示例22: assert

voidCMVarNode::UpdateContent(){	assert( itsIsPointerFlag );	delete itsContentCommand;	const JString expr = GetFullName();	itsContentCommand = (CMGetLink())->CreateVarContentCommand(expr);	ListenTo(itsContentCommand);	itsContentCommand->CMCommand::Send();}
开发者ID:raorn,项目名称:jx_application_framework,代码行数:13,


示例23: RUASSERT

void CRUTbl::ReleaseReadProtectedOpen(){	RUASSERT(TRUE == isRPOpenPending_);#ifdef _DEBUG	CDSString msg("UnLocking table " + GetFullName() + "/n");		CRUGlobals::GetInstance()->		LogDebugMessage(CRUGlobals::DUMP_LOCKS, "", msg, TRUE);#endif	isRPOpenPending_ = FALSE;}
开发者ID:RuoYuHP,项目名称:incubator-trafodion,代码行数:13,


示例24: ViewInheritedDeclaration

JBooleanCBCClass::ViewDeclaration	(	const JCharacter*	fnName,	const JBoolean		caseSensitive,	const JBoolean		reportNotFound	)	const{	JBoolean found = kJFalse;	JString headerName;	if (!Implements(fnName, caseSensitive))		{		found = ViewInheritedDeclaration(fnName, caseSensitive, reportNotFound);		if (!found && reportNotFound)			{			JString msg = "Unable to find any declaration for /"";			msg += fnName;			msg += "/".";			(JGetUserNotification())->ReportError(msg);			}		}	else if (GetFileName(&headerName))		{		CBDocumentManager* docMgr = CBGetDocumentManager();		JIndex lineIndex;		if (docMgr->SearchFile(headerName, fnName, caseSensitive, &lineIndex))			{			docMgr->OpenTextDocument(headerName, lineIndex);			found = kJTrue;			}		else if (reportNotFound)			{			JString msg = "Unable to find the declaration of /"";			msg += fnName;			msg += "/".";			(JGetUserNotification())->ReportError(msg);			}		}	else if (reportNotFound)		{		JString msg = GetFullName();		msg.PrependCharacter('"');		msg += "/" is a ghost class, so no information is available for it.";		(JGetUserNotification())->ReportError(msg);		}	return found;}
开发者ID:raorn,项目名称:jx_application_framework,代码行数:51,


示例25: Cmd_GetPCLastDroppedItem_Execute

static bool Cmd_GetPCLastDroppedItem_Execute(COMMAND_ARGS){	UInt32* refResult = (UInt32*)result;	*refResult = 0;	TESForm* form = GetPCLastDroppedItem();	if (form)		*refResult = form->refID;	if (IsConsoleMode())		Console_Print("GetPCLastDroppedItem >> %08X (%s)", *refResult, GetFullName(form));	return true;}
开发者ID:Alenett,项目名称:OBSE-for-OR,代码行数:14,


示例26: GetQuantityMenuInfo_Execute

static bool GetQuantityMenuInfo_Execute(COMMAND_ARGS, UInt32 which){	QuantityMenu* menu = (QuantityMenu*)GetMenuByType(kMenuType_Quantity);	if (menu) {		switch (which) {			case kQuantityMenu_Max:				*result = menu->maxQuantity;				DEBUG_PRINT("GetQMMaximum >> %d", menu->maxQuantity);				return true;			case kQuantityMenu_Cur:				{					if (menu->quantity_scroll) {						Tile::Value* val = menu->quantity_scroll->GetValueByType(kTileValue_user7);						if (val) {							*result = val->num;							DEBUG_PRINT("GetQMCurrent >> %.0f", val->num);						}					}				}				return true;			case kQuantityMenu_Item:				{					TESForm* item = NULL;					UInt32* refResult = (UInt32*)result;					*refResult = 0;					if (menu->itemTile) {						Tile::Value* val = menu->itemTile->GetValueByType(kTileValue_user11);						if (val) {							UInt32 idx = val->num;							// are we bartering? and what container is open?							bool bMerchant = false;							TESObjectREFR* container = *g_thePlayer;							if (menu->unk44 == 0x33) {								ContainerMenu* contMenu = (ContainerMenu*)GetMenuByType(kMenuType_Container);								container = contMenu->isContainerContents ? contMenu->refr : container;								bMerchant = contMenu && contMenu->isContainerContents && contMenu->isBarter;							}							item = container->GetInventoryItem(idx, bMerchant);							*refResult = item ? item->refID : 0;							DEBUG_PRINT("GetQMItem >> %s", GetFullName(item));						}					}				}				return true;		}	}	return true;}
开发者ID:679565,项目名称:SkyrimOnline,代码行数:50,



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


C++ GetFullPath函数代码示例
C++ GetFullIdentifier函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。