Notation used in Ruby API documentation
Module: db
Description: This enum specifies how cell conflicts are handled if a layout read into another layout and a cell name conflict arises.
This class is equivalent to the class LoadLayoutOptions::CellConflictResolution
Until version 0.26.8 and before, the mode was always 'AddToCell'. On reading, a cell was 'reopened' when encountering a cell name which already existed. This mode is still the default. The other modes are made available to support other ways of merging layouts.
Proxy cells are never modified in the existing layout. Proxy cells are always local to their layout file. So if the existing cell is a proxy cell, the new cell will be renamed.
If the new or existing cell is a ghost cell, both cells are merged always.
This enum was introduced in version 0.27.
new LoadLayoutOptions::CellConflictResolution ptr | new | (int i) | Creates an enum from an integer value |
new LoadLayoutOptions::CellConflictResolution ptr | new | (string s) | Creates an enum from a string value |
[const] | bool | != | (const LoadLayoutOptions::CellConflictResolution other) | Compares two enums for inequality |
[const] | bool | != | (int other) | Compares an enum with an integer for inequality |
[const] | bool | < | (const LoadLayoutOptions::CellConflictResolution other) | Returns true if the first enum is less (in the enum symbol order) than the second |
[const] | bool | < | (int other) | Returns true if the enum is less (in the enum symbol order) than the integer value |
[const] | bool | == | (const LoadLayoutOptions::CellConflictResolution other) | Compares two enums |
[const] | bool | == | (int other) | Compares an enum with an integer value |
[const] | string | inspect | Converts an enum to a visual string | |
[const] | int | to_i | Gets the integer value from the enum | |
[const] | string | to_s | Gets the symbolic string from an enum |
[static,const] | LoadLayoutOptions::CellConflictResolution | AddToCell | Add content to existing cell | |
[static,const] | LoadLayoutOptions::CellConflictResolution | OverwriteCell | The old cell is overwritten entirely (including child cells which are not used otherwise) | |
[static,const] | LoadLayoutOptions::CellConflictResolution | RenameCell | The new cell will be renamed to become unique | |
[static,const] | LoadLayoutOptions::CellConflictResolution | SkipNewCell | The new cell is skipped entirely (including child cells which are not used otherwise) |
!= | (1) Signature: [const] bool != (const LoadLayoutOptions::CellConflictResolution other) Description: Compares two enums for inequality |
(2) Signature: [const] bool != (int other) Description: Compares an enum with an integer for inequality | |
< | (1) Signature: [const] bool < (const LoadLayoutOptions::CellConflictResolution other) Description: Returns true if the first enum is less (in the enum symbol order) than the second |
(2) Signature: [const] bool < (int other) Description: Returns true if the enum is less (in the enum symbol order) than the integer value | |
== | (1) Signature: [const] bool == (const LoadLayoutOptions::CellConflictResolution other) Description: Compares two enums |
(2) Signature: [const] bool == (int other) Description: Compares an enum with an integer value | |
AddToCell | Signature: [static,const] LoadLayoutOptions::CellConflictResolution AddToCell Description: Add content to existing cell This is the mode use in before version 0.27. Content of new cells is simply added to existing cells with the same name. Python specific notes: |
OverwriteCell | Signature: [static,const] LoadLayoutOptions::CellConflictResolution OverwriteCell Description: The old cell is overwritten entirely (including child cells which are not used otherwise) Python specific notes: |
RenameCell | Signature: [static,const] LoadLayoutOptions::CellConflictResolution RenameCell Description: The new cell will be renamed to become unique Python specific notes: |
SkipNewCell | Signature: [static,const] LoadLayoutOptions::CellConflictResolution SkipNewCell Description: The new cell is skipped entirely (including child cells which are not used otherwise) Python specific notes: |
inspect | Signature: [const] string inspect Description: Converts an enum to a visual string Python specific notes: |
new | (1) Signature: [static] new LoadLayoutOptions::CellConflictResolution ptr new (int i) Description: Creates an enum from an integer value Python specific notes: |
(2) Signature: [static] new LoadLayoutOptions::CellConflictResolution ptr new (string s) Description: Creates an enum from a string value Python specific notes: | |
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: |