Proud::CVariant 클래스 참조

Public 멤버 함수

 CVariant (const _variant_t &src)
 
 CVariant (VARENUM vartype)
 
 CVariant (char a)
 
 CVariant (short a)
 
 CVariant (int a)
 
 CVariant (long a)
 
 CVariant (int64_t a)
 
 CVariant (unsigned char a)
 
 CVariant (unsigned short a)
 
 CVariant (unsigned int a)
 
 CVariant (unsigned long a)
 
 CVariant (uint64_t a)
 
 CVariant (float a)
 
 CVariant (double a)
 
 CVariant (const wchar_t *a)
 
 CVariant (const char *a)
 
 CVariant (const String &a)
 
 CVariant (UUID a)
 
 CVariant (Guid a)
 
 CVariant (bool a)
 
 CVariant (const CPnTime &a)
 
 CVariant (const ByteArray &a)
 
 CVariant (const ByteArrayPtr a)
 
 operator char () const
 
 operator short () const
 
 operator int () const
 
 operator long () const
 
 operator unsigned char () const
 
 operator unsigned short () const
 
 operator unsigned int () const
 
 operator unsigned long () const
 
 operator float () const
 
 operator double () const
 
 operator String () const
 
 operator UUID () const
 
 operator Guid () const
 
 operator bool () const
 
 operator CPnTime () const
 
 operator int64_t () const
 
 operator uint64_t () const
 
 operator ByteArrayPtr () const
 
bool IsNull () const
 
PROUD_API void ToByteArray (ByteArray &output) const
 
PROUD_API ByteArrayPtr ToByteArrayPtr () const
 
PROUD_API void FromByteArray (const ByteArray &input)
 
PROUD_API void FromByteArray (const ByteArrayPtr input)
 
void ThrowIfNull () const
 

Public 속성

_variant_t m_val
 

상세한 설명

variant. _variant_t와 비슷한 역할을 하지만, UUID, int64 등의 처리 기능이 부가적으로 들어가 있다.

  • 이 객체는 UUID를 bracket string으로 변환해서 가진다.
  • 이 객체는 int64를 VariantChangeType()대신 자체 구현된 변환기를 가진다. (VariantChangeType에서 64bit integer 지원은 Windows XP에서부터 지원하기 때문이다.)

멤버 함수 문서화

PROUD_API void Proud::CVariant::FromByteArray ( const ByteArray input)

이진 데이터 블럭을 입력받는다.

PROUD_API void Proud::CVariant::FromByteArray ( const ByteArrayPtr  input)

이진 데이터 블럭을 입력받는다.

bool Proud::CVariant::IsNull ( ) const
inline

값이 들어있는지 체크한다.

Proud::CVariant::operator bool ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator char ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator CPnTime ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator double ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator float ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator Guid ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator int ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator int64_t ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator long ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator short ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator String ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator uint64_t ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator unsigned char ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator unsigned int ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator unsigned long ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator unsigned short ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

Proud::CVariant::operator UUID ( ) const
inline

리턴값 연산자입니다. 만약 이 객체가 null 값을 갖고 있으면 예외가 throw됩니다. 따라서 필요한 경우 IsNull()로 먼저 null인지 여부를 확인하십시오.

PROUD_API ByteArrayPtr Proud::CVariant::ToByteArrayPtr ( ) const

이진 데이터 블럭 형태로 데이터를 리턴한다.