Skip to content

File EnumClasses.h

File List > include > SpinGenApi > EnumClasses.h

Go to the documentation of this file

//=============================================================================
// Copyright (c) 2026 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR).
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================

#ifndef SPINNAKER_GENAPI_ENUMCLASSES_H
#define SPINNAKER_GENAPI_ENUMCLASSES_H

#include "GCString.h"
#include "Types.h"

namespace Spinnaker
{
    namespace GenApi
    {
        //*************************************************************
        // Build in enumeration classes
        //*************************************************************

        class SPINNAKER_API ESignClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, ESign* pValue);

            static void ToString(GenICam::gcstring& ValueStr, ESign* pValue);

            static GenICam::gcstring ToString(ESign Value);
        };

        class SPINNAKER_API EEndianessClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EEndianess* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EEndianess* pValue);

            static GenICam::gcstring ToString(EEndianess Value);
        };

        class SPINNAKER_API ERepresentationClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, ERepresentation* pValue);

            static void ToString(GenICam::gcstring& ValueStr, ERepresentation* pValue);

            static GenICam::gcstring ToString(ERepresentation Value);
        };

        class SPINNAKER_API EVisibilityClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EVisibility* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EVisibility* pValue);

            static GenICam::gcstring ToString(EVisibility Value);
        };

        class SPINNAKER_API EAccessModeClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EAccessMode* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EAccessMode* pValue);

            static GenICam::gcstring ToString(EAccessMode Value);
        };

        class SPINNAKER_API ECachingModeClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, ECachingMode* pValue);

            static void ToString(GenICam::gcstring& ValueStr, ECachingMode* pValue);

            static GenICam::gcstring ToString(ECachingMode Value);
        };

        class SPINNAKER_API ENameSpaceClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, ENameSpace* pValue);

            static void ToString(GenICam::gcstring& ValueStr, ENameSpace* pValue);

            static GenICam::gcstring ToString(ENameSpace Value);
        };

        class SPINNAKER_API EYesNoClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EYesNo* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EYesNo* pValue);

            static GenICam::gcstring ToString(EYesNo Value);
        };

        class SPINNAKER_API EStandardNameSpaceClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EStandardNameSpace* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EStandardNameSpace* pValue);

            static GenICam::gcstring ToString(EStandardNameSpace Value);
        };

        class SPINNAKER_API ESlopeClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, ESlope* pValue);

            static void ToString(GenICam::gcstring& ValueStr, ESlope* pValue);

            static GenICam::gcstring ToString(ESlope Value);
        };

        class SPINNAKER_API EDisplayNotationClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EDisplayNotation* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EDisplayNotation* pValue);

            static GenICam::gcstring ToString(EDisplayNotation Value);
        };

        class SPINNAKER_API EInputDirectionClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EInputDirection* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EInputDirection* pValue);

            static GenICam::gcstring ToString(EInputDirection Value);
        };

        class SPINNAKER_API EGenApiSchemaVersionClass
        {
          public:
            static bool FromString(const GenICam::gcstring& ValueStr, EGenApiSchemaVersion* pValue);

            static void ToString(GenICam::gcstring& ValueStr, EGenApiSchemaVersion* pValue);

            static GenICam::gcstring ToString(EGenApiSchemaVersion Value);
        };

    } // namespace GenApi
} // namespace Spinnaker

#endif // ifndef SPINNAKER_GENAPI_ENUMCLASSES_H