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.

218 lines
7.6 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, VariantDelegate
Filename: VariantDelegate.hxx
Module: ps
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__VARIANTDELEGATE_HXX
#define TEAMCENTER__VARIANTDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <ps/Variant.hxx>
#include <ps/libps_exports.h>
namespace Teamcenter
{
class VariantDelegate;
}
namespace Teamcenter
{
class VariantImpl;
}
namespace Teamcenter
{
class Variant;
}
namespace Teamcenter
{
class VariantGenImpl;
}
namespace Teamcenter_alias = ::Teamcenter;
class PS_API Teamcenter_alias::VariantDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the VariantDelegate instance
static VariantDelegate& getInstance();
// Method to create the VariantImpl pointer
static VariantImpl* createImpl( Variant& ifObj );
// Method to delete the VariantImpl pointer
static void deleteImpl( VariantImpl* impl );
///
/// Getter for an Integer Property
/// @version Teamcenter 10.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0comparison_modeBase(const Variant &ifObj, int &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 10.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0has_free_form_valuesBase(const Variant &ifObj, bool &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 10.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0is_discretionaryBase(const Variant &ifObj, bool &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 10.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0is_model_familyBase(const Variant &ifObj, bool &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 10.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0is_multi_selectBase(const Variant &ifObj, bool &value, bool &isNull ) const;
///
/// Getter for an String Array Property
/// @version Teamcenter 10.1
/// @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 getFnd0optionValuesBase(const Variant &ifObj, std::vector< std::string > &values, std::vector< int > &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 10.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0uomBase(const Variant &ifObj, tag_t &value, bool &isNull ) const;
///
/// Setter for a Tag Property
/// @version Teamcenter 10.1
/// @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 setFnd0uomBase(Variant &ifObj, const tag_t &value, bool isNull );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @param isLockForDelete - A boolean to indicate if object(s) are to be locked for deletion
/// @param allowRelock - A boolean to indicate if object(s) can be relocked, which will discard all unsaved changes, if already locked by the same user
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0LockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0RefreshBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @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 - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0SaveBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
/// @version Teamcenter 11.2.2
/// @param inputs - A vector of data that contains reference to the object to be refreshed
/// @param bd - A data structure to store objects and other information relevant for set-based operation
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
///
int fnd0UnlockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
///
/// desc for createPost
/// @version Tc 8
/// @param creInput - Description for the Create Input
/// @return - return desc for createPost
///
int createPostBase(const Variant &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 Variant &ifObj, ::Teamcenter::CreateInput *creInput );
protected:
// Pointer to the instance
static VariantDelegate* m_pInstance;
VariantDelegate();
virtual ~VariantDelegate();
static void setInstance( VariantDelegate* instance );
private:
friend class ::Teamcenter::VariantGenImpl;
};
#include <ps/libps_undef.h>
#endif // TEAMCENTER__VARIANTDELEGATE_HXX