Class Satsolver::Relation
In: satsolver.i
Parent: Object

A Relation is a name, operation, evr triple, representing items of Solvable dependencies.

Methods

==   =~   __str__   equal   evr   match   name   new   op   op_s   pool  

External Aliases

compare -> <=>

Public Class methods

Relation.new( pool, "kernel" ) → Relation
Relation.new( pool, "kernel", REL_GT, "2.6.26" ) → Relation

Create a new relation inside Pool. Gets a name, plus optionally operand and edition-version-release (evr)

see also: Pool.create_relation

Public Instance methods

==(p1)

Alias for equal

=~(p1)

Alias for match

String representation of this Relation

Equality operator

Returns true if both Relations are equal (equal name, evr and op)

The evr (edition-version.release) part of the Relation

Match operator

Returning true or false

The name part of the Relation

The operation of the Relation

One of +Satsolver::REL_*+

A string representation of the operation

See also: op

pool()

[Validate]