1910 lines
101 KiB
HTML
1910 lines
101 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>oaPackedData</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
background: #0d0b0b;
|
|
color: #f5f1ec;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: #f2d6c2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
color: #fff4ea;
|
|
}
|
|
|
|
.topbar {
|
|
border-bottom: 1px solid #6f3d2d;
|
|
background: #120f0f;
|
|
}
|
|
|
|
.topbar-inner {
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
padding: 14px 20px 10px;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #fff8f2;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tab {
|
|
display: inline-block;
|
|
padding: 6px 12px;
|
|
border: 1px solid #6f3d2d;
|
|
background: #151111;
|
|
color: #f2d6c2;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.tab.active {
|
|
background: #4b2317;
|
|
font-weight: 700;
|
|
color: #fff8f2;
|
|
}
|
|
|
|
.layout {
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
display: grid;
|
|
grid-template-columns: 280px minmax(0, 1fr);
|
|
gap: 28px;
|
|
padding: 24px 24px 40px;
|
|
}
|
|
|
|
.sidebar {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sidebar-panel {
|
|
border: 1px solid #6f3d2d;
|
|
margin-bottom: 16px;
|
|
background: #151111;
|
|
}
|
|
|
|
.sidebar-title {
|
|
background: #2a1713;
|
|
border-bottom: 1px solid #6f3d2d;
|
|
padding: 8px 10px;
|
|
font-weight: 700;
|
|
color: #fff1e8;
|
|
}
|
|
|
|
.sidebar-body {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.sidebar-search {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 6px 8px;
|
|
border: 1px solid #6f3d2d;
|
|
background: #0d0b0b;
|
|
color: #f5f1ec;
|
|
font-size: 13px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.sidebar-search::placeholder {
|
|
color: #c8a995;
|
|
}
|
|
|
|
.sidebar-body ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.sidebar-body li.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.active-link {
|
|
font-weight: 700;
|
|
color: #fff8f2;
|
|
}
|
|
|
|
.sidebar-body li + li {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.content-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 0;
|
|
align-items: start;
|
|
}
|
|
|
|
.doc {
|
|
border: 1px solid #6f3d2d;
|
|
background: #120f0f;
|
|
padding: 24px 28px 32px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.toc-panel {
|
|
border: 1px solid #6f3d2d;
|
|
background: #151111;
|
|
padding: 0;
|
|
position: sticky;
|
|
top: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.toc-toggle {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border: 0;
|
|
background: #2a1713;
|
|
color: #fff1e8;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.toc-toggle:hover {
|
|
background: #3a1d16;
|
|
}
|
|
|
|
.toc-toggle-indicator {
|
|
font-size: 12px;
|
|
color: #d6ac96;
|
|
}
|
|
|
|
.toc-body {
|
|
display: none;
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.toc-panel.open .toc-body {
|
|
display: block;
|
|
}
|
|
|
|
.toc-panel h2 {
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 18px;
|
|
color: #fff1e8;
|
|
}
|
|
|
|
.toc-panel ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.toc-panel li + li {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.toc-panel a {
|
|
font-size: 13px;
|
|
line-height: 1.35;
|
|
color: #f2d6c2;
|
|
}
|
|
|
|
.crumbs {
|
|
color: #c8a995;
|
|
font-size: 13px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.meta {
|
|
border: 1px solid #6f3d2d;
|
|
background: #151111;
|
|
padding: 10px 12px;
|
|
margin: 16px 0 20px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.meta div + div {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.doc h1 {
|
|
margin: 0 0 8px;
|
|
font-size: 34px;
|
|
color: #fff8f2;
|
|
}
|
|
|
|
.doc h2 {
|
|
margin: 28px 0 12px;
|
|
padding-bottom: 4px;
|
|
border-bottom: 1px solid #6f3d2d;
|
|
font-size: 22px;
|
|
color: #fff1e8;
|
|
}
|
|
|
|
.doc h3 {
|
|
margin: 22px 0 10px;
|
|
font-size: 18px;
|
|
color: #f7e1d5;
|
|
}
|
|
|
|
.doc p, .doc li {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.doc pre {
|
|
overflow-x: auto;
|
|
background: #0d0b0b;
|
|
border: 1px solid #6f3d2d;
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.doc code {
|
|
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-size: 12px;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
color: #f7e1d5;
|
|
}
|
|
|
|
.doc table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 12px 0 18px;
|
|
font-size: 13px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.doc th, .doc td {
|
|
border: 1px solid #6f3d2d;
|
|
padding: 7px 9px;
|
|
vertical-align: top;
|
|
text-align: left;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.doc th {
|
|
background: #2a1713;
|
|
color: #fff1e8;
|
|
}
|
|
|
|
.doc blockquote {
|
|
margin: 14px 0;
|
|
padding: 8px 12px;
|
|
border-left: 4px solid #8a4a36;
|
|
background: #151111;
|
|
color: #f2d6c2;
|
|
}
|
|
|
|
.search-panel {
|
|
border: 1px solid #6f3d2d;
|
|
background: #151111;
|
|
padding: 16px 18px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.search-panel input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 8px 10px;
|
|
border: 1px solid #6f3d2d;
|
|
background: #0d0b0b;
|
|
color: #f5f1ec;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.search-panel input::placeholder {
|
|
color: #c8a995;
|
|
}
|
|
|
|
.search-results {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 16px 0 0;
|
|
}
|
|
|
|
.search-results li {
|
|
border-top: 1px solid #4b2317;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.search-results li.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.search-results a {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.search-results .module-tag {
|
|
display: inline-block;
|
|
margin-left: 8px;
|
|
padding: 2px 6px;
|
|
border: 1px solid #8a4a36;
|
|
background: #2a1713;
|
|
color: #f2d6c2;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.search-results .result-path {
|
|
margin-top: 4px;
|
|
color: #c8a995;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.footer {
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
padding: 0 20px 28px;
|
|
color: #b89481;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.doc > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.content-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.toc-panel {
|
|
position: static;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="topbar">
|
|
<div class="topbar-inner">
|
|
<div class="brand"><a href="../index.html">AIVI / oapy API 中文文档</a></div>
|
|
<div class="tabs"><a class="tab active" href="../base/index.html">base</a><a class="tab" href="../common/index.html">common</a><a class="tab" href="../cms/index.html">cms</a><a class="tab" href="../dm/index.html">dm</a><a class="tab" href="../design/index.html">design</a><a class="tab" href="../tech/index.html">tech</a><a class="tab" href="../wafer/index.html">wafer</a></div>
|
|
</div>
|
|
</div>
|
|
<div class="layout">
|
|
<aside class="sidebar"><div class="sidebar-panel"><div class="sidebar-title">模块</div><div class="sidebar-body"><ul><li><a href="../classes.html">全部类</a></li><li><a class="active-link" href="../base/index.html">base</a></li><li><a href="../common/index.html">common</a></li><li><a href="../cms/index.html">cms</a></li><li><a href="../dm/index.html">dm</a></li><li><a href="../design/index.html">design</a></li><li><a href="../tech/index.html">tech</a></li><li><a href="../wafer/index.html">wafer</a></li></ul></div></div><div class="sidebar-panel"><div class="sidebar-title">base 类</div><div class="sidebar-body"><input class="sidebar-search" type="search" placeholder="筛选类" data-class-filter><ul><li data-class-item data-class-name="oaabstracttype"><a href="oaAbstractType.html">oaAbstractType</a></li><li data-class-item data-class-name="oaalignmenttype"><a href="oaAlignmentType.html">oaAlignmentType</a></li><li data-class-item data-class-name="oaappdef"><a href="oaAppDef.html">oaAppDef</a></li><li data-class-item data-class-name="oaappobject"><a href="oaAppObject.html">oaAppObject</a></li><li data-class-item data-class-name="oaappobjectdef"><a href="oaAppObjectDef.html">oaAppObjectDef</a></li><li data-class-item data-class-name="oaappobjectdefcollection"><a href="oaAppObjectDefCollection.html">oaAppObjectDefCollection</a></li><li data-class-item data-class-name="oaappprop"><a href="oaAppProp.html">oaAppProp</a></li><li data-class-item data-class-name="oabasecollection"><a href="oaBaseCollection.html">oaBaseCollection</a></li><li data-class-item data-class-name="oabaseiter"><a href="oaBaseIter.html">oaBaseIter</a></li><li data-class-item data-class-name="oabaseobserver"><a href="oaBaseObserver.html">oaBaseObserver</a></li><li data-class-item data-class-name="oabasepackeddata"><a href="oaBasePackedData.html">oaBasePackedData</a></li><li data-class-item data-class-name="oabooleanappdef"><a href="oaBooleanAppDef.html">oaBooleanAppDef</a></li><li data-class-item data-class-name="oabooleanprop"><a href="oaBooleanProp.html">oaBooleanProp</a></li><li data-class-item data-class-name="oabooleanvalue"><a href="oaBooleanValue.html">oaBooleanValue</a></li><li data-class-item data-class-name="oabox"><a href="oaBox.html">oaBox</a></li><li data-class-item data-class-name="oaboxarray"><a href="oaBoxArray.html">oaBoxArray</a></li><li data-class-item data-class-name="oaboxarrayvalue"><a href="oaBoxArrayValue.html">oaBoxArrayValue</a></li><li data-class-item data-class-name="oabuildinfo"><a href="oaBuildInfo.html">oaBuildInfo</a></li><li data-class-item data-class-name="oabuildinfoarray"><a href="oaBuildInfoArray.html">oaBuildInfoArray</a></li><li data-class-item data-class-name="oabundlename"><a href="oaBundleName.html">oaBundleName</a></li><li data-class-item data-class-name="oabytearray"><a href="oaByteArray.html">oaByteArray</a></li><li data-class-item data-class-name="oacategory"><a href="oaCategory.html">oaCategory</a></li><li data-class-item data-class-name="oacdbans"><a href="oaCdbaNS.html">oaCdbaNS</a></li><li data-class-item data-class-name="oaclientsocket"><a href="oaClientSocket.html">oaClientSocket</a></li><li data-class-item data-class-name="oacompatibilityerror"><a href="oaCompatibilityError.html">oaCompatibilityError</a></li><li data-class-item data-class-name="oacomplexarray"><a href="oaComplexArray.html">oaComplexArray</a></li><li data-class-item data-class-name="oaconnectlayertype"><a href="oaConnectLayerType.html">oaConnectLayerType</a></li><li data-class-item data-class-name="oaconnectivitytype"><a href="oaConnectivityType.html">oaConnectivityType</a></li><li data-class-item data-class-name="oaconstraint"><a href="oaConstraint.html">oaConstraint</a></li><li data-class-item data-class-name="oaconstraintdef"><a href="oaConstraintDef.html">oaConstraintDef</a></li><li data-class-item data-class-name="oaconstraintgroup"><a href="oaConstraintGroup.html">oaConstraintGroup</a></li><li data-class-item data-class-name="oaconstraintgroupdef"><a href="oaConstraintGroupDef.html">oaConstraintGroupDef</a></li><li data-class-item data-class-name="oaconstraintgroupheader"><a href="oaConstraintGroupHeader.html">oaConstraintGroupHeader</a></li><li data-class-item data-class-name="oaconstraintgroupmem"><a href="oaConstraintGroupMem.html">oaConstraintGroupMem</a></li><li data-class-item data-class-name="oaconstraintgroupoperator"><a href="oaConstraintGroupOperator.html">oaConstraintGroupOperator</a></li><li data-class-item data-class-name="oaconstraintgrouptype"><a href="oaConstraintGroupType.html">oaConstraintGroupType</a></li><li data-class-item data-class-name="oaconstraintparam"><a href="oaConstraintParam.html">oaConstraintParam</a></li><li data-class-item data-class-name="oaconstraintparamarray"><a href="oaConstraintParamArray.html">oaConstraintParamArray</a></li><li data-class-item data-class-name="oaconstraintparamdef"><a href="oaConstraintParamDef.html">oaConstraintParamDef</a></li><li data-class-item data-class-name="oaconstraintparamtype"><a href="oaConstraintParamType.html">oaConstraintParamType</a></li><li data-class-item data-class-name="oadbtype"><a href="oaDBType.html">oaDBType</a></li><li data-class-item data-class-name="oadataappdef"><a href="oaDataAppDef.html">oaDataAppDef</a></li><li data-class-item data-class-name="oadatamodelmodtype"><a href="oaDataModelModType.html">oaDataModelModType</a></li><li data-class-item data-class-name="oadefns"><a href="oaDefNS.html">oaDefNS</a></li><li data-class-item data-class-name="oadir"><a href="oaDir.html">oaDir</a></li><li data-class-item data-class-name="oadiriter"><a href="oaDirIter.html">oaDirIter</a></li><li data-class-item data-class-name="oadistancemeasuretype"><a href="oaDistanceMeasureType.html">oaDistanceMeasureType</a></li><li data-class-item data-class-name="oadomain"><a href="oaDomain.html">oaDomain</a></li><li data-class-item data-class-name="oadoubleappdef"><a href="oaDoubleAppDef.html">oaDoubleAppDef</a></li><li data-class-item data-class-name="oadoubleprop"><a href="oaDoubleProp.html">oaDoubleProp</a></li><li data-class-item data-class-name="oadoublerangeprop"><a href="oaDoubleRangeProp.html">oaDoubleRangeProp</a></li><li data-class-item data-class-name="oadualint"><a href="oaDualInt.html">oaDualInt</a></li><li data-class-item data-class-name="oadualint1dtblvalue"><a href="oaDualInt1DTblValue.html">oaDualInt1DTblValue</a></li><li data-class-item data-class-name="oadualintarray"><a href="oaDualIntArray.html">oaDualIntArray</a></li><li data-class-item data-class-name="oadualintvalue"><a href="oaDualIntValue.html">oaDualIntValue</a></li><li data-class-item data-class-name="oaenclosedcuttype"><a href="oaEnclosedCutType.html">oaEnclosedCutType</a></li><li data-class-item data-class-name="oaenumcollection"><a href="oaEnumCollection.html">oaEnumCollection</a></li><li data-class-item data-class-name="oaenumprop"><a href="oaEnumProp.html">oaEnumProp</a></li><li data-class-item data-class-name="oaenumpropiter"><a href="oaEnumPropIter.html">oaEnumPropIter</a></li><li data-class-item data-class-name="oaerror"><a href="oaError.html">oaError</a></li><li data-class-item data-class-name="oaexception"><a href="oaException.html">oaException</a></li><li data-class-item data-class-name="oaextrapolatetype"><a href="oaExtrapolateType.html">oaExtrapolateType</a></li><li data-class-item data-class-name="oafdset"><a href="oaFDSet.html">oaFDSet</a></li><li data-class-item data-class-name="oafscomponent"><a href="oaFSComponent.html">oaFSComponent</a></li><li data-class-item data-class-name="oafeature"><a href="oaFeature.html">oaFeature</a></li><li data-class-item data-class-name="oafeaturearray"><a href="oaFeatureArray.html">oaFeatureArray</a></li><li data-class-item data-class-name="oafile"><a href="oaFile.html">oaFile</a></li><li data-class-item data-class-name="oaflatgroupdef"><a href="oaFlatGroupDef.html">oaFlatGroupDef</a></li><li data-class-item data-class-name="oafloatappdef"><a href="oaFloatAppDef.html">oaFloatAppDef</a></li><li data-class-item data-class-name="oafloatprop"><a href="oaFloatProp.html">oaFloatProp</a></li><li data-class-item data-class-name="oafloatrangeprop"><a href="oaFloatRangeProp.html">oaFloatRangeProp</a></li><li data-class-item data-class-name="oaflt1dtblvalue"><a href="oaFlt1DTblValue.html">oaFlt1DTblValue</a></li><li data-class-item data-class-name="oaflt2dtblvalue"><a href="oaFlt2DTblValue.html">oaFlt2DTblValue</a></li><li data-class-item data-class-name="oafltintflttblvalue"><a href="oaFltIntFltTblValue.html">oaFltIntFltTblValue</a></li><li data-class-item data-class-name="oafltvalue"><a href="oaFltValue.html">oaFltValue</a></li><li data-class-item data-class-name="oagateorientationtype"><a href="oaGateOrientationType.html">oaGateOrientationType</a></li><li data-class-item data-class-name="oagroup"><a href="oaGroup.html">oaGroup</a></li><li data-class-item data-class-name="oagroupdef"><a href="oaGroupDef.html">oaGroupDef</a></li><li data-class-item data-class-name="oagroupdefarray"><a href="oaGroupDefArray.html">oaGroupDefArray</a></li><li data-class-item data-class-name="oagroupdeletewhen"><a href="oaGroupDeleteWhen.html">oaGroupDeleteWhen</a></li><li data-class-item data-class-name="oagroupmember"><a href="oaGroupMember.html">oaGroupMember</a></li><li data-class-item data-class-name="oagrouppurposetype"><a href="oaGroupPurposeType.html">oaGroupPurposeType</a></li><li data-class-item data-class-name="oagrouptype"><a href="oaGroupType.html">oaGroupType</a></li><li data-class-item data-class-name="oahiergroupdef"><a href="oaHierGroupDef.html">oaHierGroupDef</a></li><li data-class-item data-class-name="oahierprop"><a href="oaHierProp.html">oaHierProp</a></li><li data-class-item data-class-name="oaint1dtblvalue"><a href="oaInt1DTblValue.html">oaInt1DTblValue</a></li><li data-class-item data-class-name="oaint2dtblvalue"><a href="oaInt2DTblValue.html">oaInt2DTblValue</a></li><li data-class-item data-class-name="oaintappdef"><a href="oaIntAppDef.html">oaIntAppDef</a></li><li data-class-item data-class-name="oaintdualintarraytblvalue"><a href="oaIntDualIntArrayTblValue.html">oaIntDualIntArrayTblValue</a></li><li data-class-item data-class-name="oaintflttblvalue"><a href="oaIntFltTblValue.html">oaIntFltTblValue</a></li><li data-class-item data-class-name="oaintprop"><a href="oaIntProp.html">oaIntProp</a></li><li data-class-item data-class-name="oaintrange"><a href="oaIntRange.html">oaIntRange</a></li><li data-class-item data-class-name="oaintrangearray"><a href="oaIntRangeArray.html">oaIntRangeArray</a></li><li data-class-item data-class-name="oaintrangearray1dtblvalue"><a href="oaIntRangeArray1DTblValue.html">oaIntRangeArray1DTblValue</a></li><li data-class-item data-class-name="oaintrangearray2dtblvalue"><a href="oaIntRangeArray2DTblValue.html">oaIntRangeArray2DTblValue</a></li><li data-class-item data-class-name="oaintrangearrayvalue"><a href="oaIntRangeArrayValue.html">oaIntRangeArrayValue</a></li><li data-class-item data-class-name="oaintrangeprop"><a href="oaIntRangeProp.html">oaIntRangeProp</a></li><li data-class-item data-class-name="oaintrangevalue"><a href="oaIntRangeValue.html">oaIntRangeValue</a></li><li data-class-item data-class-name="oaintvalue"><a href="oaIntValue.html">oaIntValue</a></li><li data-class-item data-class-name="oainterpointerappdef"><a href="oaInterPointerAppDef.html">oaInterPointerAppDef</a></li><li data-class-item data-class-name="oainterpolatetype"><a href="oaInterpolateType.html">oaInterpolateType</a></li><li data-class-item data-class-name="oaintrapointerappdef"><a href="oaIntraPointerAppDef.html">oaIntraPointerAppDef</a></li><li data-class-item data-class-name="oalayerarrayconstraintdef"><a href="oaLayerArrayConstraintDef.html">oaLayerArrayConstraintDef</a></li><li data-class-item data-class-name="oalayerarrayconstrainttype"><a href="oaLayerArrayConstraintType.html">oaLayerArrayConstraintType</a></li><li data-class-item data-class-name="oalayerconstraintdef"><a href="oaLayerConstraintDef.html">oaLayerConstraintDef</a></li><li data-class-item data-class-name="oalayerconstrainttype"><a href="oaLayerConstraintType.html">oaLayerConstraintType</a></li><li data-class-item data-class-name="oalayerpairconstraintdef"><a href="oaLayerPairConstraintDef.html">oaLayerPairConstraintDef</a></li><li data-class-item data-class-name="oalayerpairconstrainttype"><a href="oaLayerPairConstraintType.html">oaLayerPairConstraintType</a></li><li data-class-item data-class-name="oalefns"><a href="oaLefNS.html">oaLefNS</a></li><li data-class-item data-class-name="oamanagedtype"><a href="oaManagedType.html">oaManagedType</a></li><li data-class-item data-class-name="oamanagedtypearray"><a href="oaManagedTypeArray.html">oaManagedTypeArray</a></li><li data-class-item data-class-name="oamapfile"><a href="oaMapFile.html">oaMapFile</a></li><li data-class-item data-class-name="oamapfilewindow"><a href="oaMapFileWindow.html">oaMapFileWindow</a></li><li data-class-item data-class-name="oamapwindow"><a href="oaMapWindow.html">oaMapWindow</a></li><li data-class-item data-class-name="oamemory"><a href="oaMemory.html">oaMemory</a></li><li data-class-item data-class-name="oamemoryerror"><a href="oaMemoryError.html">oaMemoryError</a></li><li data-class-item data-class-name="oaname"><a href="oaName.html">oaName</a></li><li data-class-item data-class-name="oanamebase"><a href="oaNameBase.html">oaNameBase</a></li><li data-class-item data-class-name="oanamemem"><a href="oaNameMem.html">oaNameMem</a></li><li data-class-item data-class-name="oanamespace"><a href="oaNameSpace.html">oaNameSpace</a></li><li data-class-item data-class-name="oanametype"><a href="oaNameType.html">oaNameType</a></li><li data-class-item data-class-name="oanativens"><a href="oaNativeNS.html">oaNativeNS</a></li><li data-class-item data-class-name="oaneighborlayermetaltype"><a href="oaNeighborLayerMetalType.html">oaNeighborLayerMetalType</a></li><li data-class-item data-class-name="oaoserror"><a href="oaOSError.html">oaOSError</a></li><li data-class-item data-class-name="oaobject"><a href="oaObject.html">oaObject</a></li><li data-class-item data-class-name="oaobjectarray"><a href="oaObjectArray.html">oaObjectArray</a></li><li data-class-item data-class-name="oaorient"><a href="oaOrient.html">oaOrient</a></li><li data-class-item data-class-name="oapackeddata"><a class="active-link" href="oaPackedData.html">oaPackedData</a></li><li data-class-item data-class-name="oaparam"><a href="oaParam.html">oaParam</a></li><li data-class-item data-class-name="oaparamarray"><a href="oaParamArray.html">oaParamArray</a></li><li data-class-item data-class-name="oaparamtype"><a href="oaParamType.html">oaParamType</a></li><li data-class-item data-class-name="oapoint"><a href="oaPoint.html">oaPoint</a></li><li data-class-item data-class-name="oapointarray"><a href="oaPointArray.html">oaPointArray</a></li><li data-class-item data-class-name="oaprop"><a href="oaProp.html">oaProp</a></li><li data-class-item data-class-name="oarange"><a href="oaRange.html">oaRange</a></li><li data-class-item data-class-name="oarangebase"><a href="oaRangeBase.html">oaRangeBase</a></li><li data-class-item data-class-name="oarangetype"><a href="oaRangeType.html">oaRangeType</a></li><li data-class-item data-class-name="oascalarname"><a href="oaScalarName.html">oaScalarName</a></li><li data-class-item data-class-name="oasegment"><a href="oaSegment.html">oaSegment</a></li><li data-class-item data-class-name="oasemaphore"><a href="oaSemaphore.html">oaSemaphore</a></li><li data-class-item data-class-name="oaserversocket"><a href="oaServerSocket.html">oaServerSocket</a></li><li data-class-item data-class-name="oasession"><a href="oaSession.html">oaSession</a></li><li data-class-item data-class-name="oasessionobject"><a href="oaSessionObject.html">oaSessionObject</a></li><li data-class-item data-class-name="oashapeangletype"><a href="oaShapeAngleType.html">oaShapeAngleType</a></li><li data-class-item data-class-name="oasimpleconstraint"><a href="oaSimpleConstraint.html">oaSimpleConstraint</a></li><li data-class-item data-class-name="oasimpleconstraintdef"><a href="oaSimpleConstraintDef.html">oaSimpleConstraintDef</a></li><li data-class-item data-class-name="oasimpleconstrainttype"><a href="oaSimpleConstraintType.html">oaSimpleConstraintType</a></li><li data-class-item data-class-name="oasimplename"><a href="oaSimpleName.html">oaSimpleName</a></li><li data-class-item data-class-name="oasocket"><a href="oaSocket.html">oaSocket</a></li><li data-class-item data-class-name="oasocketerror"><a href="oaSocketError.html">oaSocketError</a></li><li data-class-item data-class-name="oaspacingdirectiontype"><a href="oaSpacingDirectionType.html">oaSpacingDirectionType</a></li><li data-class-item data-class-name="oaspacingmeasuretype"><a href="oaSpacingMeasureType.html">oaSpacingMeasureType</a></li><li data-class-item data-class-name="oaspacingtype"><a href="oaSpacingType.html">oaSpacingType</a></li><li data-class-item data-class-name="oaspefns"><a href="oaSpefNS.html">oaSpefNS</a></li><li data-class-item data-class-name="oaspfns"><a href="oaSpfNS.html">oaSpfNS</a></li><li data-class-item data-class-name="oaspicens"><a href="oaSpiceNS.html">oaSpiceNS</a></li><li data-class-item data-class-name="oastring"><a href="oaString.html">oaString</a></li><li data-class-item data-class-name="oastringappdef"><a href="oaStringAppDef.html">oaStringAppDef</a></li><li data-class-item data-class-name="oastringarray"><a href="oaStringArray.html">oaStringArray</a></li><li data-class-item data-class-name="oastringprop"><a href="oaStringProp.html">oaStringProp</a></li><li data-class-item data-class-name="oastringvalue"><a href="oaStringValue.html">oaStringValue</a></li><li data-class-item data-class-name="oasubset"><a href="oaSubset.html">oaSubset</a></li><li data-class-item data-class-name="oasystemtime"><a href="oaSystemTime.html">oaSystemTime</a></li><li data-class-item data-class-name="oathreadusemodel"><a href="oaThreadUseModel.html">oaThreadUseModel</a></li><li data-class-item data-class-name="oatimeappdef"><a href="oaTimeAppDef.html">oaTimeAppDef</a></li><li data-class-item data-class-name="oatimeprop"><a href="oaTimeProp.html">oaTimeProp</a></li><li data-class-item data-class-name="oatimerangeprop"><a href="oaTimeRangeProp.html">oaTimeRangeProp</a></li><li data-class-item data-class-name="oatimestamp"><a href="oaTimeStamp.html">oaTimeStamp</a></li><li data-class-item data-class-name="oatimer"><a href="oaTimer.html">oaTimer</a></li><li data-class-item data-class-name="oatransform"><a href="oaTransform.html">oaTransform</a></li><li data-class-item data-class-name="oatype"><a href="oaType.html">oaType</a></li><li data-class-item data-class-name="oauint8range"><a href="oaUInt8Range.html">oaUInt8Range</a></li><li data-class-item data-class-name="oauint8rangevalue"><a href="oaUInt8RangeValue.html">oaUInt8RangeValue</a></li><li data-class-item data-class-name="oauint8value"><a href="oaUInt8Value.html">oaUInt8Value</a></li><li data-class-item data-class-name="oaunixns"><a href="oaUnixNS.html">oaUnixNS</a></li><li data-class-item data-class-name="oavalue"><a href="oaValue.html">oaValue</a></li><li data-class-item data-class-name="oavaluearray"><a href="oaValueArray.html">oaValueArray</a></li><li data-class-item data-class-name="oavaluearrayvalue"><a href="oaValueArrayValue.html">oaValueArrayValue</a></li><li data-class-item data-class-name="oavardataappdef"><a href="oaVarDataAppDef.html">oaVarDataAppDef</a></li><li data-class-item data-class-name="oavector"><a href="oaVector.html">oaVector</a></li><li data-class-item data-class-name="oavectorbitname"><a href="oaVectorBitName.html">oaVectorBitName</a></li><li data-class-item data-class-name="oavectorname"><a href="oaVectorName.html">oaVectorName</a></li><li data-class-item data-class-name="oaverilogns"><a href="oaVerilogNS.html">oaVerilogNS</a></li><li data-class-item data-class-name="oavhdlns"><a href="oaVhdlNS.html">oaVhdlNS</a></li><li data-class-item data-class-name="oaviaextensiontype"><a href="oaViaExtensionType.html">oaViaExtensionType</a></li><li data-class-item data-class-name="oavoidpointerappdef"><a href="oaVoidPointerAppDef.html">oaVoidPointerAppDef</a></li><li data-class-item data-class-name="oawidthlengthtabletype"><a href="oaWidthLengthTableType.html">oaWidthLengthTableType</a></li><li data-class-item data-class-name="oawinns"><a href="oaWinNS.html">oaWinNS</a></li><li data-class-item data-class-name="sr1to1relationship"><a href="sr1to1Relationship.html">sr1to1Relationship</a></li></ul></div></div></aside>
|
|
<main class="content">
|
|
<div class="content-grid">
|
|
<div class="doc">
|
|
<div class="crumbs"><a href="../index.html">首页</a> / <a href="index.html">base</a> / oaPackedData</div>
|
|
<h1 id="oapackeddata">oaPackedData</h1>
|
|
<p><strong>模块</strong>: <code>oapy._oa._base</code>
|
|
<strong>导入</strong>: <code>from oapy._oa import _base</code></p>
|
|
<h2 id="_1">概览</h2>
|
|
<p><code>oaPackedData</code> 在 <code>oapy</code> 中可用,可通过 <code>_base</code> 模块访问。</p>
|
|
<p>本页汇总 <code>oaPackedData</code> 当前在 <code>oapy</code> 中可用的 Python 接口。</p>
|
|
<h2 id="_2">详细说明</h2>
|
|
<p>The oaPackedData class implements an interface object used to read and write various types of data from and to a byte array, in either a packed form or as standard data types that could require byte-swapping。 This class is primarily used internally to OpenAccess, but it is public because it can be used to store private data in a pcell supermaster that is used to evaluate instances of that pcell。 For example, it could be used to store a tokenized extension language routine that performs the evaluation for the pcell。 Such users do not ever construct an oaPackedData。 They only need to use the various read and write functions documented here。 Byte swapping is handled automatically for them。 See oaPcellDataCallback::onPcellRead and oaPcellDataCallback::onPcellWrite for the starting point of the calls that such users will invoke。 An oaPackedData is handed to the caller by oaMapWindow::data 。 The caller is responsible for making sure their sequence of read calls match exactly the sequence of write calls that previously wrote the data into an oaPackedData。</p>
|
|
<h2 id="_3">方法总览</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>状态</th>
|
|
<th>Python 调用</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.data()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.size()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.swap()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.data()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.size()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.swap()</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeByte(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeBytes(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt2(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt2(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeFloat(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeDouble(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeTime(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeString(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePoint(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeBox(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUnalignedUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeByteArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt2Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt4Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeInt8Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt2Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt4Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeUInt8Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeFloatArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeDoubleArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePointArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writeBoxArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readByte(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readBytes(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt2(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt2(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readFloat(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readDouble(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readTime(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readString(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPoint(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readBox(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUnalignedUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readByteArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt2Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt4Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readInt8Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt2Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt4Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readUInt8Array(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readFloatArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readDoubleArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPointArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readBoxArray(loc, numObjects, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedUInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedFloat(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedDouble(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedTime(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedPoint(loc, point)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedBox(loc, box)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedPointArray(loc, points, isOrtho, isVFst)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.writePackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedUInt4(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedUInt8(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedFloat(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedDouble(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedTime(loc, val)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedPoint(loc, point)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedBox(loc, box)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedPointArray(loc, points, numPoints, isOrthogonal, isVertFirst)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.readPackedRef(loc, ref)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedInt4Size(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedInt8Size(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedFloatSize(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedDoubleSize(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedTimeSize(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedPointSize(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedBoxSize(loc)</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>✅</td>
|
|
<td><code>obj.getPackedPointArraySize(loc, numPoints, isOrtho)</code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2 id="_4">方法说明</h2>
|
|
<h3 id="objdata"><code>obj.data()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.data()</code></p>
|
|
<p>This function returns the byte array of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.data()
|
|
</code></pre>
|
|
<h3 id="objsize"><code>obj.size()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.size()</code></p>
|
|
<p>This function returns the byte array size of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.size()
|
|
</code></pre>
|
|
<h3 id="objswap"><code>obj.swap()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.swap()</code></p>
|
|
<p>This function returns the swap flag of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.swap()
|
|
</code></pre>
|
|
<h3 id="objdata_1"><code>obj.data()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.data()</code></p>
|
|
<p>This function returns the reference of the byte array of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.data()
|
|
</code></pre>
|
|
<h3 id="objsize_1"><code>obj.size()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.size()</code></p>
|
|
<p>This function returns the reference of byte array size of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.size()
|
|
</code></pre>
|
|
<h3 id="objswap_1"><code>obj.swap()</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.swap()</code></p>
|
|
<p>This function returns the reference of the swap flag of this packed data。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.swap()
|
|
</code></pre>
|
|
<h3 id="objwritebyteloc-val"><code>obj.writeByte(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeByte(loc, val)</code></p>
|
|
<p>This function writes a byte to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeByte(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritebytesloc-numobjects-val"><code>obj.writeBytes(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeBytes(loc, numObjects, val)</code></p>
|
|
<p>This function writes a byte array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeBytes(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint2loc-val"><code>obj.writeInt2(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt2(loc, val)</code></p>
|
|
<p>This function writes an oaInt2 value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt2(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint4loc-val"><code>obj.writeInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt4(loc, val)</code></p>
|
|
<p>This function writes an oaInt4 value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint8loc-val"><code>obj.writeInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt8(loc, val)</code></p>
|
|
<p>This function writes an oaInt8 value to the packed data at the specified location。 The location index is aligned and then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint2loc-val"><code>obj.writeUInt2(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt2(loc, val)</code></p>
|
|
<p>This function writes an oaUInt2 value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt2(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint4loc-val"><code>obj.writeUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt4(loc, val)</code></p>
|
|
<p>This function writes an oaUInt4 value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint8loc-val"><code>obj.writeUInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt8(loc, val)</code></p>
|
|
<p>This function writes an oaUInt8 value to the packed data at the specified location。 The location index is aligned and then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritefloatloc-val"><code>obj.writeFloat(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeFloat(loc, val)</code></p>
|
|
<p>This function writes an oaFloat value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeFloat(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritedoubleloc-val"><code>obj.writeDouble(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeDouble(loc, val)</code></p>
|
|
<p>This function writes an oaDouble value to the packed data at the specified location。 The location index is aligned and then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeDouble(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritetimeloc-val"><code>obj.writeTime(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeTime(loc, val)</code></p>
|
|
<p>This function writes an oaTime value to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeTime(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritestringloc-val"><code>obj.writeString(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeString(loc, val)</code></p>
|
|
<p>This function writes a string to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeString(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepointloc-val"><code>obj.writePoint(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePoint(loc, val)</code></p>
|
|
<p>This function writes an oaPoint to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePoint(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteboxloc-val"><code>obj.writeBox(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeBox(loc, val)</code></p>
|
|
<p>This function writes an oaBox to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeBox(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriteunaligneduint4loc-val"><code>obj.writeUnalignedUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUnalignedUInt4(loc, val)</code></p>
|
|
<p>This function writes an unaligned UInt4 array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUnalignedUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwriterefloc-ref"><code>obj.writeRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwriterefloc-ref_1"><code>obj.writeRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwriterefloc-ref_2"><code>obj.writeRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwriterefloc-ref_3"><code>obj.writeRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwritebytearrayloc-numobjects-val"><code>obj.writeByteArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeByteArray(loc, numObjects, val)</code></p>
|
|
<p>This function writes a byte array to the packed data at the specified location。 The location index is then incremented past the data that is written。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeByteArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint2arrayloc-numobjects-val"><code>obj.writeInt2Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt2Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaInt2 array to the packed data at the specified location。 The location index is then incremented past the data that is written。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt2Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint4arrayloc-numobjects-val"><code>obj.writeInt4Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt4Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaInt4 array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt4Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteint8arrayloc-numobjects-val"><code>obj.writeInt8Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeInt8Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaInt8 array to the packed data at the specified location。 The location index is then incremented past the array that is written。 All array writes are 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeInt8Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint2arrayloc-numobjects-val"><code>obj.writeUInt2Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt2Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaUInt2 array to the packed data at the specified location。 The location index is then incremented past the data that is written。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt2Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint4arrayloc-numobjects-val"><code>obj.writeUInt4Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt4Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaUInt4 array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt4Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteuint8arrayloc-numobjects-val"><code>obj.writeUInt8Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeUInt8Array(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaUInt8 array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeUInt8Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwritefloatarrayloc-numobjects-val"><code>obj.writeFloatArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeFloatArray(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaFloat array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeFloatArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwritedoublearrayloc-numobjects-val"><code>obj.writeDoubleArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeDoubleArray(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaDouble array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeDoubleArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwritepointarrayloc-numobjects-val"><code>obj.writePointArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePointArray(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaPoint array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePointArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwriteboxarrayloc-numobjects-val"><code>obj.writeBoxArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writeBoxArray(loc, numObjects, val)</code></p>
|
|
<p>This function writes an oaBox array to the packed data at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writeBoxArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadbyteloc-val"><code>obj.readByte(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readByte(loc, val)</code></p>
|
|
<p>This function reads a byte from the packed data at the specified location。 The location index is then incremented past the data that is read。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readByte(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadbytesloc-numobjects-val"><code>obj.readBytes(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readBytes(loc, numObjects, val)</code></p>
|
|
<p>This function reads a byte array from the packed data at the specified location。 The location index is then incremented past the data that is read。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readBytes(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadint2loc-val"><code>obj.readInt2(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt2(loc, val)</code></p>
|
|
<p>This function reads an oaInt2 value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt2(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadint4loc-val"><code>obj.readInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt4(loc, val)</code></p>
|
|
<p>This function reads an oaInt4 value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadint8loc-val"><code>obj.readInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt8(loc, val)</code></p>
|
|
<p>This function reads an oaInt8 value from the packed data at the specified location。 The location index is aligned and then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint2loc-val"><code>obj.readUInt2(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt2(loc, val)</code></p>
|
|
<p>This function reads an oaUInt2 value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt2(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint4loc-val"><code>obj.readUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt4(loc, val)</code></p>
|
|
<p>This function reads an oaUInt4 value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint8loc-val"><code>obj.readUInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt8(loc, val)</code></p>
|
|
<p>This function reads an oaUInt8 value from the packed data at the specified location。 The location index is aligned and then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadfloatloc-val"><code>obj.readFloat(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readFloat(loc, val)</code></p>
|
|
<p>This function reads an oaFloat value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readFloat(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreaddoubleloc-val"><code>obj.readDouble(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readDouble(loc, val)</code></p>
|
|
<p>This function reads an oaDouble value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readDouble(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadtimeloc-val"><code>obj.readTime(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readTime(loc, val)</code></p>
|
|
<p>This function reads an oaTime value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readTime(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadstringloc-val"><code>obj.readString(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readString(loc, val)</code></p>
|
|
<p>This function reads a string from the packed data at the specified location。 The location index is then incremented past the data that is read。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readString(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpointloc-val"><code>obj.readPoint(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPoint(loc, val)</code></p>
|
|
<p>This function reads an oaPoint value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPoint(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadboxloc-val"><code>obj.readBox(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readBox(loc, val)</code></p>
|
|
<p>This function reads an oaBox value from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readBox(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadunaligneduint4loc-val"><code>obj.readUnalignedUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUnalignedUInt4(loc, val)</code></p>
|
|
<p>This function reads an unaligned UInt4 from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUnalignedUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadrefloc-ref"><code>obj.readRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadrefloc-ref_1"><code>obj.readRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadrefloc-ref_2"><code>obj.readRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadrefloc-ref_3"><code>obj.readRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadbytearrayloc-numobjects-val"><code>obj.readByteArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readByteArray(loc, numObjects, val)</code></p>
|
|
<p>This function reads a byte array from the packed data at the specified location。 The location index is then incremented past the data that is read。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readByteArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadint2arrayloc-numobjects-val"><code>obj.readInt2Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt2Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaInt2 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt2Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadint4arrayloc-numobjects-val"><code>obj.readInt4Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt4Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaInt4 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt4Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadint8arrayloc-numobjects-val"><code>obj.readInt8Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readInt8Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaInt8 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readInt8Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint2arrayloc-numobjects-val"><code>obj.readUInt2Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt2Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaUInt2 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。 This operation is 4-byte aligned。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt2Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint4arrayloc-numobjects-val"><code>obj.readUInt4Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt4Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaUInt4 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt4Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreaduint8arrayloc-numobjects-val"><code>obj.readUInt8Array(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readUInt8Array(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaInt8 array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readUInt8Array(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadfloatarrayloc-numobjects-val"><code>obj.readFloatArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readFloatArray(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaFloat array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readFloatArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreaddoublearrayloc-numobjects-val"><code>obj.readDoubleArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readDoubleArray(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaDouble array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readDoubleArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadpointarrayloc-numobjects-val"><code>obj.readPointArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPointArray(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaPoint array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPointArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objreadboxarrayloc-numobjects-val"><code>obj.readBoxArray(loc, numObjects, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readBoxArray(loc, numObjects, val)</code></p>
|
|
<p>This function reads an oaBox array from the packed data at the specified location。 The location index is then incremented past the data that is read。 Byte-swapping is performed if the swap-flag is set。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readBoxArray(loc, numObjects, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackedint4loc-val"><code>obj.writePackedInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedInt4(loc, val)</code></p>
|
|
<p>This function packs and writes an oaInt4 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackedint8loc-val"><code>obj.writePackedInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedInt8(loc, val)</code></p>
|
|
<p>This function packs and writes an oaInt8 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackeduint4loc-val"><code>obj.writePackedUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedUInt4(loc, val)</code></p>
|
|
<p>This function packs and writes an oaUInt4 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackeduint8loc-val"><code>obj.writePackedUInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedUInt8(loc, val)</code></p>
|
|
<p>This function packs and writes an oaUInt8 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedUInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackedfloatloc-val"><code>obj.writePackedFloat(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedFloat(loc, val)</code></p>
|
|
<p>This function packs and writes an oaFloat value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedFloat(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackeddoubleloc-val"><code>obj.writePackedDouble(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedDouble(loc, val)</code></p>
|
|
<p>This function packs and writes an oaDouble value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedDouble(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackedtimeloc-val"><code>obj.writePackedTime(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedTime(loc, val)</code></p>
|
|
<p>This function packs and writes an oaTime value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedTime(loc, val)
|
|
</code></pre>
|
|
<h3 id="objwritepackedpointloc-point"><code>obj.writePackedPoint(loc, point)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedPoint(loc, point)</code></p>
|
|
<p>This function packs and writes an oaPoint value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedPoint(loc, point)
|
|
</code></pre>
|
|
<h3 id="objwritepackedboxloc-box"><code>obj.writePackedBox(loc, box)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedBox(loc, box)</code></p>
|
|
<p>This function packs and writes an oaBox value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedBox(loc, box)
|
|
</code></pre>
|
|
<h3 id="objwritepackedpointarrayloc-points-isortho-isvfst"><code>obj.writePackedPointArray(loc, points, isOrtho, isVFst)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedPointArray(loc, points, isOrtho, isVFst)</code></p>
|
|
<p>This function packs and writes an oaPointArray at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedPointArray(loc, points, isOrtho, isVFst)
|
|
</code></pre>
|
|
<h3 id="objwritepackedrefloc-ref"><code>obj.writePackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwritepackedrefloc-ref_1"><code>obj.writePackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwritepackedrefloc-ref_2"><code>obj.writePackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objwritepackedrefloc-ref_3"><code>obj.writePackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.writePackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.writePackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadpackedint4loc-val"><code>obj.readPackedInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedInt4(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaInt4 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackedint8loc-val"><code>obj.readPackedInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedInt8(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaInt8 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackeduint4loc-val"><code>obj.readPackedUInt4(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedUInt4(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaUInt4 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedUInt4(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackeduint8loc-val"><code>obj.readPackedUInt8(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedUInt8(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaUInt8 value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedUInt8(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackedfloatloc-val"><code>obj.readPackedFloat(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedFloat(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaFloat value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedFloat(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackeddoubleloc-val"><code>obj.readPackedDouble(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedDouble(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaDouble value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedDouble(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackedtimeloc-val"><code>obj.readPackedTime(loc, val)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedTime(loc, val)</code></p>
|
|
<p>This function unpacks and reads out an oaTime value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedTime(loc, val)
|
|
</code></pre>
|
|
<h3 id="objreadpackedpointloc-point"><code>obj.readPackedPoint(loc, point)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedPoint(loc, point)</code></p>
|
|
<p>This function unpacks and reads out an oaPoint value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedPoint(loc, point)
|
|
</code></pre>
|
|
<h3 id="objreadpackedboxloc-box"><code>obj.readPackedBox(loc, box)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedBox(loc, box)</code></p>
|
|
<p>This function unpacks and reads out an oaBox value at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedBox(loc, box)
|
|
</code></pre>
|
|
<h3 id="objreadpackedpointarrayloc-points-numpoints-isorthogonal-isvertfirst"><code>obj.readPackedPointArray(loc, points, numPoints, isOrthogonal, isVertFirst)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedPointArray(loc, points, numPoints, isOrthogonal, isVertFirst)</code></p>
|
|
<p>This function unpacks and reads out an oaPointArray at the specified location。 The location index is then incremented past the data that is written。</p>
|
|
<p><strong>异常</strong></p>
|
|
<ul>
|
|
<li><code>oacCorruptedDatabase</code>。</li>
|
|
</ul>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedPointArray(loc, points, numPoints, isOrthogonal, isVertFirst)
|
|
</code></pre>
|
|
<h3 id="objreadpackedrefloc-ref"><code>obj.readPackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadpackedrefloc-ref_1"><code>obj.readPackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadpackedrefloc-ref_2"><code>obj.readPackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objreadpackedrefloc-ref_3"><code>obj.readPackedRef(loc, ref)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.readPackedRef(loc, ref)</code></p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.readPackedRef(loc, ref)
|
|
</code></pre>
|
|
<h3 id="objgetpackedint4sizeloc"><code>obj.getPackedInt4Size(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedInt4Size(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed 4-byte integer object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedInt4Size(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedint8sizeloc"><code>obj.getPackedInt8Size(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedInt8Size(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed 8-byte integer object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedInt8Size(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedfloatsizeloc"><code>obj.getPackedFloatSize(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedFloatSize(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaFloat object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedFloatSize(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackeddoublesizeloc"><code>obj.getPackedDoubleSize(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedDoubleSize(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaDouble object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedDoubleSize(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedtimesizeloc"><code>obj.getPackedTimeSize(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedTimeSize(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaTime object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedTimeSize(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedpointsizeloc"><code>obj.getPackedPointSize(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedPointSize(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaPoint object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedPointSize(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedboxsizeloc"><code>obj.getPackedBoxSize(loc)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedBoxSize(loc)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaBox object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedBoxSize(loc)
|
|
</code></pre>
|
|
<h3 id="objgetpackedpointarraysizeloc-numpoints-isortho"><code>obj.getPackedPointArraySize(loc, numPoints, isOrtho)</code></h3>
|
|
<p><strong>绑定状态</strong>: 已绑定</p>
|
|
<p><strong>Python 调用</strong>: <code>obj.getPackedPointArraySize(loc, numPoints, isOrtho)</code></p>
|
|
<p>This function returns the number of bytes used to store a packed oaPoint array object at the specified location。 It is assumed that this location actually contains the indicated object type。</p>
|
|
<p><strong>Python 示例</strong></p>
|
|
<pre><code class="language-python">from oapy._oa import _base
|
|
|
|
# assume obj is a oaPackedData
|
|
obj.getPackedPointArraySize(loc, numPoints, isOrtho)
|
|
</code></pre>
|
|
</div>
|
|
<aside class="toc-panel"><button class="toc-toggle" type="button" data-toc-toggle aria-expanded="false"><span>方法</span><span class="toc-toggle-indicator">展开</span></button><div class="toc-body"><h2>方法</h2><ul><li><a href="#obj-data"><code>obj.data()</code></a></li><li><a href="#obj-size"><code>obj.size()</code></a></li><li><a href="#obj-swap"><code>obj.swap()</code></a></li><li><a href="#obj-data"><code>obj.data()</code></a></li><li><a href="#obj-size"><code>obj.size()</code></a></li><li><a href="#obj-swap"><code>obj.swap()</code></a></li><li><a href="#obj-writebyte-loc-val"><code>obj.writeByte(loc, val)</code></a></li><li><a href="#obj-writebytes-loc-numobjects-val"><code>obj.writeBytes(loc, numObjects, val)</code></a></li><li><a href="#obj-writeint2-loc-val"><code>obj.writeInt2(loc, val)</code></a></li><li><a href="#obj-writeint4-loc-val"><code>obj.writeInt4(loc, val)</code></a></li><li><a href="#obj-writeint8-loc-val"><code>obj.writeInt8(loc, val)</code></a></li><li><a href="#obj-writeuint2-loc-val"><code>obj.writeUInt2(loc, val)</code></a></li><li><a href="#obj-writeuint4-loc-val"><code>obj.writeUInt4(loc, val)</code></a></li><li><a href="#obj-writeuint8-loc-val"><code>obj.writeUInt8(loc, val)</code></a></li><li><a href="#obj-writefloat-loc-val"><code>obj.writeFloat(loc, val)</code></a></li><li><a href="#obj-writedouble-loc-val"><code>obj.writeDouble(loc, val)</code></a></li><li><a href="#obj-writetime-loc-val"><code>obj.writeTime(loc, val)</code></a></li><li><a href="#obj-writestring-loc-val"><code>obj.writeString(loc, val)</code></a></li><li><a href="#obj-writepoint-loc-val"><code>obj.writePoint(loc, val)</code></a></li><li><a href="#obj-writebox-loc-val"><code>obj.writeBox(loc, val)</code></a></li><li><a href="#obj-writeunaligneduint4-loc-val"><code>obj.writeUnalignedUInt4(loc, val)</code></a></li><li><a href="#obj-writeref-loc-ref"><code>obj.writeRef(loc, ref)</code></a></li><li><a href="#obj-writeref-loc-ref"><code>obj.writeRef(loc, ref)</code></a></li><li><a href="#obj-writeref-loc-ref"><code>obj.writeRef(loc, ref)</code></a></li><li><a href="#obj-writeref-loc-ref"><code>obj.writeRef(loc, ref)</code></a></li><li><a href="#obj-writebytearray-loc-numobjects-val"><code>obj.writeByteArray(loc, numObjects, val)</code></a></li><li><a href="#obj-writeint2array-loc-numobjects-val"><code>obj.writeInt2Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writeint4array-loc-numobjects-val"><code>obj.writeInt4Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writeint8array-loc-numobjects-val"><code>obj.writeInt8Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writeuint2array-loc-numobjects-val"><code>obj.writeUInt2Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writeuint4array-loc-numobjects-val"><code>obj.writeUInt4Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writeuint8array-loc-numobjects-val"><code>obj.writeUInt8Array(loc, numObjects, val)</code></a></li><li><a href="#obj-writefloatarray-loc-numobjects-val"><code>obj.writeFloatArray(loc, numObjects, val)</code></a></li><li><a href="#obj-writedoublearray-loc-numobjects-val"><code>obj.writeDoubleArray(loc, numObjects, val)</code></a></li><li><a href="#obj-writepointarray-loc-numobjects-val"><code>obj.writePointArray(loc, numObjects, val)</code></a></li><li><a href="#obj-writeboxarray-loc-numobjects-val"><code>obj.writeBoxArray(loc, numObjects, val)</code></a></li><li><a href="#obj-readbyte-loc-val"><code>obj.readByte(loc, val)</code></a></li><li><a href="#obj-readbytes-loc-numobjects-val"><code>obj.readBytes(loc, numObjects, val)</code></a></li><li><a href="#obj-readint2-loc-val"><code>obj.readInt2(loc, val)</code></a></li><li><a href="#obj-readint4-loc-val"><code>obj.readInt4(loc, val)</code></a></li><li><a href="#obj-readint8-loc-val"><code>obj.readInt8(loc, val)</code></a></li><li><a href="#obj-readuint2-loc-val"><code>obj.readUInt2(loc, val)</code></a></li><li><a href="#obj-readuint4-loc-val"><code>obj.readUInt4(loc, val)</code></a></li><li><a href="#obj-readuint8-loc-val"><code>obj.readUInt8(loc, val)</code></a></li><li><a href="#obj-readfloat-loc-val"><code>obj.readFloat(loc, val)</code></a></li><li><a href="#obj-readdouble-loc-val"><code>obj.readDouble(loc, val)</code></a></li><li><a href="#obj-readtime-loc-val"><code>obj.readTime(loc, val)</code></a></li><li><a href="#obj-readstring-loc-val"><code>obj.readString(loc, val)</code></a></li><li><a href="#obj-readpoint-loc-val"><code>obj.readPoint(loc, val)</code></a></li><li><a href="#obj-readbox-loc-val"><code>obj.readBox(loc, val)</code></a></li><li><a href="#obj-readunaligneduint4-loc-val"><code>obj.readUnalignedUInt4(loc, val)</code></a></li><li><a href="#obj-readref-loc-ref"><code>obj.readRef(loc, ref)</code></a></li><li><a href="#obj-readref-loc-ref"><code>obj.readRef(loc, ref)</code></a></li><li><a href="#obj-readref-loc-ref"><code>obj.readRef(loc, ref)</code></a></li><li><a href="#obj-readref-loc-ref"><code>obj.readRef(loc, ref)</code></a></li><li><a href="#obj-readbytearray-loc-numobjects-val"><code>obj.readByteArray(loc, numObjects, val)</code></a></li><li><a href="#obj-readint2array-loc-numobjects-val"><code>obj.readInt2Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readint4array-loc-numobjects-val"><code>obj.readInt4Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readint8array-loc-numobjects-val"><code>obj.readInt8Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readuint2array-loc-numobjects-val"><code>obj.readUInt2Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readuint4array-loc-numobjects-val"><code>obj.readUInt4Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readuint8array-loc-numobjects-val"><code>obj.readUInt8Array(loc, numObjects, val)</code></a></li><li><a href="#obj-readfloatarray-loc-numobjects-val"><code>obj.readFloatArray(loc, numObjects, val)</code></a></li><li><a href="#obj-readdoublearray-loc-numobjects-val"><code>obj.readDoubleArray(loc, numObjects, val)</code></a></li><li><a href="#obj-readpointarray-loc-numobjects-val"><code>obj.readPointArray(loc, numObjects, val)</code></a></li><li><a href="#obj-readboxarray-loc-numobjects-val"><code>obj.readBoxArray(loc, numObjects, val)</code></a></li><li><a href="#obj-writepackedint4-loc-val"><code>obj.writePackedInt4(loc, val)</code></a></li><li><a href="#obj-writepackedint8-loc-val"><code>obj.writePackedInt8(loc, val)</code></a></li><li><a href="#obj-writepackeduint4-loc-val"><code>obj.writePackedUInt4(loc, val)</code></a></li><li><a href="#obj-writepackeduint8-loc-val"><code>obj.writePackedUInt8(loc, val)</code></a></li><li><a href="#obj-writepackedfloat-loc-val"><code>obj.writePackedFloat(loc, val)</code></a></li><li><a href="#obj-writepackeddouble-loc-val"><code>obj.writePackedDouble(loc, val)</code></a></li><li><a href="#obj-writepackedtime-loc-val"><code>obj.writePackedTime(loc, val)</code></a></li><li><a href="#obj-writepackedpoint-loc-point"><code>obj.writePackedPoint(loc, point)</code></a></li><li><a href="#obj-writepackedbox-loc-box"><code>obj.writePackedBox(loc, box)</code></a></li><li><a href="#obj-writepackedpointarray-loc-points-isortho-isvfst"><code>obj.writePackedPointArray(loc, points, isOrtho, isVFst)</code></a></li><li><a href="#obj-writepackedref-loc-ref"><code>obj.writePackedRef(loc, ref)</code></a></li><li><a href="#obj-writepackedref-loc-ref"><code>obj.writePackedRef(loc, ref)</code></a></li><li><a href="#obj-writepackedref-loc-ref"><code>obj.writePackedRef(loc, ref)</code></a></li><li><a href="#obj-writepackedref-loc-ref"><code>obj.writePackedRef(loc, ref)</code></a></li><li><a href="#obj-readpackedint4-loc-val"><code>obj.readPackedInt4(loc, val)</code></a></li><li><a href="#obj-readpackedint8-loc-val"><code>obj.readPackedInt8(loc, val)</code></a></li><li><a href="#obj-readpackeduint4-loc-val"><code>obj.readPackedUInt4(loc, val)</code></a></li><li><a href="#obj-readpackeduint8-loc-val"><code>obj.readPackedUInt8(loc, val)</code></a></li><li><a href="#obj-readpackedfloat-loc-val"><code>obj.readPackedFloat(loc, val)</code></a></li><li><a href="#obj-readpackeddouble-loc-val"><code>obj.readPackedDouble(loc, val)</code></a></li><li><a href="#obj-readpackedtime-loc-val"><code>obj.readPackedTime(loc, val)</code></a></li><li><a href="#obj-readpackedpoint-loc-point"><code>obj.readPackedPoint(loc, point)</code></a></li><li><a href="#obj-readpackedbox-loc-box"><code>obj.readPackedBox(loc, box)</code></a></li><li><a href="#obj-readpackedpointarray-loc-points-numpoints-isorthogonal-isvertfirst"><code>obj.readPackedPointArray(loc, points, numPoints, isOrthogonal, isVertFirst)</code></a></li><li><a href="#obj-readpackedref-loc-ref"><code>obj.readPackedRef(loc, ref)</code></a></li><li><a href="#obj-readpackedref-loc-ref"><code>obj.readPackedRef(loc, ref)</code></a></li><li><a href="#obj-readpackedref-loc-ref"><code>obj.readPackedRef(loc, ref)</code></a></li><li><a href="#obj-readpackedref-loc-ref"><code>obj.readPackedRef(loc, ref)</code></a></li><li><a href="#obj-getpackedint4size-loc"><code>obj.getPackedInt4Size(loc)</code></a></li><li><a href="#obj-getpackedint8size-loc"><code>obj.getPackedInt8Size(loc)</code></a></li><li><a href="#obj-getpackedfloatsize-loc"><code>obj.getPackedFloatSize(loc)</code></a></li><li><a href="#obj-getpackeddoublesize-loc"><code>obj.getPackedDoubleSize(loc)</code></a></li><li><a href="#obj-getpackedtimesize-loc"><code>obj.getPackedTimeSize(loc)</code></a></li><li><a href="#obj-getpackedpointsize-loc"><code>obj.getPackedPointSize(loc)</code></a></li><li><a href="#obj-getpackedboxsize-loc"><code>obj.getPackedBoxSize(loc)</code></a></li><li><a href="#obj-getpackedpointarraysize-loc-numpoints-isortho"><code>obj.getPackedPointArraySize(loc, numPoints, isOrtho)</code></a></li></ul></div></aside>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
<div class="footer">oapy 是 AIVI 项目的一部分。此站点提供当前 oapy Python API 的中文文档。</div>
|
|
<script>
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
const input = document.querySelector("[data-class-filter]");
|
|
if (input) {
|
|
input.addEventListener("input", () => {
|
|
const term = input.value.trim().toLowerCase();
|
|
document.querySelectorAll("[data-class-item]").forEach((item) => {
|
|
const name = item.getAttribute("data-class-name") || "";
|
|
item.classList.toggle("hidden", term && !name.includes(term));
|
|
});
|
|
});
|
|
}
|
|
|
|
const globalInput = document.querySelector("[data-global-search]");
|
|
if (globalInput) {
|
|
globalInput.addEventListener("input", () => {
|
|
const term = globalInput.value.trim().toLowerCase();
|
|
document.querySelectorAll("[data-search-item]").forEach((item) => {
|
|
const name = item.getAttribute("data-search-name") || "";
|
|
const module = item.getAttribute("data-search-module") || "";
|
|
const visible = !term || name.includes(term) || module.includes(term);
|
|
item.classList.toggle("hidden", !visible);
|
|
});
|
|
});
|
|
}
|
|
|
|
document.querySelectorAll("[data-toc-toggle]").forEach((button) => {
|
|
button.addEventListener("click", () => {
|
|
const panel = button.closest(".toc-panel");
|
|
if (!panel) return;
|
|
const isOpen = panel.classList.toggle("open");
|
|
button.setAttribute("aria-expanded", isOpen ? "true" : "false");
|
|
const indicator = button.querySelector(".toc-toggle-indicator");
|
|
if (indicator) {
|
|
indicator.textContent = isOpen ? "Hide" : "Show";
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|