Graphisoft®

GSRootVersion: 1.0

IVBool

signed long 형태의 바이트들을 스왑합니다.

    void IVBool (
        GS::PlatformSign platform,
        bool* pBool
    );
    void IVBool (
        GS::PlatformSign from,
        GS::PlatformSign to,
        bool* pBool
    );

파라미터

platform, from
[in] 입력 플랫폼입니다.
to
[in] 2번째 함수를 위한 출력 플랫폼입니다.
pBool
[in, out] bool을 가리킵니다. 주의할 것은 MacTel 플랫폼에서는 (GCC 컴파일러를 사용하기 때문에) bool 타입은 4바이트 길이입니다!

설명

당신은 이 함수를 이용하여 big-endian->little-endian 또는 little-endian->big-endian 변환을 할 수 있습니다.
4-바이트 bool 타입이 있기 때문에 별도의 타입 GS::Bool8이 도입되었습니다. ArchiCAD 9부터 Graphisoft는 직렬화될 수 있는 class와 structure에 이 타입을 사용합니다.

요구사항

버전: 2.0 또는 이후
헤더: IV.hpp
라이브러리 가져오기: GSRootImp.lib
모듈: GSRoot

참고사항

IVBools
IVBool8, IVBool8s