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

Public Member Functions

virtual int ColumnCount ()=0
 Returns the number of columns in the table
Created in NX10.0.0. 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 void SetColumnCount (int columnCount)=0
 Sets the number of columns in the table
Created in NX10.0.0. 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...
 

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::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::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::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::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 columns in the table

Implemented in 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::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::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::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::TableEditorDefaultDataProvider.


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