Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_int64_utils.h

Go to the documentation of this file.

    00001
    00002 #ifndef OSCL_INT64_UTILS_H_INCLUDED
    00003 #define OSCL_INT64_UTILS_H_INCLUDED
    00004
    00005 #ifndef OSCL_BASE_H_INCLUDED
    00006 #include "oscl_base.h"
    00007 #endif
    00008
    00010
    00016 class Oscl_Int64_Utils
    00017 {
    00018     public:
    00019         OSCL_IMPORT_REF static void set_int64(int64& input_value, const int32 upper, const uint32 lower);
    00020
    00021         OSCL_IMPORT_REF static int32 get_int64_upper32(const int64& input_value);
    00022
    00023         OSCL_IMPORT_REF static uint32 get_int64_lower32(const int64& input_value);
    00024
    00025         OSCL_IMPORT_REF static uint32 get_int64_middle32(const int64& input_value);
    00026
    00027         OSCL_IMPORT_REF static void set_uint64(uint64& input_value, const uint32 upper, const uint32 lower);
    00028
    00029         OSCL_IMPORT_REF static uint32 get_uint64_upper32(const uint64& input_value);
    00030
    00031         OSCL_IMPORT_REF static uint32 get_uint64_lower32(const uint64& input_value);
    00032
    00033         OSCL_IMPORT_REF static uint32 get_uint64_middle32(const uint64& input_value);
    00034 };
    00035
    00043 typedef struct OsclInteger64Transport
    00044 {
    00045     uint32 iHigh;
    00046     uint32 iLow;
    00047 } _OsclInteger64Transport;
    00048
    00049 #endif
    00050