NX Open C++ Reference Guide
Public Member Functions
NXOpen::GeneralScalarTable Class Reference

Represents a General M x N table of scalar (real) values. More...

Inheritance diagram for NXOpen::GeneralScalarTable:
NXOpen::TransientObject NXOpen::ScalarMatrixValue NXOpen::ScalarTableValue

List of all members.

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::UnitGetNthColumnUnits (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.

Detailed Description

Represents a General M x N table of scalar (real) values.


This is an abstract class

Created in NX6.0.0.


Constructor & Destructor Documentation

Destroys the object
Created in NX6.0.0.



License requirements : None


Member Function Documentation

double NXOpen::GeneralScalarTable::GetCellValue ( int  iRow,
int  iCol 
)

Returns the cell value.

Returns:

Created in NX6.0.0.

License requirements : None
Parameters:
iRowRow Index
iColColumn 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

Returns:
Column Values
Created in NX6.0.0.

License requirements : None
Parameters:
iColColumn Index

Returns the entire Nth column of values.

Output array will be as long as the number of rows GeneralScalarTable::NumRows

Returns:
Unit type for the column NULL if the Column has no units
Created in NX6.0.0.

License requirements : None
Parameters:
iColColumn 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

Returns:
Row Values
Created in NX6.0.0.

License requirements : None
Parameters:
iRowRow Index

Returns the numuber of columns
Created in NX6.0.0.



License requirements : None

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

Parameters:
iRowRow Index
iColColumn Index
cellValueValue 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

Parameters:
iColColumn Index
columnValuesColumn 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

Parameters:
iColColumn Index
unitTypeUnit 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

Parameters:
iRowRow Index
rowValuesRow Values
void NXOpen::GeneralScalarTable::SetTableSize ( int  nRows,
int  nCols,
double  dDefaultValue 
)

Returns the table size
Created in NX6.0.0.



License requirements : None

Parameters:
nRowsNumber of Rows
nColsNumber of Columns
dDefaultValueDefault Value

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