• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            eryar

            PipeCAD - Plant Piping Design Software.
            RvmTranslator - Translate AVEVA RVM to OBJ, glTF, etc.
            posts - 603, comments - 590, trackbacks - 0, articles - 0

            OpenCASCADE Foundation Classes

            Collections, Strings and Unit Conversion

            OpenCASCADE基礎庫之集合、字符串和單位轉換

            一、集合 Collections

            1. 概述 Overview

            集合Collections包含可處理動態大小的數據類,包括數組、鏈表、映射等。集合中的類是泛型的,即集合可以保存任何對象數據而不用關心是不是從一個基類派生而來的對象。當使用集合來保存指定的對象時,你必須從指定的類型來實例化。當聲明編譯后,通用集合的所有函數對實例化后的類都可用。

            l Each collection directly used as argument in an OpenCASCADE public syntax is instantiated in a OpenCASCADE component;

            l The TColStd package(Collections of Standard Objects component)provides numerous instantiations of these generic collections with objects from the Standard package or from the Strings component;

            集合部件提供很多通用的集合,如下:

            l 數組Arrays:常用于快速訪問數據,盡管其大小是固定的;

            l 序列Sequences:是大小不固定的數據結構,可用于大量數據的存儲。但是序列中數據的訪問要比數據中的慢。序列和數組常用于作為復雜對象的數據。

            l 映射Maps:映射也是動態的數據結構,但是其大小總是與插入的數據相適應且訪問速度很快。

            l 鏈表、隊列、棧與序列類似;

            TCollection中通用的集合Generic general-purpose aggregates

            l Array1

            l Array2

            l HArray1

            l HArray2

            l HSequence

            l HSet

            l List

            l Queue

            l Sequence

            l Set

            l Stack

            TCollection中的通用映射類Generic Maps

            l BasicMap

            l DataMap

            l DoubleMap

            l IndexedMap

            l IndexedDataMap

            l Map

            l MapHasher

            TCollection中的遍歷器 Iterators

            l BasicMapIterator;

            l DataMapIterator;

            l DoubleMapIterator;

            l ListIterator;

            l MapIterator;

            l SetIterator;

            l StackIterator;

            2. 通用集合 Generic general-purpose Aggregates

            TCollection(The collections of standard object)類提供常用的泛型集合。它有個限制:OCCT泛型類需要兼容CDL的定義,所以只能在WOK中被實例化。

            NCollection部分是為了滿足不使用WOK開發環境的用戶的需要。它完全可以替換TCollection中的類來使用。

            l TCollection_Array1:在現在的Reference文檔中沒有發現,只有NCollection_Array1

            l TCollection_Array2:二維數組;

            l TCollection_HArray1:

            l TCollection_HArray2:

            l TCollection_HSequence

            l TCollection_HSet

            l TCollection_List

            l TCollection_QueueFIFOFirst In First Out

            l TCollection_Sequence

            l TCollection_Set

            l TCollection_StackLIFO, Last In First Out

            3. 通用映射 Generic Maps

            TCollection_BasicMapRoot class for mapsMaps是一種可以通過鍵Key快速訪問其數據的動態可擴展的數據結構。

            l TCollection_MapHasher

            l TCollection_DataMap

            l TCollection_DataMapIterator

            l TCollection_MapHasher

            l TCollection_DoubleMap

            l TCollection_DoubleMapIterator

            l TCollection_IndexedDataMap

            l TCollection_IndexedMap

            l TCollection_Map

            4. 遍歷器 Iterators

            l TCollection_BasicMapIterator

            l TCollection_DataMapIterator

            l TCollection_DoubleMapIterator

            l TCollection_ListIterator

            l TCollection_MapIterator

            l TCollection_SetIterator

            l TCollection_StackIterator

            二、標準對象集合Collections of Standard Objects

            略。

            三、字符串 Strings

            1. 概述 Overview

            Strings提供了操作字符串的功能。Strings是可以處理動態大小的字符序列的類,字符包括ASCII(通常為8位字符)和Unicode(16位字符)。Strings也是由手柄控制。

            Strings (TCollection 包)

            l AsciiString

            l ExtendedString

            l HAsciiString

            l HExtendedString

            Conversion (Resource 包)

            l Unicode

            2. 字符串

            l TCollection_AsciiString:處理可變長的ASCII(8位)字符串的類;

            l TCollection_ExtendString:處理可變長UNICODE(16位)字符串的類;

            其相應的手柄類分別為:

            l TCollection_HAsciiString

            l TCollection_HExtendedString

            3. 轉換 Conversion

            l Resource_Unicode:提供將非ASCII的字符串(ANSI, EUC, GB, SJIS)轉換成UNICODE字符串。

            四、單位轉換 Unit Conversion

            UnitsAPI中的全局函數可以用來將數據在任意單位之間進行轉換。轉換在以下三種單位系統中執行:

            l SI System:標準國際單位系統;

            l 用戶Local System

            l 用戶Current System

             

            精品永久久福利一区二区| 狠狠色狠狠色综合久久| 天天久久狠狠色综合| 国产成人久久777777| 久久精品亚洲欧美日韩久久| 亚洲国产成人精品无码久久久久久综合| 久久久久久久久久免免费精品| 精品久久久久久久国产潘金莲 | 久久精品免费一区二区| 亚洲AV无码久久精品蜜桃| 久久中文字幕一区二区| 中文字幕日本人妻久久久免费| 精品免费tv久久久久久久| 中文字幕无码久久精品青草| 狠狠色丁香久久综合婷婷| 色综合久久夜色精品国产| 欧美日韩中文字幕久久伊人| 人妻无码αv中文字幕久久琪琪布| 久久成人国产精品二三区| 精品国产青草久久久久福利| 久久国产V一级毛多内射| 国产精品一久久香蕉国产线看观看 | 色8久久人人97超碰香蕉987| 久久夜色撩人精品国产| 99久久国产免费福利| 日韩精品久久久久久| 麻豆AV一区二区三区久久| 精品久久久无码21p发布| 中文字幕精品无码久久久久久3D日动漫 | 久久免费视频网站| 2021少妇久久久久久久久久| 亚洲日韩中文无码久久| 2021国产精品久久精品| 模特私拍国产精品久久| 热久久最新网站获取| 亚洲午夜无码AV毛片久久| 香蕉99久久国产综合精品宅男自| 久久夜色精品国产亚洲av| 亚洲人成电影网站久久| 亚洲伊人久久精品影院| 亚洲日韩中文无码久久|