Gjsify LogoGjsify Logo

Hierarchy

  • CacheColumnValues

Index

Constructors

Properties

name: string

Methods

  • contains(name: string): boolean
  • free(): void
  • get_size(): number
  • Initialized the iter, thus the other_columns can be traversed with g_hash_table_iter_next(). The key is a column name and the value is the corresponding column value.

    Parameters

    Returns void

  • lookup(name: string): string
  • Looks up currently stored value for the column named name. As the values can be %NULL one cannot distinguish between a column which doesn't have stored any value and a column which has stored %NULL value. Use e_cache_column_values_contains() to check whether such column exitst in the other_columns. The returned pointer is owned by other_columns and is valid until the value is overwritten of the other_columns freed.

    Parameters

    • name: string

      a column name

    Returns string

  • put(name: string, value: string): void
  • Puts the value for column name. If contains a value for the same column, then it is replaced. This creates a copy of both name and value.

    Parameters

    • name: string

      a column name

    • value: string

      a column value

    Returns void

  • remove(name: string): boolean
  • remove_all(): void
  • take(name: string, value: string): void
  • Puts the value for column name. If contains a value for the same column, then it is replaced. This creates takes ownership of both the name and the value.

    Parameters

    • name: string

      a column name

    • value: string

      a column value

    Returns void

  • take_value(name: string, value: string): void
  • Puts the value for column name. If contains a value for the same column, then it is replaced. This creates a copy of the name, but takes owner ship of the value.

    Parameters

    • name: string

      a column name

    • value: string

      a column value

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method