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

#ifndef TEAMCENTER__APPRSEARCHCRITERIAGROUPDELEGATE_HXX
#define TEAMCENTER__APPRSEARCHCRITERIAGROUPDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <rdv/ApprSearchCriteriaGroup.hxx>

#include <rdv/librdv_exports.h>

namespace Teamcenter
{
    class ApprSearchCriteriaGroupDelegate;
}
namespace Teamcenter
{
    class ApprSearchCriteriaGroupImpl;
}
namespace Teamcenter
{
    class ApprSearchCriteriaGroup;
}
namespace Teamcenter
{
    class ApprSearchCriteriaGroupGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  RDV_API Teamcenter_alias::ApprSearchCriteriaGroupDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the ApprSearchCriteriaGroupImpl pointer
    static ApprSearchCriteriaGroupImpl*  createImpl( ApprSearchCriteriaGroup&  ifObj );

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


    ///
    /// This operation returns the children to be displayed when expanding this object.
    /// @version Teamcenter 10
    /// @param propertyNames - The list of propertyNames to expand.  If empty, then the properties defined in <TYPE>_DefaultChildProperties and <TYPE>_DefaultPseudoFolder are returned.
    /// @param childTags - Tags of children.
    /// @param childContextPropertyNames - The propertyName in which this child exists in the parent.
    /// @return - status
    ///
    int  fnd0GetChildrenBase(const ApprSearchCriteriaGroup &ifObj,  const std::vector< std::string > *propertyNames, std::vector< tag_t > *childTags, std::vector< std::string > *childContextPropertyNames );



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

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


private:
    friend class  ::Teamcenter::ApprSearchCriteriaGroupGenImpl;

};

#include <rdv/librdv_undef.h>
#endif  //  TEAMCENTER__APPRSEARCHCRITERIAGROUPDELEGATE_HXX
