//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, Clr0ColorDelegate
    Filename:   Clr0ColorDelegate.hxx
    Module:     Clr0colorappearance
    @BMIDE autogenerated
==================================================================================================*/

#ifndef CLR0COLORAPPEARANCE__CLR0COLORDELEGATE_HXX
#define CLR0COLORAPPEARANCE__CLR0COLORDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Clr0colorappearance/Clr0Color.hxx>

#include <Clr0colorappearance/libclr0colorappearance_exports.h>

namespace Clr0ColorAppearance
{
    class Clr0ColorDelegate;
}
namespace Clr0ColorAppearance
{
    class Clr0ColorImpl;
}
namespace Clr0ColorAppearance
{
    class Clr0Color;
}
namespace Clr0ColorAppearance
{
    class Clr0ColorGenImpl;
}

namespace Clr0ColorAppearance_alias = ::Clr0ColorAppearance;


class  CLR0COLORAPPEARANCE_API Clr0ColorAppearance_alias::Clr0ColorDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the Clr0ColorDelegate instance
    static Clr0ColorDelegate&  getInstance();

    //  Method to create the Clr0ColorImpl pointer
    static Clr0ColorImpl*  createImpl( Clr0Color&  ifObj );

    //  Method to delete the Clr0ColorImpl pointer
    static void deleteImpl( Clr0ColorImpl*  impl );


    ///
    /// Getter for a string Property
    /// @version Teamcenter 10.1.3
    /// @param value - Parameter value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getClr0ColorCodeBase(const Clr0Color &ifObj,  std::string &value, bool &isNull ) const;



protected:
    //  Pointer to the instance
    static Clr0ColorDelegate*  m_pInstance;

    Clr0ColorDelegate();
    virtual ~Clr0ColorDelegate();
    static void setInstance( Clr0ColorDelegate*  instance );


private:
    friend class  ::Clr0ColorAppearance::Clr0ColorGenImpl;

};

#include <Clr0colorappearance/libclr0colorappearance_undef.h>
#endif  //  CLR0COLORAPPEARANCE__CLR0COLORDELEGATE_HXX
