NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::ITableEditorDataProvider Class Referenceabstract

Interface for providing basic data for a Table Editor block. More...

Inheritance diagram for NXOpen::ITableEditorDataProvider:
NXOpen::TableEditorDefaultDataProvider NXOpen::Tooling::BomListDataProvider NXOpen::Tooling::CostTableDataProvider

Public Member Functions

virtual int ColumnCount ()=0
 Returns the number of columns in the table
Created in NX10.0.0. More...
 
virtual void Destroy ()=0
 Deletes the data provider. More...
 
virtual bool GetBoolean (int row, int column)=0
 Gets the boolean data at a particular location in the table. More...
 
virtual double GetDouble (int row, int column, bool *isUnassigned)=0
 Gets the double data at a particular location in the table. More...
 
virtual int GetInteger (int row, int column, bool *isUnassigned)=0
 Gets the integer data at a particular location in the table. More...
 
virtual NXString GetString (int row, int column)=0
 Gets the string data at a particular location in the table. More...
 
virtual int RowCount ()=0
 Returns the number of rows in the table
Created in NX10.0.0. More...
 
virtual bool SetBoolean (int rows, int column, bool booleanData)=0
 Sets boolean data at a particular location in the table. More...
 
virtual bool SetBoolean (const std::vector< int > &rows, int column, bool booleanData)=0
 Sets boolean data on a range of table cells in a specified column. More...
 
virtual void SetColumnCount (int columnCount)=0
 Sets the number of columns in the table
Created in NX10.0.0. More...
 
virtual bool SetDouble (int rows, int column, double doubleData)=0
 Sets double data at a particular location in the table. More...
 
virtual bool SetDouble (const std::vector< int > &rows, int column, double doubleData)=0
 Sets double data on a range of table cells in a specified column. More...
 
virtual bool SetInteger (int rows, int column, int integerData)=0
 Sets integer data at a particular location in the table. More...
 
virtual bool SetInteger (const std::vector< int > &rows, int column, int integerData)=0
 Sets integer data on a range of table cells in a specified column. More...
 
virtual void SetRowCount (int rowCount)=0
 Sets the number of rows in the table
Created in NX10.0.0. More...
 
virtual bool SetString (int rows, int column, const NXString &stringData)=0
 Sets string data at a particular location in the table. More...
 
virtual bool SetString (int rows, int column, const char *stringData)=0
 Sets string data at a particular location in the table. More...
 
virtual bool SetString (const std::vector< int > &rows, int column, const NXString &stringData)=0
 Sets string data on a range of table cells in a specified column. More...
 
virtual bool SetString (const std::vector< int > &rows, int column, const char *stringData)=0
 Sets string data on a range of table cells in a specified column. More...
 
virtual bool UnsetValue (int row, int column)=0
 Unsets the data at a particular location in the table. More...
 
virtual bool UnsetValue (const std::vector< int > &rows, int column)=0
 Unsets the data on a range of table cells in a specified column. More...
 

Detailed Description

Interface for providing basic data for a Table Editor block.


Created in NX10.0.0.

Member Function Documentation

virtual int NXOpen::ITableEditorDataProvider::ColumnCount ( )
pure virtual

Returns the number of columns in the table
Created in NX10.0.0.



License requirements : None

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual void NXOpen::ITableEditorDataProvider::Destroy ( )
pure virtual

Deletes the data provider.

This method should always be called when the data provider is no longer needed.
Created in NX11.0.0.

License requirements : None

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::GetBoolean ( int  row,
int  column 
)
pure virtual

Gets the boolean data at a particular location in the table.

Returns
the boolean data at the row and column specified
Created in NX11.0.0.

License requirements : None
Parameters
rowthe rows to query
columnthe column to query

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual double NXOpen::ITableEditorDataProvider::GetDouble ( int  row,
int  column,
bool *  isUnassigned 
)
pure virtual

Gets the double data at a particular location in the table.

