OCC.ExprIntrp module¶
Describes an interpreter for GeneralExpressions,GeneralFunctions, and GeneralRelations defined inpackage Expr.
-
class
ExprIntrp_Analysis
(*args)¶ Bases:
object
Return type: None -
GetFunction
()¶ Parameters: name (TCollection_AsciiString &) – Return type: Handle_Expr_NamedFunction
-
GetNamed
()¶ Parameters: name (TCollection_AsciiString &) – Return type: Handle_Expr_NamedExpression
-
Pop
()¶ Return type: Handle_Expr_GeneralExpression
-
PopFunction
()¶ Return type: Handle_Expr_GeneralFunction
-
PopName
()¶ Return type: TCollection_AsciiString
-
PopRelation
()¶ Return type: Handle_Expr_GeneralRelation
-
Use
()¶ Parameters: - func (Handle_Expr_NamedFunction &) –
- named (Handle_Expr_NamedExpression &) –
Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_GenExp
(*args, **kwargs)¶ Bases:
OCC.ExprIntrp.ExprIntrp_Generator
-
static
Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenExp¶ Return type: Handle_ExprIntrp_GenExp
-
Expression
()¶ - Returns expression generated. Raises an exception if IsDone answers false.
Return type: Handle_Expr_GeneralExpression
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
static
-
ExprIntrp_GenExp_Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenExp¶ Return type: Handle_ExprIntrp_GenExp
-
class
ExprIntrp_GenFct
(*args, **kwargs)¶ Bases:
OCC.ExprIntrp.ExprIntrp_Generator
-
static
Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenFct¶ Return type: Handle_ExprIntrp_GenFct
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
static
-
ExprIntrp_GenFct_Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenFct¶ Return type: Handle_ExprIntrp_GenFct
-
class
ExprIntrp_GenRel
(*args, **kwargs)¶ Bases:
OCC.ExprIntrp.ExprIntrp_Generator
-
static
Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenRel¶ Return type: Handle_ExprIntrp_GenRel
-
GetHandle
()¶
-
Relation
()¶ - Returns relation generated. Raises an exception if IsDone answers false.
Return type: Handle_Expr_GeneralRelation
-
thisown
¶ The membership flag
-
static
-
ExprIntrp_GenRel_Create
(*args) → OCC.ExprIntrp.Handle_ExprIntrp_GenRel¶ Return type: Handle_ExprIntrp_GenRel
-
class
ExprIntrp_Generator
(*args, **kwargs)¶ Bases:
OCC.MMgt.MMgt_TShared
-
GetFunction
()¶ - Returns NamedFunction with name <name> already interpreted if it exists. Returns a null handle if not.
Parameters: name (TCollection_AsciiString &) – Return type: Handle_Expr_NamedFunction
-
GetFunctions
()¶ Return type: ExprIntrp_SequenceOfNamedFunction
-
GetHandle
()¶
-
GetNamed
()¶ Return type: ExprIntrp_SequenceOfNamedExpression - Returns NamedExpression with name <name> already interpreted if it exists. Returns a null handle if not.
Parameters: name (TCollection_AsciiString &) – Return type: Handle_Expr_NamedExpression
-
Use
()¶ Parameters: - func (Handle_Expr_NamedFunction &) –
- named (Handle_Expr_NamedExpression &) –
Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_ListIteratorOfStackOfGeneralExpression
(*args)¶ Bases:
object
Return type: None Parameters: L (ExprIntrp_StackOfGeneralExpression &) – Return type: None -
Value
()¶ Return type: Handle_Expr_GeneralExpression
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_ListIteratorOfStackOfGeneralFunction
(*args)¶ Bases:
object
Return type: None Parameters: L (ExprIntrp_StackOfGeneralFunction &) – Return type: None -
Value
()¶ Return type: Handle_Expr_GeneralFunction
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_ListIteratorOfStackOfGeneralRelation
(*args)¶ Bases:
object
Return type: None Parameters: L (ExprIntrp_StackOfGeneralRelation &) – Return type: None -
Value
()¶ Return type: Handle_Expr_GeneralRelation
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_ListNodeOfStackOfGeneralExpression
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (Handle_Expr_GeneralExpression &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Expr_GeneralExpression
-
thisown
¶ The membership flag
-
class
ExprIntrp_ListNodeOfStackOfGeneralFunction
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (Handle_Expr_GeneralFunction &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Expr_GeneralFunction
-
thisown
¶ The membership flag
-
class
ExprIntrp_ListNodeOfStackOfGeneralRelation
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (Handle_Expr_GeneralRelation &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Expr_GeneralRelation
-
thisown
¶ The membership flag
-
class
ExprIntrp_SequenceNodeOfSequenceOfNamedExpression
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Handle_Expr_NamedExpression &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Expr_NamedExpression
-
thisown
¶ The membership flag
-
class
ExprIntrp_SequenceNodeOfSequenceOfNamedFunction
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Handle_Expr_NamedFunction &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Expr_NamedFunction
-
thisown
¶ The membership flag
-
class
ExprIntrp_SequenceOfNamedExpression
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (ExprIntrp_SequenceOfNamedExpression &) – Return type: None -
Append
()¶ Parameters: - T (Handle_Expr_NamedExpression &) –
- S (ExprIntrp_SequenceOfNamedExpression &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (ExprIntrp_SequenceOfNamedExpression &) – Return type: ExprIntrp_SequenceOfNamedExpression
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_Expr_NamedExpression
-
First
()¶ Return type: Handle_Expr_NamedExpression
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_Expr_NamedExpression &) –
- Index –
- S (ExprIntrp_SequenceOfNamedExpression &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_Expr_NamedExpression &) –
- Index –
- S (ExprIntrp_SequenceOfNamedExpression &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_Expr_NamedExpression
-
Prepend
()¶ Parameters: - T (Handle_Expr_NamedExpression &) –
- S (ExprIntrp_SequenceOfNamedExpression &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (ExprIntrp_SequenceOfNamedExpression &) – Return type: ExprIntrp_SequenceOfNamedExpression
-
Value
()¶ Parameters: Index (int) – Return type: Handle_Expr_NamedExpression
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_SequenceOfNamedFunction
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (ExprIntrp_SequenceOfNamedFunction &) – Return type: None -
Append
()¶ Parameters: - T (Handle_Expr_NamedFunction &) –
- S (ExprIntrp_SequenceOfNamedFunction &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (ExprIntrp_SequenceOfNamedFunction &) – Return type: ExprIntrp_SequenceOfNamedFunction
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_Expr_NamedFunction
-
First
()¶ Return type: Handle_Expr_NamedFunction
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_Expr_NamedFunction &) –
- Index –
- S (ExprIntrp_SequenceOfNamedFunction &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_Expr_NamedFunction &) –
- Index –
- S (ExprIntrp_SequenceOfNamedFunction &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_Expr_NamedFunction
-
Prepend
()¶ Parameters: - T (Handle_Expr_NamedFunction &) –
- S (ExprIntrp_SequenceOfNamedFunction &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (ExprIntrp_SequenceOfNamedFunction &) – Return type: ExprIntrp_SequenceOfNamedFunction
-
Value
()¶ Parameters: Index (int) – Return type: Handle_Expr_NamedFunction
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_StackOfGeneralExpression
(*args)¶ Bases:
object
Return type: None Parameters: Other (ExprIntrp_StackOfGeneralExpression &) – Return type: None -
Append
()¶ Parameters: - I (Handle_Expr_GeneralExpression &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
- Other (ExprIntrp_StackOfGeneralExpression &) –
Return type: Return type: Return type:
-
First
()¶ Return type: Handle_Expr_GeneralExpression
-
InsertAfter
()¶ Parameters: - I (Handle_Expr_GeneralExpression &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
- Other (ExprIntrp_StackOfGeneralExpression &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (Handle_Expr_GeneralExpression &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
- Other (ExprIntrp_StackOfGeneralExpression &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: Handle_Expr_GeneralExpression
-
Prepend
()¶ Parameters: - I (Handle_Expr_GeneralExpression &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
- Other (ExprIntrp_StackOfGeneralExpression &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_StackOfGeneralFunction
(*args)¶ Bases:
object
Return type: None Parameters: Other (ExprIntrp_StackOfGeneralFunction &) – Return type: None -
Append
()¶ Parameters: - I (Handle_Expr_GeneralFunction &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
- Other (ExprIntrp_StackOfGeneralFunction &) –
Return type: Return type: Return type:
-
First
()¶ Return type: Handle_Expr_GeneralFunction
-
InsertAfter
()¶ Parameters: - I (Handle_Expr_GeneralFunction &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
- Other (ExprIntrp_StackOfGeneralFunction &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (Handle_Expr_GeneralFunction &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
- Other (ExprIntrp_StackOfGeneralFunction &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: Handle_Expr_GeneralFunction
-
Prepend
()¶ Parameters: - I (Handle_Expr_GeneralFunction &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
- Other (ExprIntrp_StackOfGeneralFunction &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
ExprIntrp_StackOfGeneralRelation
(*args)¶ Bases:
object
Return type: None Parameters: Other (ExprIntrp_StackOfGeneralRelation &) – Return type: None -
Append
()¶ Parameters: - I (Handle_Expr_GeneralRelation &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
- Other (ExprIntrp_StackOfGeneralRelation &) –
Return type: Return type: Return type:
-
First
()¶ Return type: Handle_Expr_GeneralRelation
-
InsertAfter
()¶ Parameters: - I (Handle_Expr_GeneralRelation &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
- Other (ExprIntrp_StackOfGeneralRelation &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (Handle_Expr_GeneralRelation &) –
- It (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
- Other (ExprIntrp_StackOfGeneralRelation &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: Handle_Expr_GeneralRelation
-
Prepend
()¶ Parameters: - I (Handle_Expr_GeneralRelation &) –
- I –
- theIt (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
- Other (ExprIntrp_StackOfGeneralRelation &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
Handle_ExprIntrp_GenExp
(*args)¶ Bases:
OCC.ExprIntrp.Handle_ExprIntrp_Generator
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_GenFct
(*args)¶ Bases:
OCC.ExprIntrp.Handle_ExprIntrp_Generator
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_GenRel
(*args)¶ Bases:
OCC.ExprIntrp.Handle_ExprIntrp_Generator
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_Generator
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_ListNodeOfStackOfGeneralExpression
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_ListNodeOfStackOfGeneralFunction
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_ListNodeOfStackOfGeneralRelation
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedExpression
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedFunction
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
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