You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
5.3 KiB
161 lines
5.3 KiB
//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, Cpd0DesignFeatureDelegate
|
|
Filename: Cpd0DesignFeatureDelegate.hxx
|
|
Module: cpd0cd
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__CPD__CPD0DESIGNFEATUREDELEGATE_HXX
|
|
#define TEAMCENTER__CPD__CPD0DESIGNFEATUREDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <cpd0cd/Cpd0DesignFeature.hxx>
|
|
|
|
#include <cpd0cd/libcpd0cd_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cpd
|
|
{
|
|
class Cpd0DesignFeatureDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cpd
|
|
{
|
|
class Cpd0DesignFeatureImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cpd
|
|
{
|
|
class Cpd0DesignFeature;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cpd
|
|
{
|
|
class Cpd0DesignFeatureGenImpl;
|
|
}
|
|
}
|
|
|
|
namespace Teamcenter_alias = ::Teamcenter;
|
|
|
|
|
|
class CPD0CD_API Teamcenter_alias::Cpd::Cpd0DesignFeatureDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the Cpd0DesignFeatureDelegate instance
|
|
static Cpd0DesignFeatureDelegate& getInstance();
|
|
|
|
// Method to create the Cpd0DesignFeatureImpl pointer
|
|
static Cpd0DesignFeatureImpl* createImpl( Cpd0DesignFeature& ifObj );
|
|
|
|
// Method to delete the Cpd0DesignFeatureImpl pointer
|
|
static void deleteImpl( Cpd0DesignFeatureImpl* impl );
|
|
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getCpd0design_feature_idBase(const Cpd0DesignFeature &ifObj, std::string &value, bool &isNull ) const;
|
|
|
|
|
|
///
|
|
/// Setter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setCpd0design_feature_idBase(Cpd0DesignFeature &ifObj, const std::string &value, bool isNull );
|
|
|
|
|
|
///
|
|
/// Description for the Finalize Create Input
|
|
/// @version Tc 8
|
|
/// @param creInput - desc for creInput parameter
|
|
/// @return - Return desc for Initialize for Create
|
|
///
|
|
int finalizeCreateInputBase(const Cpd0DesignFeature &ifObj, ::Teamcenter::CreateInput *creInput );
|
|
|
|
|
|
///
|
|
/// Finalize operation input.
|
|
/// @version Teamcenter 10.1
|
|
/// @param pReviseInput - desc
|
|
/// @param vecDeepCopyData - desc
|
|
/// @return - returns n int.
|
|
///
|
|
int finalizeReviseInputBase(const Cpd0DesignFeature &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
|
|
|
|
|
|
///
|
|
/// finalize operation input
|
|
/// @version Teamcenter 9
|
|
/// @param pSavAsInput - desc
|
|
/// @param vecDeepCopyData - desc
|
|
/// @return - returns an int
|
|
///
|
|
int finalizeSaveAsInputBase(const Cpd0DesignFeature &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
|
|
|
|
|
|
///
|
|
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
|
|
/// @version Teamcenter 11.2.3
|
|
/// @param inputs - A vector of data that contains reference information to the object to be saved
|
|
/// @param bd - A data structure to store objects and other information relevant for set-based operation
|
|
/// @return -
|
|
///
|
|
int fnd0FinalizeSaveAsInputBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
|
|
|
|
|
|
///
|
|
/// similar to finalizeSaveAsInputBase, this method allows for final changes to the revise descriptor before actually performing the revise
|
|
/// @version Teamcenter 9
|
|
/// @param pSavAsInput - saveAs input
|
|
/// @param vecDeepCopyData - vector of deep copy data for revise
|
|
/// @deprecated #Teamcenter::AppModel::Mdl0ConditionalElement::mdl0finalizeReviseInput deprecated in Teamcenter 11.2
|
|
/// @return - SaveAsInput is updated
|
|
///
|
|
TC_DEPRECATED_WITH_DEPRECATION_INFO("Teamcenter 11.2","Teamcenter::AppModel::Mdl0ConditionalElement::mdl0finalizeReviseInput","This operation is deprecated in Teamcenter 11.2 and will be removed in Teamcenter 13. Please use finalizeReviseInput operation instead.")
|
|
int mdl0finalizeReviseInputBase(const Cpd0DesignFeature &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static Cpd0DesignFeatureDelegate* m_pInstance;
|
|
|
|
Cpd0DesignFeatureDelegate();
|
|
virtual ~Cpd0DesignFeatureDelegate();
|
|
static void setInstance( Cpd0DesignFeatureDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::Teamcenter::Cpd::Cpd0DesignFeatureGenImpl;
|
|
|
|
};
|
|
|
|
#include <cpd0cd/libcpd0cd_undef.h>
|
|
#endif // TEAMCENTER__CPD__CPD0DESIGNFEATUREDELEGATE_HXX
|