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.
163 lines
4.4 KiB
163 lines
4.4 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, Cls0ClassBase
|
|
Filename: Cls0ClassBase.hxx
|
|
Module: Cls0classification
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__CLASSIFICATION__CLS0CLASSBASE__HXX
|
|
#define TEAMCENTER__CLASSIFICATION__CLS0CLASSBASE__HXX
|
|
|
|
#include <unidefs.h>
|
|
#include <string>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <mdl0model/Mdl0ModelElement.hxx>
|
|
|
|
#include <Cls0classification/libcls0classification_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ClassBase;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ClassBaseImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ClassBaseDelegate;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ClassBaseDispatch;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
namespace Classification
|
|
{
|
|
class Cls0ClassBaseGenImpl;
|
|
}
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class CLS0CLASSIFICATION_API Teamcenter::Classification::Cls0ClassBase
|
|
: public ::Teamcenter::AppModel::Mdl0ModelElement
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// Getter for a Tag Property
|
|
/// @version Teamcenter 10
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getCls0classified_object( tag_t &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 10
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getCls0object_id( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Setter for a Tag Property
|
|
/// @version Teamcenter 10
|
|
/// @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 setCls0classified_object( const tag_t &value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a string Property
|
|
/// @version Teamcenter 10
|
|
/// @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 setCls0object_id( const std::string &value, bool isNull=false );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Cls0ClassBase();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Cls0ClassBase();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Cls0ClassBaseImpl* getCls0ClassBaseImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setCls0ClassBaseImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Cls0ClassBaseImpl* m_cls0classbaseImpl;
|
|
|
|
// 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 Cls0ClassBase - desc for Cls0ClassBase parameter
|
|
*/
|
|
Cls0ClassBase( const Cls0ClassBase& );
|
|
Cls0ClassBase& operator=( const Cls0ClassBase& );
|
|
|
|
friend class Cls0ClassBaseDelegate;
|
|
friend class Cls0ClassBaseDispatch;
|
|
friend class Cls0ClassBaseGenImpl;
|
|
};
|
|
|
|
#include <Cls0classification/libcls0classification_undef.h>
|
|
#endif // TEAMCENTER__CLASSIFICATION__CLS0CLASSBASE__HXX
|