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.
183 lines
5.7 KiB
183 lines
5.7 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, Att0MeasurableAttributeInt
|
|
Filename: Att0MeasurableAttributeInt.hxx
|
|
Module: Att0attrtargetmgmt
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEINT__HXX
|
|
#define ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEINT__HXX
|
|
|
|
#include <unidefs.h>
|
|
#include <string>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <Att0attrtargetmgmt/Att0MeasurableAttribute.hxx>
|
|
|
|
#include <Att0attrtargetmgmt/libatt0attrtargetmgmt_exports.h>
|
|
|
|
namespace att0attrtargetmgmt
|
|
{
|
|
class Att0MeasurableAttributeInt;
|
|
}
|
|
namespace att0attrtargetmgmt
|
|
{
|
|
class Att0MeasurableAttributeIntImpl;
|
|
}
|
|
namespace att0attrtargetmgmt
|
|
{
|
|
class Att0MeasurableAttributeIntDelegate;
|
|
}
|
|
namespace att0attrtargetmgmt
|
|
{
|
|
class Att0MeasurableAttributeIntDispatch;
|
|
}
|
|
namespace att0attrtargetmgmt
|
|
{
|
|
class Att0MeasurableAttributeIntGenImpl;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class ATT0ATTRTARGETMGMT_API att0attrtargetmgmt::Att0MeasurableAttributeInt
|
|
: public ::att0attrtargetmgmt::Att0MeasurableAttribute
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getAtt0CurrentValue( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getAtt0DisplayGoal( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getAtt0DisplayMax( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getAtt0DisplayMin( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getAtt0Measurement( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Setter for an Integer Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @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 setAtt0Goal( int value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for an Integer Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @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 setAtt0Max( int value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for an Integer Property
|
|
/// @version Teamcenter 10.1.4
|
|
/// @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 setAtt0Min( int value, bool isNull=false );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Att0MeasurableAttributeInt();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Att0MeasurableAttributeInt();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Att0MeasurableAttributeIntImpl* getAtt0MeasurableAttributeIntImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setAtt0MeasurableAttributeIntImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Att0MeasurableAttributeIntImpl* m_att0measurableattributeintImpl;
|
|
|
|
// Flag to indicate if Implementation object needs to be deleted
|
|
bool m_deleteImpl;
|
|
|
|
/**
|
|
* Name of the Business Object
|
|
*/
|
|
static std::string name;
|
|
|
|
/**
|
|
* Private default constructor. We do not want this class instantiated without the business object passed in.
|
|
* @param Att0MeasurableAttributeInt - desc for Att0MeasurableAttributeInt parameter
|
|
*/
|
|
Att0MeasurableAttributeInt( const Att0MeasurableAttributeInt& );
|
|
Att0MeasurableAttributeInt& operator=( const Att0MeasurableAttributeInt& );
|
|
|
|
friend class Att0MeasurableAttributeIntDelegate;
|
|
friend class Att0MeasurableAttributeIntDispatch;
|
|
friend class Att0MeasurableAttributeIntGenImpl;
|
|
};
|
|
|
|
#include <Att0attrtargetmgmt/libatt0attrtargetmgmt_undef.h>
|
|
#endif // ATT0ATTRTARGETMGMT__ATT0MEASURABLEATTRIBUTEINT__HXX
|