OCC.Core.ExprIntrp module

ExprIntrp module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_exprintrp.html

class ExprIntrp_Analysis(*args)

Bases: object

Return type

None

GetFunction()
Parameters

name

type name

TCollection_AsciiString

rtype

opencascade::handle<Expr_NamedFunction>

GetNamed()
Parameters

name

type name

TCollection_AsciiString

rtype

opencascade::handle<Expr_NamedExpression>

IsExpStackEmpty()
Return type

bool

IsRelStackEmpty()
Return type

bool

Pop()
Return type

opencascade::handle<Expr_GeneralExpression>

PopFunction()
Return type

opencascade::handle<Expr_GeneralFunction>

PopName()
Return type

TCollection_AsciiString

PopRelation()
Return type

opencascade::handle<Expr_GeneralRelation>

PopValue()
Return type

int

Push()
Parameters

exp

type exp

Expr_GeneralExpression

rtype

None

PushFunction()
Parameters

func

type func

Expr_GeneralFunction

rtype

None

PushName()
Parameters

name

type name

TCollection_AsciiString

rtype

None

PushRelation()
Parameters

rel

type rel

Expr_GeneralRelation

rtype

None

PushValue()
Parameters

degree

type degree

int

rtype

None

ResetAll()
Return type

None

SetMaster()
Parameters

agen

type agen

ExprIntrp_Generator

rtype

None

Use()
Parameters

func

type func

Expr_NamedFunction

rtype

None:param named:

type named

Expr_NamedExpression

rtype

None

property thisown

The membership flag

class ExprIntrp_GenExp(*args, **kwargs)

Bases: OCC.Core.ExprIntrp.ExprIntrp_Generator

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

static Create()
Return type

opencascade::handle<ExprIntrp_GenExp>

static DownCast(t)
Expression()
  • Returns expression generated. Raises an exception if IsDone answers false.
    rtype

    opencascade::handle<Expr_GeneralExpression>

IsDone()
  • Returns false if any syntax error has occurred during process.
    rtype

    bool

Process()
  • Processes given string.
    param str

    type str

    TCollection_AsciiString

    rtype

    None

property thisown

The membership flag

class ExprIntrp_GenFct(*args, **kwargs)

Bases: OCC.Core.ExprIntrp.ExprIntrp_Generator

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

static Create()
Return type

opencascade::handle<ExprIntrp_GenFct>

static DownCast(t)
IsDone()
Return type

bool

Process()
Parameters

str

type str

TCollection_AsciiString

rtype

None

property thisown

The membership flag

class ExprIntrp_GenRel(*args, **kwargs)

Bases: OCC.Core.ExprIntrp.ExprIntrp_Generator

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

static Create()
Return type

opencascade::handle<ExprIntrp_GenRel>

static DownCast(t)
IsDone()
  • Returns false if any syntax error has occurred during process.
    rtype

    bool

Process()
  • Processes given string.
    param str

    type str

    TCollection_AsciiString

    rtype

    None

Relation()
  • Returns relation generated. Raises an exception if IsDone answers false.
    rtype

    opencascade::handle<Expr_GeneralRelation>

property thisown

The membership flag

class ExprIntrp_Generator(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

static DownCast(t)
GetFunction()
  • Returns NamedFunction with name <name> already interpreted if it exists. Returns a null handle if not.
    param name

    type name

    TCollection_AsciiString

    rtype

    opencascade::handle<Expr_NamedFunction>

GetFunctions()
Return type

ExprIntrp_SequenceOfNamedFunction

GetNamed()
Return type

ExprIntrp_SequenceOfNamedExpression* Returns NamedExpression with name <name> already interpreted if it exists. Returns a null handle if not. :param name: :type name: TCollection_AsciiString :rtype: opencascade::handle<Expr_NamedExpression>

Use()
Parameters

func

type func

Expr_NamedFunction

rtype

None:param named:

type named

Expr_NamedExpression

rtype

None

property thisown

The membership flag

class ExprIntrp_ListIteratorOfStackOfGeneralExpression(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class ExprIntrp_ListIteratorOfStackOfGeneralFunction(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class ExprIntrp_ListIteratorOfStackOfGeneralRelation(*args)

Bases: object

ChangeValue()
More()
Next()
Value()
property thisown

The membership flag

class ExprIntrp_SequenceOfNamedExpression(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class ExprIntrp_SequenceOfNamedFunction(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class ExprIntrp_StackOfGeneralExpression(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class ExprIntrp_StackOfGeneralFunction(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class ExprIntrp_StackOfGeneralRelation(*args)

Bases: object

Append()
Assign()
Clear()
First()
InsertAfter()
InsertBefore()
Last()
Prepend()
Remove()
RemoveFirst()
Reverse()
Set()
Size()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class exprintrp

Bases: object

property thisown

The membership flag