Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Attachments/AttachmentsWindow.cpp
int AttachmentsWindow::GetIDFromTableRow(int row)
    {
        QTableWidgetItem* item = m_tableWidget->item(row, 1);
        if (item == nullptr)
        {
            return MCore::InvalidIndexT<int>;
        }

        AZStd::string id;
        FromQtString(item->text(), &id);

        return AzFramework::StringFunc::ToInt(id.c_str());
    }
// extracts the actor instance id from a given row
extracts the actor instance id from a given row
extracts the actor instance id from a given row
int AttachmentsWindow::GetIDFromTableRow(int row)
    {
        QTableWidgetItem* item = m_tableWidget->item(row, 1);
        if (item == nullptr)
        {
            return MCore::InvalidIndexT<int>;
        }
        AZStd::string id;
        FromQtString(item->text(), &id);
        return AzFramework::StringFunc::ToInt(id.c_str());
    }
int AttachmentsWindow :: GetIDFromTableRow ( int row ) { QTableWidgetItem * item = m_tableWidget -> item ( row , 1 ) ; if ( item == nullptr ) { return MCore :: InvalidIndexT < int > ; } AZStd :: string id ; FromQtString ( item -> text ( ) , & id ) ; return AzFramework :: StringFunc :: ToInt ( id . c_str ( ) ) ; }
extracts the actor instance id from a given row
extracts the actor instance id from a given row