CQL::ModifierSet(3pm)

CQL::ModifierSet3pm

Represents a base string and modifier strings

Overview

This class is used as a delegate by both CQLRelation and CQLProxNode - two functionally very separate classes that happen to require similar data structures and functionality.

A ModifierSet consists of a ``base'' string together with a set of zero or more type=value pairs, where both type and value are strings. Types may be null, values may not.

Methods

new()

Creates a new modifier set with the specified base.

getBase()

Returns the base string with which the modifier set was created.

addModifier()

Adds a modifier of the specified type and value to a modifier set.

modifier()

Returns a modifier with a given type, or null if a modifier of that type isn't present.

getModifiers()

Returns a list of modifiers each represented by a 2 element array ref.

toCQL()

toSwish()

toXCQL()

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8–9
  3. 10–11
  4. 12–13

From libcql-parser-perl 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.