|
NX Open C++ Reference Guide
|
Represents a General M x N table of scalar (real) values. More...
Public Member Functions | |
| double | GetCellValue (int iRow, int iCol) |
| Returns the cell value. | |
| std::vector< double > | GetNthColumn (int iCol) |
| Returns the entire Nth column of values. | |
| NXOpen::Unit * | GetNthColumnUnits (int iCol) |
| Returns the entire Nth column of values. | |
| std::vector< double > | GetNthRow (int iRow) |
| Returns the entire Nth row of values. | |
| int | NumCols () |
| Returns the numuber of columns Created in NX6.0.0. | |
| int | NumRows () |
| Returns the number of rows Created in NX6.0.0. | |
| void | SetCellValue (int iRow, int iCol, double cellValue) |
| Sets cell value Created in NX6.0.0. | |
| void | SetNthColumn (int iCol, const std::vector< double > &columnValues) |
| Sets the entire Nth column of values. | |
| void | SetNthColumnUnits (int iCol, NXOpen::Unit *unitType) |
| Sets the entire Nth column of values. | |
| void | SetNthRow (int iRow, const std::vector< double > &rowValues) |
| Sets the entire Nth row of values. | |
| void | SetTableSize (int nRows, int nCols, double dDefaultValue) |
| Returns the table size Created in NX6.0.0. | |
| virtual | ~GeneralScalarTable () |
| Destroys the object Created in NX6.0.0. | |
Public Member Functions inherited from NXOpen::TransientObject | |
| void * | GetHandle () |
| Handle of the internal object represented by this object. | |
Represents a General M x N table of scalar (real) values.
This is an abstract class
Created in NX6.0.0.
|
virtual |
Destroys the object
Created in NX6.0.0.
License requirements : None
| double NXOpen::GeneralScalarTable::GetCellValue | ( | int | iRow, |
| int | iCol | ||
| ) |
Returns the cell value.
| iRow | Row Index |
| iCol | Column Index |
| std::vector<double> NXOpen::GeneralScalarTable::GetNthColumn | ( | int | iCol | ) |
Returns the entire Nth column of values.
Output array will be as long as the number of rows GeneralScalarTable::NumRows
| iCol | Column Index |
| NXOpen::Unit* NXOpen::GeneralScalarTable::GetNthColumnUnits | ( | int | iCol | ) |
Returns the entire Nth column of values.
Output array will be as long as the number of rows GeneralScalarTable::NumRows
| iCol | Column Index |
| std::vector<double> NXOpen::GeneralScalarTable::GetNthRow | ( | int | iRow | ) |
Returns the entire Nth row of values.
Output array will be as long as the number of columns GeneralScalarTable::NumCols
| iRow | Row Index |
| int NXOpen::GeneralScalarTable::NumCols | ( | ) |
Returns the numuber of columns
Created in NX6.0.0.
License requirements : None
| int NXOpen::GeneralScalarTable::NumRows | ( | ) |
Returns the number of rows
Created in NX6.0.0.
License requirements : None
| void NXOpen::GeneralScalarTable::SetCellValue | ( | int | iRow, |
| int | iCol, | ||
| double | cellValue | ||
| ) |
Sets cell value
Created in NX6.0.0.
License requirements : None
| iRow | Row Index |
| iCol | Column Index |
| cellValue | Value to store in the cell |
| void NXOpen::GeneralScalarTable::SetNthColumn | ( | int | iCol, |
| const std::vector< double > & | columnValues | ||
| ) |
Sets the entire Nth column of values.
Input array must be as long as the number of rows GeneralScalarTable::NumRows
Created in NX6.0.0.
License requirements : None
| iCol | Column Index |
| columnValues | Column values |
| void NXOpen::GeneralScalarTable::SetNthColumnUnits | ( | int | iCol, |
| NXOpen::Unit * | unitType | ||
| ) |
Sets the entire Nth column of values.
Input array must be as long as the number of rows GeneralScalarTable::NumRows
Created in NX6.0.0.
License requirements : None
| iCol | Column Index |
| unitType | Unit type for the column |
| void NXOpen::GeneralScalarTable::SetNthRow | ( | int | iRow, |
| const std::vector< double > & | rowValues | ||
| ) |
Sets the entire Nth row of values.
Input array must be as long as the number of columns GeneralScalarTable::NumCols
Created in NX6.0.0.
License requirements : None
| iRow | Row Index |
| rowValues | Row Values |
| void NXOpen::GeneralScalarTable::SetTableSize | ( | int | nRows, |
| int | nCols, | ||
| double | dDefaultValue | ||
| ) |
Returns the table size
Created in NX6.0.0.
License requirements : None
| nRows | Number of Rows |
| nCols | Number of Columns |
| dDefaultValue | Default Value |