The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

RDF::Cowl::Lib::Gen::Class::Vector - Generated docs for RDF::Cowl::Vector

VERSION

version 1.0.0

MAIN MODULE

RDF::Cowl::Vector

CONSTRUCTORS

new

Signature:

  RDF::Cowl::Vector->new()

Params:

  UVec_CowlObjectPtr $vec 

Documentation:

  Returns a retained vector.
  
  @param vec Underlying raw vector.
  @return Retained vector. Throws exception on error.
  
  @note You must not use the raw vector after passing it to this function.

Throws exception on error.

    C function name: cowl_vector

METHODS

get_data

Signature:

  $self->get_data()

Params:

  CowlVector $vec 

Documentation:

  Returns the underlying raw vector.
  
  @param vec The vector.
  @return Underlying raw vector.

    C function name: cowl_vector_get_data

count

Signature:

  $self->count()

Params:

  CowlVector $vec 

Documentation:

  Returns the number of elements in the vector.
  
  @param vec The vector.
  @return Number of elements in the vector.

    C function name: cowl_vector_count

get_item

Signature:

  $self->get_item(Ulib_uint $idx)

Params:

  CowlVector $vec 
  Ulib_uint $idx 

Documentation:

  Returns the element at the specified index.
  
  @param vec The vector.
  @param idx The index.
  @return The element at the specified index.

    C function name: cowl_vector_get_item

contains

Signature:

  $self->contains(CowlAny $object)

Params:

  CowlVector $vec 
  CowlAny $object 

Documentation:

  Checks whether the vector contains the specified element.
  
  @param vec The vector.
  @param object The object.
  @return True if the vector contains the specified element, false otherwise.

    C function name: cowl_vector_contains

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Auto-Parallel Technologies, Inc..

This is free software, licensed under Eclipse Public License - v 2.0.