Returns
the double data at the row and column specified
Created in NX11.0.0.

License requirements : None
Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual int NXOpen::ITableEditorDataProvider::GetInteger ( int  row,
int  column,
bool *  isUnassigned 
)
pure virtual

Gets the integer data at a particular location in the table.

Returns
the integer data at the row and column specified
Created in NX11.0.0.

License requirements : None
Parameters
rowthe rows to query
columnthe column to query
isUnassignedis the value unassigned

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual NXString NXOpen::ITableEditorDataProvider::GetString ( int  row,
int  column 
)
pure virtual

Gets the string data at a particular location in the table.

Returns
the string data at the row and column specified
Created in NX10.0.0.

License requirements : None
Parameters
rowthe rows to query
columnthe column to query

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual int NXOpen::ITableEditorDataProvider::RowCount ( )
pure virtual

Returns the number of rows in the table
Created in NX10.0.0.



License requirements : None

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetBoolean ( int  rows,
int  column,
bool  booleanData 
)
pure virtual

Sets boolean data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
booleanDatathe boolean data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetBoolean ( const std::vector< int > &  rows,
int  column,
bool  booleanData 
)
pure virtual

Sets boolean data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe rows to set
columnthe column to be set
booleanDatathe boolean data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual void NXOpen::ITableEditorDataProvider::SetColumnCount ( int  columnCount)
pure virtual

Sets the number of columns in the table
Created in NX10.0.0.



License requirements : None

Parameters
columnCountthe number of columns in the table

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetDouble ( int  rows,
int  column,
double  doubleData 
)
pure virtual

Sets double data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
doubleDatathe double data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetDouble ( const std::vector< int > &  rows,
int  column,
double  doubleData 
)
pure virtual

Sets double data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe rows to set
columnthe column to be set
doubleDatathe double data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetInteger ( int  rows,
int  column,
int  integerData 
)
pure virtual

Sets integer data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
integerDatathe integer data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetInteger ( const std::vector< int > &  rows,
int  column,
int  integerData 
)
pure virtual

Sets integer data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Returns
whether or not the data was successfully set.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe rows to set
columnthe column to be set
integerDatathe integer data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual void NXOpen::ITableEditorDataProvider::SetRowCount ( int  rowCount)
pure virtual

Sets the number of rows in the table
Created in NX10.0.0.



License requirements : None

Parameters
rowCountthe number of rows in the table

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetString ( int  rows,
int  column,
const NXString stringData 
)
pure virtual

Sets string data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetString ( int  rows,
int  column,
const char *  stringData 
)
pure virtual

Sets string data at a particular location in the table.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe row to set
columnthe column to set
stringDatathe string data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const NXString stringData 
)
pure virtual

Sets string data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe rows to set
columnthe column to be set
stringDatathe string data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const char *  stringData 
)
pure virtual

Sets string data on a range of table cells in a specified column.

Returns whether any data was successfully set.

Returns
whether or not the data was successfully set.
Created in NX10.0.0.

License requirements : None
Parameters
rowsthe rows to set
columnthe column to be set
stringDatathe string data to set

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::UnsetValue ( int  row,
int  column 
)
pure virtual

Unsets the data at a particular location in the table.

Returns
whether or not the data was successfully unset.
Created in NX11.0.0.

License requirements : None
Parameters
rowthe row to unset
columnthe column to unset

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.

virtual bool NXOpen::ITableEditorDataProvider::UnsetValue ( const std::vector< int > &  rows,
int  column 
)
pure virtual

Unsets the data on a range of table cells in a specified column.

Returns whether any data was successfully unset.

Returns
whether or not the data was successfully unset.
Created in NX11.0.0.

License requirements : None
Parameters
rowsthe rows to unset
columnthe column to be unset

Implemented in NXOpen::Tooling::BomListDataProvider, NXOpen::Tooling::CostTableDataProvider, and NXOpen::TableEditorDefaultDataProvider.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.