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.
99 lines
3.1 KiB
99 lines
3.1 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, Osl0ProviderWriterDelegate
|
|
Filename: Osl0ProviderWriterDelegate.hxx
|
|
Module: Osl0lisoslc
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef OSL0LISOSLC__OSL0PROVIDERWRITERDELEGATE_HXX
|
|
#define OSL0LISOSLC__OSL0PROVIDERWRITERDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <Osl0lisoslc/Osl0ProviderWriter.hxx>
|
|
|
|
#include <Osl0lisoslc/libosl0lisoslc_exports.h>
|
|
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ProviderWriterDelegate;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ProviderWriterImpl;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ProviderWriter;
|
|
}
|
|
namespace osl0lisoslc
|
|
{
|
|
class Osl0ProviderWriterGenImpl;
|
|
}
|
|
|
|
namespace osl0lisoslc_alias = ::osl0lisoslc;
|
|
|
|
|
|
class OSL0LISOSLC_API osl0lisoslc_alias::Osl0ProviderWriterDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the Osl0ProviderWriterDelegate instance
|
|
static Osl0ProviderWriterDelegate& getInstance();
|
|
|
|
// Method to create the Osl0ProviderWriterImpl pointer
|
|
static Osl0ProviderWriterImpl* createImpl( Osl0ProviderWriter& ifObj );
|
|
|
|
// Method to delete the Osl0ProviderWriterImpl pointer
|
|
static void deleteImpl( Osl0ProviderWriterImpl* impl );
|
|
|
|
|
|
///
|
|
/// Create a resource model based on the input resource instance
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param resourceTag - Resource instance
|
|
/// @param inputTag - extra tag or parameter to pass
|
|
/// @param resourceModel - populate the resource model
|
|
/// @return - Error code. If successful, return 0.
|
|
///
|
|
int lis0CreateResourceModelBase(const Osl0ProviderWriter &ifObj, tag_t resourceTag, tag_t inputTag, lis0lisfmwrk::AbstractResource **resourceModel ) const;
|
|
|
|
|
|
///
|
|
/// Validate if it is supported to write based on the input resource instance
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param resourceTag - Resource instance
|
|
/// @param canWrite - Flag to indicate if it is supported to write based on the input resource instance
|
|
/// @return - Error code. If successful, return 0.
|
|
///
|
|
int lis0IsWritableBase(const Osl0ProviderWriter &ifObj, tag_t resourceTag, bool *canWrite ) const;
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static Osl0ProviderWriterDelegate* m_pInstance;
|
|
|
|
Osl0ProviderWriterDelegate();
|
|
virtual ~Osl0ProviderWriterDelegate();
|
|
static void setInstance( Osl0ProviderWriterDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::osl0lisoslc::Osl0ProviderWriterGenImpl;
|
|
|
|
};
|
|
|
|
#include <Osl0lisoslc/libosl0lisoslc_undef.h>
|
|
#endif // OSL0LISOSLC__OSL0PROVIDERWRITERDELEGATE_HXX
|