|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| Uint16List | GetData () |
| void | Reserve (long count) |
| void | Set (long idx, int val) |
| int | Get (long idx) |
| int | GetItem (long idx) |
| void | Append (int val) |
| void | AppendItem1 (int val) |
| void | Append (int a, int b) |
| void | AppendItem2 (int a, int b) |
| void | Append (int a, int b, int c) |
| void | AppendItem3 (int a, int b, int c) |
| void | Append (int a, int b, int c, int d) |
| void | AppendItem4 (int a, int b, int c, int d) |
| long | GetBufferSize () |
| long | GetItemCount () |
Public 成员函数 继承自 ArrayBuffer | |
| ClassId | GetClassId () |
| EnumDataType | GetDataType () |
| boolean | Save (String fleName) |
Public 成员函数 继承自 AObject | |
| boolean | IsEqual (AObject other) |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ArrayBuffer | |
| static ClassId | GetStaticClassId () |
| static ArrayBuffer | Cast (AObject obj) |
<> 模板辅助类.
| void Uint16TypedBuffer.Append | ( | int | a, |
| int | b ) |
在尾部添加两个值
| a | 第一个 |
| b | 第二个 |
| void Uint16TypedBuffer.Append | ( | int | a, |
| int | b, | ||
| int | c ) |
在尾部添加三个值
| a | 第1个 |
| b | 第2个 |
| c | 第3个 |
| void Uint16TypedBuffer.Append | ( | int | a, |
| int | b, | ||
| int | c, | ||
| int | d ) |
在尾部添加四个值
| a | 第1个 |
| b | 第2个 |
| c | 第3个 |
| d | 第4个 |
| void Uint16TypedBuffer.Append | ( | int | val | ) |
在尾部添加元素
| val | 值 |
| int Uint16TypedBuffer.Get | ( | long | idx | ) |
获取元素的值
| idx | 索引 |
| long Uint16TypedBuffer.GetBufferSize | ( | ) |
| long Uint16TypedBuffer.GetItemCount | ( | ) |
| void Uint16TypedBuffer.Reserve | ( | long | count | ) |
保留内存大小,避免重复分配
| count | 元素的个数 |
| void Uint16TypedBuffer.Set | ( | long | idx, |
| int | val ) |
设置元素
| idx | 索引 |
| val | 值 |