////////////////////////////////////////////////////////////////////////////// // // Copyright 2026 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software. // ////////////////////////////////////////////////////////////////////////////// #pragma once #include "ConfigurationTable.h" #include // THIS CLASS WILL BE VISIBLE TO AN API CLIENT. // THIS HEADER FILE WILL BE GENERATED FROM NIDL. #include #ifdef FUSIONXINTERFACE_EXPORTS # ifdef __COMPILING_ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_CPP__ # define ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API XI_EXPORT # else # define ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API # endif #else # define ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API XI_IMPORT #endif namespace adsk { namespace fusion { class ConfigurationPlasticRuleColumns; class ConfigurationThemeColumn; }} namespace adsk { namespace fusion { /// Represents a configuration table that defines different plastic rules. class ConfigurationPlasticRuleTable : public ConfigurationTable { public: /// Returns the collection that provides access to the columns in this table. core::Ptr columns() const; /// Clears the content of the plastic rule table, removes the reference from /// the top table, and hides it in the user interface. /// Returns true if successful. bool clear(); /// Returns the column in the top table that references this plastic rule table. core::Ptr parentTableColumn() const; /// Returns the name of the table as seen in the user interface. std::string name() const; ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API static const char* classType(); ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API const char* objectType() const override; ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API void* queryInterface(const char* id) const override; ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API static const char* interfaceId() { return classType(); } private: // Raw interface virtual ConfigurationPlasticRuleColumns* columns_raw() const = 0; virtual bool clear_raw() = 0; virtual ConfigurationThemeColumn* parentTableColumn_raw() const = 0; virtual char* name_raw() const = 0; }; // Inline wrappers inline core::Ptr ConfigurationPlasticRuleTable::columns() const { core::Ptr res = columns_raw(); return res; } inline bool ConfigurationPlasticRuleTable::clear() { bool res = clear_raw(); return res; } inline core::Ptr ConfigurationPlasticRuleTable::parentTableColumn() const { core::Ptr res = parentTableColumn_raw(); return res; } inline std::string ConfigurationPlasticRuleTable::name() const { std::string res; char* p= name_raw(); if (p) { res = p; core::DeallocateArray(p); } return res; } }// namespace fusion }// namespace adsk #undef ADSK_FUSION_CONFIGURATIONPLASTICRULETABLE_API