OCC.Dico module¶
-Purpose : Defines alphanumeric dictionaries and iterators on themThose are generic classes (Iterator is nested in Dictionary)Three default instantiations are offered :with Integer and Handle Objects (Persistent and Transient)
-
class
Dico_DictionaryOfInteger
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None -
Copy
()¶ Return type: Handle_Dico_DictionaryOfInteger
-
GetHandle
()¶
-
GetItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- anitem (int &) –
- exact (bool) – default value is Standard_True
- name –
- anitem –
- exact – default value is Standard_True
Return type: Return type:
-
HasItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- exact (bool) – default value is Standard_False
- name –
- exact – default value is Standard_True
Return type: Return type:
-
Item
()¶ Parameters: - name (TCollection_AsciiString &) –
- exact (bool) – default value is Standard_True
- name –
- exact – default value is Standard_True
Return type: Return type:
-
NewItem
()¶ Parameters: Return type: Return type:
-
RemoveItem
()¶ Parameters: Return type: Return type:
-
SetItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- anitem (int &) –
- exact (bool) – default value is Standard_True
- name –
- anitem –
- exact – default value is Standard_True
Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
Dico_DictionaryOfTransient
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None -
Copy
()¶ Return type: Handle_Dico_DictionaryOfTransient
-
GetHandle
()¶
-
GetItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- anitem (Handle_Standard_Transient &) –
- exact (bool) – default value is Standard_True
- name –
- anitem –
- exact – default value is Standard_True
Return type: Return type:
-
HasItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- exact (bool) – default value is Standard_False
- name –
- exact – default value is Standard_True
Return type: Return type:
-
Item
()¶ Parameters: - name (TCollection_AsciiString &) –
- exact (bool) – default value is Standard_True
- name –
- exact – default value is Standard_True
Return type: Return type:
-
NewItem
()¶ Parameters: Return type: Return type:
-
RemoveItem
()¶ Parameters: Return type: Return type:
-
SetItem
()¶ Parameters: - name (TCollection_AsciiString &) –
- anitem (Handle_Standard_Transient &) –
- exact (bool) – default value is Standard_True
- name –
- anitem –
- exact – default value is Standard_True
Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
Dico_IteratorOfDictionaryOfInteger
(*args)¶ Bases:
object
Parameters: - acell (Handle_Dico_DictionaryOfInteger &) –
- acell –
- basename (TCollection_AsciiString &) –
- acell –
- basename –
Return type: Return type: Return type: -
Name
()¶ Return type: TCollection_AsciiString
-
thisown
¶ The membership flag
-
class
Dico_IteratorOfDictionaryOfTransient
(*args)¶ Bases:
object
Parameters: - acell (Handle_Dico_DictionaryOfTransient &) –
- acell –
- basename (TCollection_AsciiString &) –
- acell –
- basename –
Return type: Return type: Return type: -
Name
()¶ Return type: TCollection_AsciiString
-
Value
()¶ Return type: Handle_Standard_Transient
-
thisown
¶ The membership flag
-
class
Dico_StackItemOfDictionaryOfInteger
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None Parameters: previous (Handle_Dico_StackItemOfDictionaryOfInteger &) – Return type: None -
GetHandle
()¶
-
Previous
()¶ Return type: Handle_Dico_StackItemOfDictionaryOfInteger
-
Value
()¶ Return type: Handle_Dico_DictionaryOfInteger
-
thisown
¶ The membership flag
-
-
class
Dico_StackItemOfDictionaryOfTransient
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None Parameters: previous (Handle_Dico_StackItemOfDictionaryOfTransient &) – Return type: None -
GetHandle
()¶
-
Previous
()¶ Return type: Handle_Dico_StackItemOfDictionaryOfTransient
-
Value
()¶ Return type: Handle_Dico_DictionaryOfTransient
-
thisown
¶ The membership flag
-
-
class
Handle_Dico_DictionaryOfInteger
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Dico_DictionaryOfTransient
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Dico_StackItemOfDictionaryOfInteger
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Dico_StackItemOfDictionaryOfTransient
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases