OCC.ExprIntrp module

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
IsExpStackEmpty()
Return type:bool
IsRelStackEmpty()
Return type:bool
Pop()
Return type:Handle_Expr_GeneralExpression
PopFunction()
Return type:Handle_Expr_GeneralFunction
PopName()
Return type:TCollection_AsciiString
PopRelation()
Return type:Handle_Expr_GeneralRelation
PopValue()
Return type:int
Push()
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
PushFunction()
Parameters:func (Handle_Expr_GeneralFunction &) –
Return type:None
PushName()
Parameters:name (TCollection_AsciiString &) –
Return type:None
PushRelation()
Parameters:rel (Handle_Expr_GeneralRelation &) –
Return type:None
PushValue()
Parameters:degree (int) –
Return type:None
ResetAll()
Return type:None
SetMaster()
Parameters:agen (Handle_ExprIntrp_Generator &) –
Return type:None
Use()
Parameters:
  • func (Handle_Expr_NamedFunction &) –
  • named (Handle_Expr_NamedExpression &) –
Return type:

None

Return type:

None

thisown

The membership flag

class ExprIntrp_GenExp(*args, **kwargs)

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create(*args)
Return type:Handle_ExprIntrp_GenExp
Expression()
  • Returns expression generated. Raises an exception if IsDone answers false.
Return type:Handle_Expr_GeneralExpression
GetHandle()
IsDone()
  • Returns false if any syntax error has occurred during process.
Return type:bool
Process()
  • Processes given string.
Parameters:str (TCollection_AsciiString &) –
Return type:None
thisown

The membership flag

ExprIntrp_GenExp_Create(*args)
Return type:Handle_ExprIntrp_GenExp
class ExprIntrp_GenFct(*args, **kwargs)

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create(*args)
Return type:Handle_ExprIntrp_GenFct
GetHandle()
IsDone()
Return type:bool
Process()
Parameters:str (TCollection_AsciiString &) –
Return type:None
thisown

The membership flag

ExprIntrp_GenFct_Create(*args)
Return type:Handle_ExprIntrp_GenFct
class ExprIntrp_GenRel(*args, **kwargs)

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create(*args)
Return type:Handle_ExprIntrp_GenRel
GetHandle()
IsDone()
  • Returns false if any syntax error has occurred during process.
Return type:bool
Process()
  • Processes given string.
Parameters:str (TCollection_AsciiString &) –
Return type:None
Relation()
  • Returns relation generated. Raises an exception if IsDone answers false.
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

ExprIntrp_GenRel_Create(*args)
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:

None

Return type:

None

thisown

The membership flag

class ExprIntrp_ListIteratorOfStackOfGeneralExpression(*args)

Bases: object

Return type:None
Parameters:L (ExprIntrp_StackOfGeneralExpression &) –
Return type:None
Initialize()
Parameters:L (ExprIntrp_StackOfGeneralExpression &) –
Return type:None
More()
Return type:bool
Next()
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
Initialize()
Parameters:L (ExprIntrp_StackOfGeneralFunction &) –
Return type:None
More()
Return type:bool
Next()
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
Initialize()
Parameters:L (ExprIntrp_StackOfGeneralRelation &) –
Return type:None
More()
Return type:bool
Next()
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:

None

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:

None

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:

None

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:

None

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:

None

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:

None

Return type:

None

Assign()
Parameters:Other (ExprIntrp_SequenceOfNamedExpression &) –
Return type:ExprIntrp_SequenceOfNamedExpression
ChangeValue()
Parameters:Index (int) –
Return type:Handle_Expr_NamedExpression
Clear()
Return type:None
First()
Return type:Handle_Expr_NamedExpression
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_Expr_NamedExpression &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedExpression &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_Expr_NamedExpression &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedExpression &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_Expr_NamedExpression
Prepend()
Parameters:
  • T (Handle_Expr_NamedExpression &) –
  • S (ExprIntrp_SequenceOfNamedExpression &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (ExprIntrp_SequenceOfNamedExpression &) –
Return type:ExprIntrp_SequenceOfNamedExpression
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_Expr_NamedExpression &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (ExprIntrp_SequenceOfNamedExpression &) –
Return type:

None

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:

None

Return type:

None

Assign()
Parameters:Other (ExprIntrp_SequenceOfNamedFunction &) –
Return type:ExprIntrp_SequenceOfNamedFunction
ChangeValue()
Parameters:Index (int) –
Return type:Handle_Expr_NamedFunction
Clear()
Return type:None
First()
Return type:Handle_Expr_NamedFunction
InsertAfter()
Parameters:
  • Index (int) –
  • T (Handle_Expr_NamedFunction &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedFunction &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Handle_Expr_NamedFunction &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedFunction &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_Expr_NamedFunction
Prepend()
Parameters:
  • T (Handle_Expr_NamedFunction &) –
  • S (ExprIntrp_SequenceOfNamedFunction &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (ExprIntrp_SequenceOfNamedFunction &) –
Return type:ExprIntrp_SequenceOfNamedFunction
SetValue()
Parameters:
  • Index (int) –
  • I (Handle_Expr_NamedFunction &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (ExprIntrp_SequenceOfNamedFunction &) –
Return type:

None

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:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralExpression &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_Expr_GeneralExpression
InsertAfter()
Parameters:
  • I (Handle_Expr_GeneralExpression &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
  • Other (ExprIntrp_StackOfGeneralExpression &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_Expr_GeneralExpression &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
  • Other (ExprIntrp_StackOfGeneralExpression &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_Expr_GeneralExpression
Prepend()
Parameters:
  • I (Handle_Expr_GeneralExpression &) –
  • I
  • theIt (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
  • Other (ExprIntrp_StackOfGeneralExpression &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (ExprIntrp_ListIteratorOfStackOfGeneralExpression &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralExpression &) –
Return type:None
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:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralFunction &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_Expr_GeneralFunction
InsertAfter()
Parameters:
  • I (Handle_Expr_GeneralFunction &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
  • Other (ExprIntrp_StackOfGeneralFunction &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_Expr_GeneralFunction &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
  • Other (ExprIntrp_StackOfGeneralFunction &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_Expr_GeneralFunction
Prepend()
Parameters:
  • I (Handle_Expr_GeneralFunction &) –
  • I
  • theIt (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
  • Other (ExprIntrp_StackOfGeneralFunction &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (ExprIntrp_ListIteratorOfStackOfGeneralFunction &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralFunction &) –
Return type:None
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:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralRelation &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Handle_Expr_GeneralRelation
InsertAfter()
Parameters:
  • I (Handle_Expr_GeneralRelation &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
  • Other (ExprIntrp_StackOfGeneralRelation &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Handle_Expr_GeneralRelation &) –
  • It (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
  • Other (ExprIntrp_StackOfGeneralRelation &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Handle_Expr_GeneralRelation
Prepend()
Parameters:
  • I (Handle_Expr_GeneralRelation &) –
  • I
  • theIt (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
  • Other (ExprIntrp_StackOfGeneralRelation &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (ExprIntrp_ListIteratorOfStackOfGeneralRelation &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralRelation &) –
Return type:None
thisown

The membership flag

class Handle_ExprIntrp_GenExp(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_GenFct(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_GenRel(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_Generator(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_ListNodeOfStackOfGeneralExpression(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_ListNodeOfStackOfGeneralFunction(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_ListNodeOfStackOfGeneralRelation(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedExpression(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedFunction(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class exprintrp(*args, **kwargs)

Bases: object

thisown

The membership flag

register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases