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.

253 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, Cpd0DesignModelElement
Filename: Cpd0DesignModelElement.hxx
Module: cpd0cd
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX
#define TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX
#include <string>
#include <vector>
#include <unidefs.h>
#include <common/tc_deprecation_macros.h>
#include <mdl0modelgeometry/Mdl0PositionedModelElement.hxx>
#include <cpd0cd/libcpd0cd_exports.h>
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignModelElement;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignModelElementImpl;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignModelElementDelegate;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignModelElementDispatch;
}
}
namespace Teamcenter
{
namespace Cpd
{
class Cpd0DesignModelElementGenImpl;
}
}
namespace Teamcenter
{
class RootObjectImpl;
}
class CPD0CD_API Teamcenter::Cpd::Cpd0DesignModelElement
: public ::Teamcenter::AppModel::Mdl0PositionedModelElement
{
public:
/**
* Get the Interface Name
* @return - return desc for getInterfaceName
*/
static const std::string& getInterfaceName();
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0category( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Array Property
/// @version Teamcenter 9
/// @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 getCpd0connected_features( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0design_element_id( std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0id_in_parent( std::string &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0instance( tag_t &value, bool &isNull ) const;
///
/// Getter for a Boolean Property
/// @version Teamcenter 11.1
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0is_leaf( bool &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0presented_parent( tag_t &value, bool &isNull ) const;
///
/// Getter for a Tag Property
/// @version Teamcenter 11.1
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCpd0source_object( tag_t &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @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 setCpd0category( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @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 setCpd0design_element_id( const std::string &value, bool isNull=false );
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @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 setCpd0id_in_parent( const std::string &value, bool isNull=false );
///
/// Setter for a Boolean Property
/// @version Teamcenter 11.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 setCpd0is_leaf( bool value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 9
/// @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 setCpd0presented_parent( const tag_t &value, bool isNull=false );
///
/// Setter for a Tag Property
/// @version Teamcenter 11.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 setCpd0source_object( const tag_t &value, bool isNull=false );
protected:
// Method to initialize
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
/**
* Constructor
*/
Cpd0DesignModelElement();
/**
* Destructor
*/
virtual ~Cpd0DesignModelElement();
private:
// Getter method for the Implementation Object
Cpd0DesignModelElementImpl* getCpd0DesignModelElementImpl() const;
// Setter method for the Implementation Object
::Teamcenter::RootObjectImpl* setCpd0DesignModelElementImpl( ::Teamcenter::RootObjectImpl* impl );
// Method to set the delete impl boolean
void setDeleteImpl( bool del );
// Pointer to the Implementation object
Cpd0DesignModelElementImpl* m_cpd0designmodelelementImpl;
// 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 Cpd0DesignModelElement - desc for Cpd0DesignModelElement parameter
*/
Cpd0DesignModelElement( const Cpd0DesignModelElement& );
Cpd0DesignModelElement& operator=( const Cpd0DesignModelElement& );
friend class Cpd0DesignModelElementDelegate;
friend class Cpd0DesignModelElementDispatch;
friend class Cpd0DesignModelElementGenImpl;
};
#include <cpd0cd/libcpd0cd_undef.h>
#endif // TEAMCENTER__CPD__CPD0DESIGNMODELELEMENT__HXX