NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
GeneralScalarTable.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// GeneralScalarTable.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成,请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/TransientObject.hxx>
22#include <NXOpen/libnxopencpp_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
33 class Unit;
34 class GeneralScalarTableImpl;
39 class NXOPENCPPEXPORT GeneralScalarTable : public NXOpen::TransientObject
40 {
41 private: GeneralScalarTableImpl * m_generalscalartable_impl;
43 public: explicit GeneralScalarTable(void *ptr);
45
48 public: void SetTableSize
49 (
50 int nRows ,
51 int nCols ,
52 double dDefaultValue
53 );
57 public: void SetNumberOfRows
58 (
59 int nRows ,
60 double dDefaultValue
61 );
65 public: int NumRows
66 (
67 );
71 public: int NumCols
72 (
73 );
77 public: double GetCellValue
78 (
79 int iRow ,
80 int iCol
81 );
85 public: void SetCellValue
86 (
87 int iRow ,
88 int iCol ,
89 double cellValue
90 );
94 public: void SetCellValue
95 (
96 int iRow ,
97 int iCol ,
98 int cellValue
99 );
103 public: void SetCellNoValue
104 (
105 int iRow ,
106 int iCol
107 );
111 public: void SetNthRow
112 (
113 int iRow ,
114 const std::vector<double> & rowValues
115 );
119 public: std::vector<double> GetNthRow
120 (
121 int iRow
122 );
126 public: void SetNthColumn
127 (
128 int iCol ,
129 const std::vector<double> & columnValues
130 );
134 public: std::vector<double> GetNthColumn
135 (
136 int iCol
137 );
141 public: void SetNthColumnUnits
142 (
143 int iCol ,
144 NXOpen::Unit * unitType
145 );
150 (
151 int iCol
152 );
156 public: virtual ~GeneralScalarTable();
157 }; //lint !e1712 class未定义默认构造函数
158}
159#ifdef _MSC_VER
160#pragma warning(pop)
161#endif
162#ifdef __GNUC__
163#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
164#pragma GCC diagnostic warning "-Wdeprecated-declarations"
165#endif
166#endif
167#undef EXPORTLIBRARY