FLImaging 6.5.8.1
FLImaging::Foundation::CPermutation 클래스 참조

순열을 계산하는 클래스 더 자세히 ...

#include <Permutation.h>

FLImaging::Foundation::CPermutation에 대한 상속 다이어그램 :
FLImaging::Base::CFLBase

Public 멤버 함수

 CPermutation ()
 
virtual ~CPermutation ()
 
void Clear ()
 
void SetSelection (int32_t i32Selection)
 
void SetMax (int32_t i32Max)
 
void Calculate ()
 
const Base::CFLArray< Base::CFLArray< int32_t > > & GetResult ()
 
- FLImaging::Base::CFLBase(으)로부터 상속된 Public 멤버 함수
 CFLBase ()
 기본 생성자
 
virtual ~CFLBase ()
 소멸자
 
void Lock () const
 객체에 Lock을 설정
 
bool TryLock () const
 객체에 Lock을 시도 합니다.
 
void Unlock () const
 객체를 Unlock
 
virtual const CProcessingUnitBaseGetProcessingUnit () const
 설정된 ProcessingUnit을 반환
 
virtual const CResult SetProcessingUnit (const CProcessingUnitBase &pub)
 ProcessingUnit을 설정
 
virtual const CResult SetProcessingUnit (const CProcessingUnitBase *pPub)
 ProcessingUnit을 설정
 
virtual void ResetProcessingUnit ()
 설정된 ProcessingUnit을 해제
 
virtual bool IsValid () const
 객체 유효성 확인
 
template<class T >
bool IsValid (T &tValue) const
 입력 값 유효성 확인
 
template<class T >
bool IsValid (T *pTValue) const
 입력 값 유효성 확인
 
template<class T >
void GenerateMin (T &tValue) const
 해당 타입의 최소값 생성
 
template<class T >
void GenerateMin (T *pTValue) const
 해당 타입의 최소값 생성
 
template<class T >
void GenerateMinInt32 (T &tValue) const
 부호있는 32비트 정수 최소값 생성
 
template<class T >
void GenerateMinInt32 (T *pTValue) const
 부호있는 32비트 정수 최소값 생성
 
template<class T >
void GenerateMinInt31 (T &tValue) const
 부호있는 31비트 정수 최소값 생성
 
template<class T >
void GenerateMinInt31 (T *pTValue) const
 부호있는 31비트 정수 최소값 생성
 
template<class T >
void GenerateMax (T &tValue) const
 해당 타입의 최댓값 생성
 
template<class T >
void GenerateMax (T *pTValue) const
 해당 타입의 최댓값 생성
 
template<class T >
void GenerateMaxInt32 (T &tValue) const
 부호있는 32비트 정수 최댓값 생성
 
template<class T >
void GenerateMaxInt32 (T *pTValue) const
 부호있는 32비트 정수 최댓값 생성
 
template<class T >
void GenerateMaxInt31 (T &tValue) const
 부호있는 31비트 정수 최댓값 생성
 
template<class T >
void GenerateMaxInt31 (T *pTValue) const
 부호있는 31비트 정수 최댓값 생성
 
template<class T >
void GenerateInvalid (T &tValue) const
 Invalid값 생성
 
template<class T >
void GenerateInvalid (T *pTValue) const
 Invalid값 생성
 
virtual void OnReceiveBroadcast (const CBroadcastMessage *pMessage)
 Callback 함수. BroadcastMessage를 수신받는 함수
 
virtual int64_t GetClassType () const =0
 Class의 Type 값을 반환한다. 반환되는 값 자체는 의미가 없으나 같은 종류의 클래스인 경우 같은 값이 나오게 되어 비교가 가능하다.
 
const char * GetClassNameWithNamespace () const
 실제 인스턴스의 namespace를 포함한 클래스 명을 반환한다.
 
const char * GetClassNameWithoutNamespace () const
 실제 인스턴스의 namespace를 포함하지 않은 클래스 명을 반환한다.
 
virtual uint32_t GetClassHash () const
 실제 인스턴스의 클래스 해쉬 값을 반환합니다. 같은 클래스에 대해서는 인스턴스가 달라도 동일한 값을 가지게 됩니다.
 
virtual bool IsLicenseAvailable () const
 현재 보유한 라이선스로 해당 알고리즘을 사용할 수 있는지에 대한 여부를 반환 합니다.
 
const CResult ShareSynchronizationObject (const CFLBase *pSrcObject) const
 원본 객체의 동기화 객체를 공유
 
bool IsSharedSynchronizationObject () const
 공유 동기화 객체를 사용 중인지 여부
 
virtual void Throw (const CResult &res, const wchar_t *pWcsExtraMessage=nullptr) const
 예외를 발생 시킵니다. 발생 시킨 객체의 정보와 오류 코드가 로그에 기록 됩니다.
 
virtual void Throw (const std::exception &res, const wchar_t *pWcsExtraMessage) const
 예외를 발생 시킵니다. 발생 시킨 객체의 정보와 오류 코드가 로그에 기록 됩니다.
 

상세한 설명

순열을 계산하는 클래스

생성자 & 소멸자 문서화

◆ CPermutation()

FLImaging::Foundation::CPermutation::CPermutation ( )

기본 생성자

◆ ~CPermutation()

virtual FLImaging::Foundation::CPermutation::~CPermutation ( )
virtual

기본 소멸자

멤버 함수 문서화

◆ Calculate()

void FLImaging::Foundation::CPermutation::Calculate ( )

순열 객체에 설정한 멤버 변수를 기반으로 순열 계산

◆ Clear()

void FLImaging::Foundation::CPermutation::Clear ( )

객체의 변수 초기화

◆ GetResult()

const Base::CFLArray< Base::CFLArray< int32_t > > & FLImaging::Foundation::CPermutation::GetResult ( )

계산한 순열을 2차원 배열로 리턴

반환값
FLImaging::Base::CFLArray<FLImaging::Base::CFLArray<int32_t>>계산한 순열의 2차원 배열 레퍼런스
참고
FLImaging::Base::CFLArray

◆ SetMax()

void FLImaging::Foundation::CPermutation::SetMax ( int32_t i32Max)

순열의 최댓값 지정

매개변수
[in]i32Max순열의 최댓값

◆ SetSelection()

void FLImaging::Foundation::CPermutation::SetSelection ( int32_t i32Selection)

순열에서 선택하는 개수 지정

매개변수
[in]i32Selection순열에서 선택하는 개수