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.
162 lines
4.5 KiB
162 lines
4.5 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, Cfg0AbsModel
|
|
Filename: Cfg0AbsModel.hxx
|
|
Module: Cfg0configurator
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSMODEL__HXX
|
|
#define TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSMODEL__HXX
|
|
|
|
#include <vector>
|
|
#include <unidefs.h>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <Cfg0configurator/Cfg0AbsValue.hxx>
|
|
|
|
#include <Cfg0configurator/libcfg0configurator_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cfg0configurator
|
|
{
|
|
class Cfg0AbsModel;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cfg0configurator
|
|
{
|
|
class Cfg0AbsModelImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cfg0configurator
|
|
{
|
|
class Cfg0AbsModelDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cfg0configurator
|
|
{
|
|
class Cfg0AbsModelDispatch;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Cfg0configurator
|
|
{
|
|
class Cfg0AbsModelGenImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class CFG0CONFIGURATOR_API Teamcenter::Cfg0configurator::Cfg0AbsModel
|
|
: public ::Teamcenter::Cfg0configurator::Cfg0AbsValue
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// Getter for a Tag Array Property
|
|
/// @version Teamcenter 12.3
|
|
/// @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 getCfg0Characteristics( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 10.1.2
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getCfg0ModelFamily( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Tag Property. This property will be loaded based on application configurations.
|
|
/// @version Teamcenter 12.2
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getCfg0Parent( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Setter for a Tag Property. This property setter will update the property cfg0ParentThread.
|
|
/// @version Teamcenter 12.2
|
|
/// @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 setCfg0Parent( const tag_t &value, bool isNull=false );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Cfg0AbsModel();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Cfg0AbsModel();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Cfg0AbsModelImpl* getCfg0AbsModelImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setCfg0AbsModelImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Cfg0AbsModelImpl* m_cfg0absmodelImpl;
|
|
|
|
// 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 Cfg0AbsModel - desc for Cfg0AbsModel parameter
|
|
*/
|
|
Cfg0AbsModel( const Cfg0AbsModel& );
|
|
Cfg0AbsModel& operator=( const Cfg0AbsModel& );
|
|
|
|
friend class Cfg0AbsModelDelegate;
|
|
friend class Cfg0AbsModelDispatch;
|
|
friend class Cfg0AbsModelGenImpl;
|
|
};
|
|
|
|
#include <Cfg0configurator/libcfg0configurator_undef.h>
|
|
#endif // TEAMCENTER__CFG0CONFIGURATOR__CFG0ABSMODEL__HXX
|