////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All rights reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// THIS IS AUTO-GENERATED CODE.  PLEASE DO NOT EDIT (File bug reports against tools).
///
/// Auto-generated by: Parameter Parser V7.4.1 (8cca6579792b9fcef3bc725ff070c5ec453c7c85)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  ica_3_2_0.cpp
/// @brief Auto-generated Chromatix parameter file
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "ica_3_2_0.h"
#include "parametersetmanager.h"

ICA_3_2_0_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_ica32_reserveType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "y_interpolation_type") == 0)
    {
        ParameterUtils::DoubleToString((double)y_interpolation_type, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_calculate") == 0)
    {
        ParameterUtils::DoubleToString((double)opg_invalid_output_treatment_calculate, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_y") == 0)
    {
        ParameterUtils::DoubleToString((double)opg_invalid_output_treatment_y, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cb") == 0)
    {
        ParameterUtils::DoubleToString((double)opg_invalid_output_treatment_cb, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cr") == 0)
    {
        ParameterUtils::DoubleToString((double)opg_invalid_output_treatment_cr, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_0_tab") == 0)
    {
        __result = opg_interpolation_lut_0_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_1_tab") == 0)
    {
        __result = opg_interpolation_lut_1_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_2_tab") == 0)
    {
        __result = opg_interpolation_lut_2_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "res_param_1") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_1, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_2") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_2, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_3") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_3, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_4") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_4, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_5") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_5, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_6") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_6, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_7") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_7, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_8") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_8, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_9") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_9, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_10") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_10, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_1_tab") == 0)
    {
        __result = res_lut_param_1_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_2_tab") == 0)
    {
        __result = res_lut_param_2_tab.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_ica32_reserveType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "y_interpolation_type") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            y_interpolation_type = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_calculate") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            opg_invalid_output_treatment_calculate = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            opg_invalid_output_treatment_y = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cb") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            opg_invalid_output_treatment_cb = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cr") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            opg_invalid_output_treatment_cr = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_0_tab") == 0)
    {
        __result = opg_interpolation_lut_0_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_1_tab") == 0)
    {
        __result = opg_interpolation_lut_1_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_2_tab") == 0)
    {
        __result = opg_interpolation_lut_2_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "res_param_1") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_1 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_2") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_2 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_3") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_3 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_4") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_4 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_5") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_5 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_6") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_6 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_7") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_7 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_8") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_8 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_9") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_9 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_10") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_10 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_1_tab") == 0)
    {
        __result = res_lut_param_1_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_2_tab") == 0)
    {
        __result = res_lut_param_2_tab.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatix_ica32_reserveType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // y_interpolation_type
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("y_interpolation_type", ParameterParserDataType::UInt32, (double)y_interpolation_type, 0));
    }
    else if (PARAMETER_STRCMP(__name, "y_interpolation_type") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)y_interpolation_type, 0));
    }

    // opg_invalid_output_treatment_calculate
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_invalid_output_treatment_calculate", ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_calculate, 0));
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_calculate") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_calculate, 0));
    }

    // opg_invalid_output_treatment_y
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_invalid_output_treatment_y", ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_y, 0));
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_y") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_y, 0));
    }

    // opg_invalid_output_treatment_cb
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_invalid_output_treatment_cb", ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_cb, 0));
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cb") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_cb, 0));
    }

    // opg_invalid_output_treatment_cr
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_invalid_output_treatment_cr", ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_cr, 0));
    }
    else if (PARAMETER_STRCMP(__name, "opg_invalid_output_treatment_cr") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)opg_invalid_output_treatment_cr, 0));
    }

    // opg_interpolation_lut_0_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_0_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_0_tab") == 0)
    {
        __result = opg_interpolation_lut_0_tab.GetInfo(&__path[__pos], __info);
    }

    // opg_interpolation_lut_1_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_1_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_1_tab") == 0)
    {
        __result = opg_interpolation_lut_1_tab.GetInfo(&__path[__pos], __info);
    }

    // opg_interpolation_lut_2_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_2_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_2_tab") == 0)
    {
        __result = opg_interpolation_lut_2_tab.GetInfo(&__path[__pos], __info);
    }

    // res_param_1
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_1", ParameterParserDataType::Float, (double)res_param_1));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_1") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_1));
    }

    // res_param_2
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_2", ParameterParserDataType::Float, (double)res_param_2));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_2") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_2));
    }

    // res_param_3
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_3", ParameterParserDataType::Float, (double)res_param_3));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_3") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_3));
    }

    // res_param_4
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_4", ParameterParserDataType::Float, (double)res_param_4));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_4") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_4));
    }

    // res_param_5
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_5", ParameterParserDataType::Float, (double)res_param_5));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_5") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_5));
    }

    // res_param_6
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_6", ParameterParserDataType::Float, (double)res_param_6));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_6") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_6));
    }

    // res_param_7
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_7", ParameterParserDataType::Float, (double)res_param_7));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_7") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_7));
    }

    // res_param_8
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_8", ParameterParserDataType::Float, (double)res_param_8));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_8") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_8));
    }

    // res_param_9
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_9", ParameterParserDataType::Float, (double)res_param_9));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_9") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_9));
    }

    // res_param_10
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_param_10", ParameterParserDataType::Float, (double)res_param_10));
    }
    else if (PARAMETER_STRCMP(__name, "res_param_10") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)res_param_10));
    }

    // res_lut_param_1_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_lut_param_1_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_1_tab") == 0)
    {
        __result = res_lut_param_1_tab.GetInfo(&__path[__pos], __info);
    }

    // res_lut_param_2_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_lut_param_2_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_2_tab") == 0)
    {
        __result = res_lut_param_2_tab.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_0") == 0)
    {
        if (__index < opg_interpolation_lut_0FixedCount)
        {
            ParameterUtils::DoubleToString((double)opg_interpolation_lut_0[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < opg_interpolation_lut_0FixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)opg_interpolation_lut_0[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_0") == 0)
    {
        if (__index < opg_interpolation_lut_0FixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                opg_interpolation_lut_0[__index] = (INT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < opg_interpolation_lut_0FixedCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    opg_interpolation_lut_0[__index] = (INT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // opg_interpolation_lut_0
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_0", ParameterParserDataType::Int32, true, false, opg_interpolation_lut_0FixedCount));
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_1") == 0)
    {
        if (__index < opg_interpolation_lut_1FixedCount)
        {
            ParameterUtils::DoubleToString((double)opg_interpolation_lut_1[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < opg_interpolation_lut_1FixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)opg_interpolation_lut_1[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_1") == 0)
    {
        if (__index < opg_interpolation_lut_1FixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                opg_interpolation_lut_1[__index] = (INT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < opg_interpolation_lut_1FixedCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    opg_interpolation_lut_1[__index] = (INT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // opg_interpolation_lut_1
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_1", ParameterParserDataType::Int32, true, false, opg_interpolation_lut_1FixedCount));
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_2") == 0)
    {
        if (__index < opg_interpolation_lut_2FixedCount)
        {
            ParameterUtils::DoubleToString((double)opg_interpolation_lut_2[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < opg_interpolation_lut_2FixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)opg_interpolation_lut_2[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "opg_interpolation_lut_2") == 0)
    {
        if (__index < opg_interpolation_lut_2FixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                opg_interpolation_lut_2[__index] = (INT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < opg_interpolation_lut_2FixedCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    opg_interpolation_lut_2[__index] = (INT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // opg_interpolation_lut_2
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("opg_interpolation_lut_2", ParameterParserDataType::Int32, true, false, opg_interpolation_lut_2FixedCount));
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_1_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "res_lut_param_1") == 0)
    {
        if (__index < res_lut_param_1FixedCount)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_1[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < res_lut_param_1FixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)res_lut_param_1[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_1_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "res_lut_param_1") == 0)
    {
        if (__index < res_lut_param_1FixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                res_lut_param_1[__index] = (float)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < res_lut_param_1FixedCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    res_lut_param_1[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_1_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // res_lut_param_1
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_lut_param_1", ParameterParserDataType::Float, true, false, res_lut_param_1FixedCount));
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_2_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "res_lut_param_2") == 0)
    {
        if (__index < res_lut_param_2FixedCount)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_2[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < res_lut_param_2FixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)res_lut_param_2[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_2_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "res_lut_param_2") == 0)
    {
        if (__index < res_lut_param_2FixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                res_lut_param_2[__index] = (float)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < res_lut_param_2FixedCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    res_lut_param_2[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_ica32_reserveType::res_lut_param_2_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // res_lut_param_2
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("res_lut_param_2", ParameterParserDataType::Float, true, false, res_lut_param_2FixedCount));
    }

    return __result;
}

bool chromatix_ica32Type::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_ica32_reserve") == 0)
    {
        __result = chromatix_ica32_reserve.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_ica32Type::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_ica32_reserve") == 0)
    {
        __result = chromatix_ica32_reserve.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatix_ica32Type::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable_section
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable_section", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.GetInfo(&__path[__pos], __info);
    }

    // module_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("module_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetInfo(&__path[__pos], __info);
    }

    // parameter_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("parameter_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetInfo(&__path[__pos], __info);
    }

    // chromatix_ica32_reserve
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("chromatix_ica32_reserve", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_ica32_reserve") == 0)
    {
        __result = chromatix_ica32_reserve.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool chromatix_ica32Type::enable_sectionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "ctc_transform_grid_enable") == 0)
    {
        ParameterUtils::DoubleToString((double)ctc_transform_grid_enable, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_ica32Type::enable_sectionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "ctc_transform_grid_enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ctc_transform_grid_enable = (globalelements::enable_flag_type)dblValue; 
        }
    }

    return __result;
}

bool chromatix_ica32Type::enable_sectionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // ctc_transform_grid_enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("ctc_transform_grid_enable", ParameterParserDataType::Int32, (double)ctc_transform_grid_enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "ctc_transform_grid_enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)ctc_transform_grid_enable, 0));
    }

    return __result;
}

bool chromatix_ica32Type::module_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)major_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)minor_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)incr_revision, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_ica32Type::module_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            major_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minor_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            incr_revision = (INT32)dblValue; 
        }
    }

    return __result;
}

bool chromatix_ica32Type::module_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // major_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("major_revision", ParameterParserDataType::Int32, (double)major_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)major_revision, 0));
    }

    // minor_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minor_revision", ParameterParserDataType::Int32, (double)minor_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minor_revision, 0));
    }

    // incr_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("incr_revision", ParameterParserDataType::Int32, (double)incr_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)incr_revision, 0));
    }

    return __result;
}

bool chromatix_ica32Type::parameter_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        PARAMETER_STRCPY(__value, __size, revision);
        __result = true;
    }

    return __result;
}

bool chromatix_ica32Type::parameter_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const /*__value*/)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }

    return __result;
}

bool chromatix_ica32Type::parameter_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("revision", ParameterParserDataType::String, revision));
    }
    else if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, revision));
    }

    return __result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_ica32TypeClass::chromatix_ica32TypeClass(
    const CHAR* name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(chromatix_ica32_reserve);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_ica32TypeClass::chromatix_ica32TypeClass(
    const CHAR*       name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(chromatix_ica32_reserve);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Destructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_ica32TypeClass::~chromatix_ica32TypeClass()
{
    if (Loaded)
    {
        UnloadModule();
    }
}


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(y_interpolation_type);
    PARAMETER_INITIALIZE(opg_invalid_output_treatment_calculate);
    PARAMETER_INITIALIZE(opg_invalid_output_treatment_y);
    PARAMETER_INITIALIZE(opg_invalid_output_treatment_cb);
    PARAMETER_INITIALIZE(opg_invalid_output_treatment_cr);
    PARAMETER_INITIALIZE(opg_interpolation_lut_0_tab);
    PARAMETER_INITIALIZE(opg_interpolation_lut_1_tab);
    PARAMETER_INITIALIZE(opg_interpolation_lut_2_tab);
    PARAMETER_INITIALIZE(res_param_1);
    PARAMETER_INITIALIZE(res_param_2);
    PARAMETER_INITIALIZE(res_param_3);
    PARAMETER_INITIALIZE(res_param_4);
    PARAMETER_INITIALIZE(res_param_5);
    PARAMETER_INITIALIZE(res_param_6);
    PARAMETER_INITIALIZE(res_param_7);
    PARAMETER_INITIALIZE(res_param_8);
    PARAMETER_INITIALIZE(res_param_9);
    PARAMETER_INITIALIZE(res_param_10);
    PARAMETER_INITIALIZE(res_lut_param_1_tab);
    PARAMETER_INITIALIZE(res_lut_param_2_tab);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xbb9bebf1908669b2;
        entry->ReadSimpleTypeFixedArray(&y_interpolation_type, 1, localParams);
        localParams.NameHash = 0xd4148bc3c704a97b;
        entry->ReadSimpleTypeFixedArray(&opg_invalid_output_treatment_calculate, 1, localParams);
        localParams.NameHash = 0xf731b14bea0acbbc;
        entry->ReadSimpleTypeFixedArray(&opg_invalid_output_treatment_y, 1, localParams);
        localParams.NameHash = 0xbdc0b8fa100dd673;
        entry->ReadSimpleTypeFixedArray(&opg_invalid_output_treatment_cb, 1, localParams);
        localParams.NameHash = 0xaa235e2e189a6a26;
        entry->ReadSimpleTypeFixedArray(&opg_invalid_output_treatment_cr, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0x8715a4825e8dcdd6;
        opg_interpolation_lut_0_tab.Load(localParams);
        localParams.NameHash        = 0xa55da2495b85c97c;
        opg_interpolation_lut_1_tab.Load(localParams);
        localParams.NameHash        = 0xc385a914549dc482;
        opg_interpolation_lut_2_tab.Load(localParams);
        localParams.NameHash = 0xd3907e737234aa4b;
        entry->ReadSimpleTypeFixedArray(&res_param_1, 1, localParams);
        localParams.NameHash = 0x9abcc1126f785645;
        entry->ReadSimpleTypeFixedArray(&res_param_2, 1, localParams);
        localParams.NameHash = 0xa258abcd6443fdbf;
        entry->ReadSimpleTypeFixedArray(&res_param_3, 1, localParams);
        localParams.NameHash = 0x8d047c070635c37e;
        entry->ReadSimpleTypeFixedArray(&res_param_4, 1, localParams);
        localParams.NameHash = 0xb5e016d80d0e6884;
        entry->ReadSimpleTypeFixedArray(&res_param_5, 1, localParams);
        localParams.NameHash = 0xfccca9b91042948a;
        entry->ReadSimpleTypeFixedArray(&res_param_6, 1, localParams);
        localParams.NameHash = 0xc428c3661b793f70;
        entry->ReadSimpleTypeFixedArray(&res_param_7, 1, localParams);
        localParams.NameHash = 0xa275062dd4aee908;
        entry->ReadSimpleTypeFixedArray(&res_param_8, 1, localParams);
        localParams.NameHash = 0x9a916cf2df9542f2;
        entry->ReadSimpleTypeFixedArray(&res_param_9, 1, localParams);
        localParams.NameHash = 0xf46fa9cb89dedbce;
        entry->ReadSimpleTypeFixedArray(&res_param_10, 1, localParams);
        localParams.NameHash        = 0xcfc01243e7e3391d;
        res_lut_param_1_tab.Load(localParams);
        localParams.NameHash        = 0xa918191ee8fb34e3;
        res_lut_param_2_tab.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatix_ica32_reserveType* arrayPtr = (chromatix_ica32_reserveType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::AllocArray(
    UINT32 __count)
{
    chromatix_ica32_reserveType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW chromatix_ica32_reserveType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType_opg_interpolation_lut_0_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(opg_interpolation_lut_0);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x972cf5f7ab2c8a16;
        entry->ReadSimpleTypeFixedArray<INT32>(opg_interpolation_lut_0, opg_interpolation_lut_0FixedCount,
            localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        opg_interpolation_lut_0_tabStruct* arrayPtr = (opg_interpolation_lut_0_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::opg_interpolation_lut_0_tabStruct::AllocArray(
    UINT32 __count)
{
    opg_interpolation_lut_0_tabStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW opg_interpolation_lut_0_tabStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType_opg_interpolation_lut_1_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(opg_interpolation_lut_1);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xafc89f28a01721ec;
        entry->ReadSimpleTypeFixedArray<INT32>(opg_interpolation_lut_1, opg_interpolation_lut_1FixedCount,
            localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        opg_interpolation_lut_1_tabStruct* arrayPtr = (opg_interpolation_lut_1_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::opg_interpolation_lut_1_tabStruct::AllocArray(
    UINT32 __count)
{
    opg_interpolation_lut_1_tabStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW opg_interpolation_lut_1_tabStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType_opg_interpolation_lut_2_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(opg_interpolation_lut_2);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xe6e42049bd5bdde2;
        entry->ReadSimpleTypeFixedArray<INT32>(opg_interpolation_lut_2, opg_interpolation_lut_2FixedCount,
            localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        opg_interpolation_lut_2_tabStruct* arrayPtr = (opg_interpolation_lut_2_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::opg_interpolation_lut_2_tabStruct::AllocArray(
    UINT32 __count)
{
    opg_interpolation_lut_2_tabStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW opg_interpolation_lut_2_tabStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType_res_lut_param_1_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::res_lut_param_1_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_1);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x94b1e9363962bb2b;
        entry->ReadSimpleTypeFixedArray<float>(res_lut_param_1, res_lut_param_1FixedCount,
            localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::res_lut_param_1_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_1_tabStruct* arrayPtr = (res_lut_param_1_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::res_lut_param_1_tabStruct::AllocArray(
    UINT32 __count)
{
    res_lut_param_1_tabStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW res_lut_param_1_tabStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32_reserveType_res_lut_param_2_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32_reserveType::res_lut_param_2_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_2);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xdd9d5657242e4725;
        entry->ReadSimpleTypeFixedArray<float>(res_lut_param_2, res_lut_param_2FixedCount,
            localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32_reserveType::res_lut_param_2_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_2_tabStruct* arrayPtr = (res_lut_param_2_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32_reserveType::res_lut_param_2_tabStruct::AllocArray(
    UINT32 __count)
{
    res_lut_param_2_tabStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW res_lut_param_2_tabStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_ica32Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(chromatix_ica32_reserve);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xd52c240cf111efe4;
        enable_section.Load(localParams);
        localParams.NameHash        = 0xe11cd9f365a2599f;
        module_version.Load(localParams);
        localParams.NameHash        = 0xca3106e199a12935;
        parameter_version.Load(localParams);
        localParams.NameHash        = 0xd1d767a76cdba2c6;
        chromatix_ica32_reserve.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32Type::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatix_ica32Type* arrayPtr = (chromatix_ica32Type*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32Type::AllocArray(
    UINT32 __count)
{
    chromatix_ica32Type* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW chromatix_ica32Type[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load enable_sectionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::enable_sectionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(ctc_transform_grid_enable);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8e5c931de1e7e828;
        entry->ReadSimpleTypeFixedArray(&ctc_transform_grid_enable, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32Type::enable_sectionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        enable_sectionStruct* arrayPtr = (enable_sectionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32Type::enable_sectionStruct::AllocArray(
    UINT32 __count)
{
    enable_sectionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW enable_sectionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::module_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xcd66249477636693;
        entry->ReadSimpleTypeFixedArray(&major_revision, 1, localParams);
        localParams.NameHash = 0xc5497493137a9c25;
        entry->ReadSimpleTypeFixedArray(&minor_revision, 1, localParams);
        localParams.NameHash = 0xb27b8a668efb2a56;
        entry->ReadSimpleTypeFixedArray(&incr_revision, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32Type::module_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        module_versionStruct* arrayPtr = (module_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32Type::module_versionStruct::AllocArray(
    UINT32 __count)
{
    module_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW module_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::parameter_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd594eed07a5650c5;
        entry->ReadStringFixedArray(&revision, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatix_ica32Type::parameter_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        parameter_versionStruct* arrayPtr = (parameter_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatix_ica32Type::parameter_versionStruct::AllocArray(
    UINT32 __count)
{
    parameter_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW parameter_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload chromatix_ica32Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::Unload(ParameterFileSymbolTable* const __table)
{
    parameter_version.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::parameter_versionStruct::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, revision);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Release the ParameterModule object
/// Requires that this object was created via a ParameterSetManager::GetModule call
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32Type::Release()
{
    ((chromatix_ica32TypeClass*)this)->Release();
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Returns the ParameterModule::Modified value
/// The Modified value is incremented when the module's data or pointer values change
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT32 chromatix_ica32Type::GetModified()
{
    return ((chromatix_ica32TypeClass*)this)->Modified;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::Name variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* chromatix_ica32Type::GetModuleName()
{
    return ((chromatix_ica32TypeClass*)this)->Name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::NameHash variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT64 chromatix_ica32Type::GetModuleNameHash()
{
    return ((chromatix_ica32TypeClass*)this)->NameHash;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Create module, and return a new object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ParameterModule* chromatix_ica32TypeClass::Create(
    ModuleData* const    moduleData,
    DefaultModule* const defModule) const
{
    chromatix_ica32TypeClass* cls = nullptr;

    if (IsModuleMatch(moduleData) && Version.Value == moduleData->Version.Value)
    {
        const UINT32 id = moduleData->DuplicateID > 0 ? moduleData->DuplicateID : moduleData->ID;

        ParameterModule* const module = defModule->Find(id);
        if (module != nullptr)
        {
            cls = (chromatix_ica32TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatix_ica32TypeClass(Name, moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_ica32TypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_ica32TypeClass, binary name hash (0x%016llx) does not match source name hash (0x%016llx)\n",
            moduleData->NameHash, NameHash);
    }

    return (ParameterModule*)cls;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module data, return true is successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_ica32TypeClass::LoadModule(
    ParameterFileSymbolTable* const table)
{
    bool result = true;

#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (!Loaded)
    {
        chromatix_ica32TypeClass* const cls = this;

        ParameterFileSymbolTableEntry  entryObj;
        ParameterFileSymbolTableEntry* const entry = &entryObj;
        // With EzTune enabled, the unused upper byte of SymbolTableID value can change, so clear it
        result = table->Find(entryObj, SymbolTableID & 0x00ffffffU);

        if (!result)
        {
            PARAMETER_LOG_ERROR(entry->Table->SetManager, "chromatix_ica32TypeClass::LoadModule Failed to find module ID (%d) in Symbol Table\n", SymbolTableID);
        }


        ParameterDefinitionElement* _element = nullptr;
        if (table->ModuleDefinitions != nullptr && !table->ModuleDefinitions->empty())
        {
            _element = table->BuildModuleElement(NameHash);
        }

        ParameterLoadParameters parentParams(entry, NameHash, true, true, _element, entry->Position, 0, ParameterFileSymbolTableEntry::LOAD_LIMIT_MAX);
        cls->Load(parentParams);
        PARAMETER_DELETE _element;
        Modified++;
        Loaded = true;
    }

    if (!result)
    {
        /// Module failed to fully load, unload it
        UnloadModule();
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32TypeClass::UnloadModule()
{
#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (Loaded)
    {
        if (Data != nullptr && Data->SymbolTable != nullptr)
        {
            Unload(Data->SymbolTable);
        }
        else
        {
            PARAMETER_LOG_ERROR(Data != nullptr ? Data->SetManager : nullptr, "UnloadModule %s called with nullptr "
                "Data->SymbolTable object\n", Name);
            Unload(nullptr);
        }
        Loaded = false;
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /// Release the ParameterModule object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_ica32TypeClass::Release()
{
    ParameterModule::Release();
}

ICA_3_2_0_NAMESPACE_END
