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

Provides basic data for a Table Editor block. More...

Inheritance diagram for NXOpen::TableEditorDefaultDataProvider:
NXOpen::TaggedObject NXOpen::ITableEditorDataProvider

Public Member Functions

virtual int ColumnCount ()
 Returns the number of columns in the table
Created in NX10.0.0. More...
 
virtual void Destroy ()
 Deletes the data provider. More...
 
virtual bool GetBoolean (int row, int column)
 Gets the boolean data at a particular location in the table. More...
 
virtual double GetDouble (int row, int column, bool *isUnassigned)
 Gets the double data at a particular location in the table. More...
 
virtual int GetInteger (int row, int column, bool *isUnassigned)
 Gets the integer data at a particular location in the table. More...
 
virtual NXString GetString (int row, int column)
 Gets the string data at a particular location in the table. More...
 
virtual int RowCount ()
 Returns the number of rows in the table
Created in NX10.0.0. More...
 
virtual bool SetBoolean (int rows, int column, bool booleanData)
 Sets boolean data at a particular location in the table. More...
 
virtual bool SetBoolean (const std::vector< int > &rows, int column, bool booleanData)
 Sets boolean data on a range of table cells in a specified column. More...
 
virtual void SetColumnCount (int columnCount)
 Sets the number of columns in the table
Created in NX10.0.0. More...
 
virtual bool SetDouble (int rows, int column, double doubleData)
 Sets double data at a particular location in the table. More...
 
virtual bool SetDouble (const std::vector< int > &rows, int column, double doubleData)
 Sets double data on a range of table cells in a specified column. More...
 
virtual bool SetInteger (int rows, int column, int integerData)
 Sets integer data at a particular location in the table. More...
 
virtual bool SetInteger (const std::vector< int > &rows, int column, int integerData)
 Sets integer data on a range of table cells in a specified column. More...
 
virtual void SetRowCount (int rowCount)
 Sets the number of rows in the table
Created in NX10.0.0. More...
 
virtual bool SetString (int rows, int column, const NXString &stringData)
 Sets string data at a particular location in the table. More...
 
virtual bool SetString (int rows, int column, const char *stringData)
 Sets string data at a particular location in the table. More...
 
virtual bool SetString (const std::vector< int > &rows, int column, const NXString &stringData)
 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)
 Sets string data on a range of table cells in a specified column. More...
 
virtual bool UnsetValue (int row, int column)
 Unsets the data at a particular location in the table. More...
 
virtual bool UnsetValue (const std::vector< int > &rows, int column)
 Unsets the data on a range of table cells in a specified column. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Provides basic data for a Table Editor block.


To create a new instance of this class, use NXOpen::Session::CreateTableEditorDefaultDataProvider

Created in NX10.0.0.

Member Function Documentation

virtual int NXOpen::TableEditorDefaultDataProvider::ColumnCount ( )
virtual

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



License requirements : None

Implements NXOpen::ITableEditorDataProvider.

virtual void NXOpen::TableEditorDefaultDataProvider::Destroy ( )
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::GetBoolean ( int  row,
int  column 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual double NXOpen::TableEditorDefaultDataProvider::GetDouble ( int  row,
int  column,
bool *  isUnassigned 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual int NXOpen::TableEditorDefaultDataProvider::GetInteger ( int  row,
int  column,
bool *  isUnassigned 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual NXString NXOpen::TableEditorDefaultDataProvider::GetString ( int  row,
int  column 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual int NXOpen::TableEditorDefaultDataProvider::RowCount ( )
virtual

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



License requirements : None

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetBoolean ( int  rows,
int  column,
bool  booleanData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetBoolean ( const std::vector< int > &  rows,
int  column,
bool  booleanData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual void NXOpen::TableEditorDefaultDataProvider::SetColumnCount ( int  columnCount)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetDouble ( int  rows,
int  column,
double  doubleData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetDouble ( const std::vector< int > &  rows,
int  column,
double  doubleData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetInteger ( int  rows,
int  column,
int  integerData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetInteger ( const std::vector< int > &  rows,
int  column,
int  integerData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual void NXOpen::TableEditorDefaultDataProvider::SetRowCount ( int  rowCount)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( int  rows,
int  column,
const NXString stringData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( int  rows,
int  column,
const char *  stringData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const NXString stringData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::SetString ( const std::vector< int > &  rows,
int  column,
const char *  stringData 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::UnsetValue ( int  row,
int  column 
)
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

Implements NXOpen::ITableEditorDataProvider.

virtual bool NXOpen::TableEditorDefaultDataProvider::UnsetValue ( const std::vector< int > &  rows,
int  column 
)
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

Implements NXOpen::ITableEditorDataProvider.


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