API reference - Class CompoundRegionOperationNode::GeometricalOp

Notation used in Ruby API documentation

Module: db

Description: This class represents the CompoundRegionOperationNode::GeometricalOp enum

This class is equivalent to the class CompoundRegionOperationNode::GeometricalOp

This enum has been introduced in version 0.27.

Public constructors

new CompoundRegionOperationNode::GeometricalOp ptrnew(int i)Creates an enum from an integer value
new CompoundRegionOperationNode::GeometricalOp ptrnew(string s)Creates an enum from a string value

Public methods

[const]bool!=(const CompoundRegionOperationNode::GeometricalOp other)Compares two enums for inequality
[const]bool<(const CompoundRegionOperationNode::GeometricalOp other)Returns true if the first enum is less (in the enum symbol order) than the second
[const]bool==(const CompoundRegionOperationNode::GeometricalOp other)Compares two enums
[const]stringinspectConverts an enum to a visual string
[const]intto_iGets the integer value from the enum
[const]stringto_sGets the symbolic string from an enum

Public static methods and constants

[static,const]CompoundRegionOperationNode::GeometricalOpAndIndicates a geometrical '&' (and).
[static,const]CompoundRegionOperationNode::GeometricalOpNotIndicates a geometrical '-' (not).
[static,const]CompoundRegionOperationNode::GeometricalOpOrIndicates a geometrical '|' (or).
[static,const]CompoundRegionOperationNode::GeometricalOpXorIndicates a geometrical '^' (xor).

Detailed description

!=

Signature: [const] bool != (const CompoundRegionOperationNode::GeometricalOp other)

Description: Compares two enums for inequality

<

Signature: [const] bool < (const CompoundRegionOperationNode::GeometricalOp other)

Description: Returns true if the first enum is less (in the enum symbol order) than the second

==

Signature: [const] bool == (const CompoundRegionOperationNode::GeometricalOp other)

Description: Compares two enums

And

Signature: [static,const] CompoundRegionOperationNode::GeometricalOp And

Description: Indicates a geometrical '&' (and).

Not

Signature: [static,const] CompoundRegionOperationNode::GeometricalOp Not

Description: Indicates a geometrical '-' (not).

Or

Signature: [static,const] CompoundRegionOperationNode::GeometricalOp Or

Description: Indicates a geometrical '|' (or).

Xor

Signature: [static,const] CompoundRegionOperationNode::GeometricalOp Xor

Description: Indicates a geometrical '^' (xor).

inspect

Signature: [const] string inspect

Description: Converts an enum to a visual string

Python specific notes:
This method is also available as 'repr(object)'

new

(1) Signature: [static] new CompoundRegionOperationNode::GeometricalOp ptr new (int i)

Description: Creates an enum from an integer value

Python specific notes:
This method is the default initializer of the object

(2) Signature: [static] new CompoundRegionOperationNode::GeometricalOp ptr new (string s)

Description: Creates an enum from a string value

Python specific notes:
This method is the default initializer of the object

to_i

Signature: [const] int to_i

Description: Gets the integer value from the enum

to_s

Signature: [const] string to_s

Description: Gets the symbolic string from an enum

Python specific notes:
This method is also available as 'str(object)'