//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, Cfg0SearchSavedQueryDelegate
    Filename:   Cfg0SearchSavedQueryDelegate.hxx
    Module:     Cfg0configurator
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0SEARCHSAVEDQUERYDELEGATE_HXX
#define TEAMCENTER__CFG0CONFIGURATOR__CFG0SEARCHSAVEDQUERYDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Cfg0configurator/Cfg0SearchSavedQuery.hxx>

#include <Cfg0configurator/libcfg0configurator_exports.h>

namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0SearchSavedQueryDelegate;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0SearchSavedQueryImpl;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0SearchSavedQuery;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0SearchSavedQueryGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  CFG0CONFIGURATOR_API Teamcenter_alias::Cfg0configurator::Cfg0SearchSavedQueryDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Cfg0SearchSavedQueryImpl pointer
    static Cfg0SearchSavedQueryImpl*  createImpl( Cfg0SearchSavedQuery&  ifObj );

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


    ///
    /// Getter for an String Array Property
    /// @version Teamcenter 10.1.2
    /// @param values - Parameter value
    /// @param isNull - Returns true for an array element if the parameter value at that location is null
    /// @return - Status. 0 if successful
    ///
    int  getCfg0EntriesBase(const Cfg0SearchSavedQuery &ifObj,  std::vector< std::string > &values, std::vector< int > &isNull ) const;


    ///
    /// Getter for a Tag Property
    /// @version Teamcenter 10.1.2
    /// @param value - Parameter value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getCfg0QueryBase(const Cfg0SearchSavedQuery &ifObj,  tag_t &value, bool &isNull ) const;


    ///
    /// Getter for an String Array Property
    /// @version Teamcenter 10.1.2
    /// @param values - Parameter value
    /// @param isNull - Returns true for an array element if the parameter value at that location is null
    /// @return - Status. 0 if successful
    ///
    int  getCfg0ValuesBase(const Cfg0SearchSavedQuery &ifObj,  std::vector< std::string > &values, std::vector< int > &isNull ) const;



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

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


private:
    friend class  ::Teamcenter::Cfg0configurator::Cfg0SearchSavedQueryGenImpl;

};

#include <Cfg0configurator/libcfg0configurator_undef.h>
#endif  //  TEAMCENTER__CFG0CONFIGURATOR__CFG0SEARCHSAVEDQUERYDELEGATE_HXX
