OCC.ExprIntrp module

class OCC.ExprIntrp.ExprIntrp_Analysis

Bases: object

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 (Standard_Integer) –
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 OCC.ExprIntrp.ExprIntrp_GenExp(*args, **kwargs)

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create()
Return type:Handle_ExprIntrp_GenExp
Expression()
  • Returns expression generated. Raises an exception if IsDone answers false.
Return type:Handle_Expr_GeneralExpression
GetHandle()

ExprIntrp_GenExp_GetHandle(ExprIntrp_GenExp self) -> Handle_ExprIntrp_GenExp

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

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

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create()
Return type:Handle_ExprIntrp_GenFct
GetHandle()

ExprIntrp_GenFct_GetHandle(ExprIntrp_GenFct self) -> Handle_ExprIntrp_GenFct

IsDone()
Return type:bool
Process()
Parameters:str (TCollection_AsciiString &) –
Return type:None
thisown

The membership flag

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

Bases: OCC.ExprIntrp.ExprIntrp_Generator

static Create()
Return type:Handle_ExprIntrp_GenRel
GetHandle()

ExprIntrp_GenRel_GetHandle(ExprIntrp_GenRel self) -> Handle_ExprIntrp_GenRel

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

OCC.ExprIntrp.ExprIntrp_GenRel_Create()
Return type:Handle_ExprIntrp_GenRel
class OCC.ExprIntrp.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()

ExprIntrp_Generator_GetHandle(ExprIntrp_Generator self) -> Handle_ExprIntrp_Generator

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 OCC.ExprIntrp.ExprIntrp_SequenceNodeOfSequenceOfNamedExpression(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

ExprIntrp_SequenceNodeOfSequenceOfNamedExpression_GetHandle(ExprIntrp_SequenceNodeOfSequenceOfNamedExpression self) -> Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedExpression

Value()
Return type:Handle_Expr_NamedExpression
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_SequenceNodeOfSequenceOfNamedFunction(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

ExprIntrp_SequenceNodeOfSequenceOfNamedFunction_GetHandle(ExprIntrp_SequenceNodeOfSequenceOfNamedFunction self) -> Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedFunction

Value()
Return type:Handle_Expr_NamedFunction
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_SequenceOfNamedExpression

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:Handle_Expr_NamedExpression
Clear()
Return type:None
First()
Return type:Handle_Expr_NamedExpression
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_NamedExpression &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedExpression &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_NamedExpression
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_SequenceOfNamedFunction

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:Handle_Expr_NamedFunction
Clear()
Return type:None
First()
Return type:Handle_Expr_NamedFunction
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_NamedFunction &) –
  • Index
  • S (ExprIntrp_SequenceOfNamedFunction &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_NamedFunction
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackIteratorOfStackOfGeneralExpression(*args)

Bases: object

Initialize()
Parameters:S (ExprIntrp_StackOfGeneralExpression &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackIteratorOfStackOfGeneralFunction(*args)

Bases: object

Initialize()
Parameters:S (ExprIntrp_StackOfGeneralFunction &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_Expr_GeneralFunction
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackIteratorOfStackOfGeneralRelation(*args)

Bases: object

Initialize()
Parameters:S (ExprIntrp_StackOfGeneralRelation &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackIteratorOfStackOfNames(*args)

Bases: object

Initialize()
Parameters:S (ExprIntrp_StackOfNames &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:TCollection_AsciiString
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackNodeOfStackOfGeneralExpression(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

ExprIntrp_StackNodeOfStackOfGeneralExpression_GetHandle(ExprIntrp_StackNodeOfStackOfGeneralExpression self) -> Handle_ExprIntrp_StackNodeOfStackOfGeneralExpression

Value()
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackNodeOfStackOfGeneralFunction(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

ExprIntrp_StackNodeOfStackOfGeneralFunction_GetHandle(ExprIntrp_StackNodeOfStackOfGeneralFunction self) -> Handle_ExprIntrp_StackNodeOfStackOfGeneralFunction

Value()
Return type:Handle_Expr_GeneralFunction
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackNodeOfStackOfGeneralRelation(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

ExprIntrp_StackNodeOfStackOfGeneralRelation_GetHandle(ExprIntrp_StackNodeOfStackOfGeneralRelation self) -> Handle_ExprIntrp_StackNodeOfStackOfGeneralRelation

Value()
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackNodeOfStackOfNames(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

ExprIntrp_StackNodeOfStackOfNames_GetHandle(ExprIntrp_StackNodeOfStackOfNames self) -> Handle_ExprIntrp_StackNodeOfStackOfNames

Value()
Return type:TCollection_AsciiString
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackOfGeneralExpression

Bases: object

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralExpression &) –
Return type:ExprIntrp_StackOfGeneralExpression
ChangeTop()
Return type:Handle_Expr_GeneralExpression
Clear()
Return type:None
Depth()
Return type:int
IsEmpty()
Return type:bool
Pop()
Return type:None
Push()
Parameters:I (Handle_Expr_GeneralExpression &) –
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralExpression &) –
Return type:ExprIntrp_StackOfGeneralExpression
Top()
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackOfGeneralFunction

Bases: object

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralFunction &) –
Return type:ExprIntrp_StackOfGeneralFunction
ChangeTop()
Return type:Handle_Expr_GeneralFunction
Clear()
Return type:None
Depth()
Return type:int
IsEmpty()
Return type:bool
Pop()
Return type:None
Push()
Parameters:I (Handle_Expr_GeneralFunction &) –
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralFunction &) –
Return type:ExprIntrp_StackOfGeneralFunction
Top()
Return type:Handle_Expr_GeneralFunction
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackOfGeneralRelation

Bases: object

Assign()
Parameters:Other (ExprIntrp_StackOfGeneralRelation &) –
Return type:ExprIntrp_StackOfGeneralRelation
ChangeTop()
Return type:Handle_Expr_GeneralRelation
Clear()
Return type:None
Depth()
Return type:int
IsEmpty()
Return type:bool
Pop()
Return type:None
Push()
Parameters:I (Handle_Expr_GeneralRelation &) –
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfGeneralRelation &) –
Return type:ExprIntrp_StackOfGeneralRelation
Top()
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.ExprIntrp.ExprIntrp_StackOfNames

Bases: object

Assign()
Parameters:Other (ExprIntrp_StackOfNames &) –
Return type:ExprIntrp_StackOfNames
ChangeTop()
Return type:TCollection_AsciiString
Clear()
Return type:None
Depth()
Return type:int
IsEmpty()
Return type:bool
Pop()
Return type:None
Push()
Parameters:I (TCollection_AsciiString &) –
Return type:None
Set()
Parameters:Other (ExprIntrp_StackOfNames &) –
Return type:ExprIntrp_StackOfNames
Top()
Return type:TCollection_AsciiString
thisown

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_GenExp(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_GenFct(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_GenRel(*args)

Bases: OCC.ExprIntrp.Handle_ExprIntrp_Generator

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_Generator(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedExpression(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_SequenceNodeOfSequenceOfNamedFunction(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_StackNodeOfStackOfGeneralExpression(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_StackNodeOfStackOfGeneralFunction(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_StackNodeOfStackOfGeneralRelation(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.ExprIntrp.Handle_ExprIntrp_StackNodeOfStackOfNames(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.ExprIntrp.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class OCC.ExprIntrp.exprintrp(*args, **kwargs)

Bases: object

thisown

The membership flag