//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, LibraryDelegate Filename: LibraryDelegate.hxx Module: meta @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__LIBRARYDELEGATE_HXX #define TEAMCENTER__LIBRARYDELEGATE_HXX #include #include #include namespace Teamcenter { class LibraryDelegate; } namespace Teamcenter { class LibraryImpl; } namespace Teamcenter { class Library; } namespace Teamcenter { class LibraryGenImpl; } namespace Teamcenter_alias = ::Teamcenter; class META_API Teamcenter_alias::LibraryDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the LibraryDelegate instance static LibraryDelegate& getInstance(); // Method to create the LibraryImpl pointer static LibraryImpl* createImpl( Library& ifObj ); // Method to delete the LibraryImpl pointer static void deleteImpl( LibraryImpl* impl ); /// /// Getter for a Tag Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getCreateReleaseBase(const Library &ifObj, tag_t &value, bool &isNull ) const; /// /// Getter for a Tag Array Property /// @version Tc 8 /// @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 getDependentOnBase(const Library &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDeprecatedDescriptionBase(const Library &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDeprecatedReleaseBase(const Library &ifObj, tag_t &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDescriptionBase(const Library &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getIsDeprecatedBase(const Library &ifObj, bool &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getIsThirdPartyBase(const Library &ifObj, bool &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getNameBase(const Library &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getNamespaceBase(const Library &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getServiceLibraryBase(const Library &ifObj, bool &value, bool &isNull ) const; /// /// Setter for a Tag Property /// @version Tc 8 /// @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 setCreateReleaseBase(Library &ifObj, const tag_t &value, bool isNull ); /// /// Setter for a Tag Array Property /// @version Tc 8 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setDependentOnBase(Library &ifObj, const std::vector< tag_t > &values, const std::vector< int > *isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setDeprecatedDescriptionBase(Library &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Tag Property /// @version Tc 8 /// @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 setDeprecatedReleaseBase(Library &ifObj, const tag_t &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setDescriptionBase(Library &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Boolean Property /// @version Tc 8 /// @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 setIsDeprecatedBase(Library &ifObj, bool value, bool isNull ); /// /// Setter for a Boolean Property /// @version Tc 8 /// @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 setIsThirdPartyBase(Library &ifObj, bool value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setNameBase(Library &ifObj, const std::string &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setNamespaceBase(Library &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Boolean Property /// @version Tc 8 /// @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 setServiceLibraryBase(Library &ifObj, bool value, bool isNull ); protected: // Pointer to the instance static LibraryDelegate* m_pInstance; LibraryDelegate(); virtual ~LibraryDelegate(); static void setInstance( LibraryDelegate* instance ); private: friend class ::Teamcenter::LibraryGenImpl; }; #include #endif // TEAMCENTER__LIBRARYDELEGATE_HXX