![]() |
FLImaging 6.5.8.1
|
조합을 계산하는 클래스 더 자세히 ...
#include <Combination.h>
Public 멤버 함수 | |
CCombination () | |
virtual | ~CCombination () |
void | Clear () |
void | SetSelection (int32_t i32Selection) |
void | SetMax (int32_t i32Max) |
void | Calculate () |
const Base::CFLArray< Base::CFLArray< int32_t > > & | GetResult () |
![]() | |
CFLBase () | |
기본 생성자 | |
virtual | ~CFLBase () |
소멸자 | |
void | Lock () const |
객체에 Lock을 설정 | |
bool | TryLock () const |
객체에 Lock을 시도 합니다. | |
void | Unlock () const |
객체를 Unlock | |
virtual const CProcessingUnitBase * | GetProcessingUnit () 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 |
예외를 발생 시킵니다. 발생 시킨 객체의 정보와 오류 코드가 로그에 기록 됩니다. | |
조합을 계산하는 클래스
FLImaging::Foundation::CCombination::CCombination | ( | ) |
기본 생성자
|
virtual |
기본 소멸자
void FLImaging::Foundation::CCombination::Calculate | ( | ) |
조합 객체에 설정한 멤버 변수를 기반으로 조합 계산
void FLImaging::Foundation::CCombination::Clear | ( | ) |
객체의 변수 초기화
const Base::CFLArray< Base::CFLArray< int32_t > > & FLImaging::Foundation::CCombination::GetResult | ( | ) |
계산한 조합을 2차원 배열로 리턴
FLImaging::Base::CFLArray<Base::CFLArray<int32_t>>& | 계산한 조합의 2차원 배열 |
void FLImaging::Foundation::CCombination::SetMax | ( | int32_t | i32Max | ) |
조합의 최댓값 지정
[in] | i32Max | 조합의 최댓값 |
void FLImaging::Foundation::CCombination::SetSelection | ( | int32_t | i32Selection | ) |
조합에서 선택하는 개수 지정
[in] | i32Selection | 조합에서 선택하는 개수 |