Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
FLevelStreamingDeque 구조체 참조

#include <LevelStreamingDeque.h>

FLevelStreamingDeque에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

 FLevelStreamingDeque ()
 
void PushBack (ULevelStreaming *Element)
 
ULevelStreaming * PopFront ()
 
bool TryPopFront (OUT ULevelStreaming *&Element)
 
bool Contains (const ULevelStreaming *Element) const
 
bool TryExtract (ULevelStreaming *Element, OUT ULevelStreaming *&OutElement)
 
void Empty ()
 
ULevelStreaming * PeekFront () const
 
FORCEINLINE int Size () const
 
FORCEINLINE bool IsEmpty () const
 

Private 속성

TArray< TWeakObjectPtr< ULevelStreaming > > ArrayInternal
 

생성자 & 소멸자 문서화

◆ FLevelStreamingDeque()

FLevelStreamingDeque::FLevelStreamingDeque ( )
8{
9}

멤버 함수 문서화

◆ Contains()

bool FLevelStreamingDeque::Contains ( const ULevelStreaming *  Element) const
41{
42 for (const TWeakObjectPtr<ULevelStreaming>& Entry : ArrayInternal)
43 {
44 if (Entry.Get() == Element)
45 {
46 return true;
47 }
48 }
49 return false;
50}
TArray< TWeakObjectPtr< ULevelStreaming > > ArrayInternal
Definition LevelStreamingDeque.h:41
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ Empty()

void FLevelStreamingDeque::Empty ( )
70{
71 ArrayInternal.Empty();
72}

◆ IsEmpty()

FORCEINLINE bool FLevelStreamingDeque::IsEmpty ( ) const
inline
35 {
36 return ArrayInternal.IsEmpty();
37 }

◆ PeekFront()

ULevelStreaming * FLevelStreamingDeque::PeekFront ( ) const
76{
77 if (ArrayInternal.IsEmpty())
78 {
79 return nullptr;
80 }
81 return ArrayInternal[0].Get();
82}

◆ PopFront()

ULevelStreaming * FLevelStreamingDeque::PopFront ( )
19{
20 ULevelStreaming* Result = nullptr;
21 TryPopFront(Result);
22 return Result;
23}
bool TryPopFront(OUT ULevelStreaming *&Element)
Definition LevelStreamingDeque.cpp:26
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ PushBack()

void FLevelStreamingDeque::PushBack ( ULevelStreaming *  Element)
13{
14 ArrayInternal.Add(Element);
15}
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ Size()

FORCEINLINE int FLevelStreamingDeque::Size ( ) const
inline
30 {
31 return ArrayInternal.Num();
32 }
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ TryExtract()

bool FLevelStreamingDeque::TryExtract ( ULevelStreaming *  Element,
OUT ULevelStreaming *&  OutElement 
)
54{
55 for (int32 i = 0; i < ArrayInternal.Num(); i++)
56 {
57 if (ArrayInternal[i].Get() == Element)
58 {
59 OutElement = ArrayInternal[i].Get();
60 ArrayInternal.RemoveAt(i);
61 return true;
62 }
63 }
64 OutElement = nullptr;
65 return false;
66}
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ TryPopFront()

bool FLevelStreamingDeque::TryPopFront ( OUT ULevelStreaming *&  Element)
27{
28 if (ArrayInternal.IsEmpty())
29 {
30 Element = nullptr;
31 return false;
32 }
33
34 Element = ArrayInternal[0].Get();
35 ArrayInternal.RemoveAt(0);
36 return true;
37}
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ ArrayInternal

TArray<TWeakObjectPtr<ULevelStreaming> > FLevelStreamingDeque::ArrayInternal
private

이 구조체에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: