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.
139 lines
4.1 KiB
139 lines
4.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, Cls0ContextDelegate
|
|
Filename: Cls0ContextDelegate.hxx
|
|
Module: Cls0classification
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__CLASSIFICATION__CLS0CONTEXTDELEGATE_HXX
|
|
#define TEAMCENTER__CLASSIFICATION__CLS0CONTEXTDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <Cls0classification/Cls0Context.hxx>
|
|
|
|
#include <Cls0classification/libcls0classification_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ContextDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ContextImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0Context;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ContextGenImpl;
|
|
}
|
|
}
|
|
|
|
namespace Teamcenter_alias = ::Teamcenter;
|
|
|
|
|
|
class CLS0CLASSIFICATION_API Teamcenter_alias::Classification::Cls0ContextDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the Cls0ContextDelegate instance
|
|
static Cls0ContextDelegate& getInstance();
|
|
|
|
// Method to create the Cls0ContextImpl pointer
|
|
static Cls0ContextImpl* createImpl( Cls0Context& ifObj );
|
|
|
|
// Method to delete the Cls0ContextImpl pointer
|
|
static void deleteImpl( Cls0ContextImpl* impl );
|
|
|
|
|
|
///
|
|
/// desc for createPost
|
|
/// @version Tc 8
|
|
/// @param creInput - Description for the Create Input
|
|
/// @return - return desc for createPost
|
|
///
|
|
int createPostBase(const Cls0Context &ifObj, ::Teamcenter::CreateInput *creInput );
|
|
|
|
|
|
///
|
|
/// 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 Cls0Context &ifObj, ::Teamcenter::CreateInput *creInput );
|
|
|
|
|
|
///
|
|
/// finalize operation input
|
|
/// @version Teamcenter 9
|
|
/// @param pSavAsInput - desc
|
|
/// @param vecDeepCopyData - desc
|
|
/// @return - returns an int
|
|
///
|
|
int finalizeSaveAsInputBase(const Cls0Context &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData );
|
|
|
|
|
|
///
|
|
/// 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 Cls0Context &ifObj, const std::vector< std::string > *propertyNames, std::vector< tag_t > *childTags, std::vector< std::string > *childContextPropertyNames );
|
|
|
|
|
|
///
|
|
/// desc for validate for create
|
|
/// @version Tc 8
|
|
/// @param creInput - desc for creInput parameter
|
|
/// @return - ret desc for validate for create
|
|
///
|
|
int validateCreateInputBase(const Cls0Context &ifObj, ::Teamcenter::CreateInput *creInput );
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static Cls0ContextDelegate* m_pInstance;
|
|
|
|
Cls0ContextDelegate();
|
|
virtual ~Cls0ContextDelegate();
|
|
static void setInstance( Cls0ContextDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::Teamcenter::Classification::Cls0ContextGenImpl;
|
|
|
|
};
|
|
|
|
#include <Cls0classification/libcls0classification_undef.h>
|
|
#endif // TEAMCENTER__CLASSIFICATION__CLS0CONTEXTDELEGATE_HXX
|