#include <ext/spl/spl_iterators.h>
#include <Zend/zend_API.h>
#include <Zend/zend_interfaces.h>
#include "protobuf.h"
Go to the source code of this file.
Variables | |
PHP_PROTO_OBJECT_FREE_END PHP_PROTO_OBJECT_DTOR_END intern | array = NULL |
intern | msg_ce = NULL |
intern | position = 0 |
PHP_PROTO_OBJECT_FREE_END PHP_PROTO_OBJECT_DTOR_END intern | repeated_field = NULL |
zend_object_handlers * | repeated_field_handlers |
zend_object_handlers * | repeated_field_iter_handlers |
static zend_function_entry | repeated_field_iter_methods [] |
zend_class_entry * | repeated_field_iter_type |
static zend_function_entry | repeated_field_methods [] |
zend_class_entry * | repeated_field_type |
intern | type = 0 |
PHP_METHOD | ( | RepeatedField | , |
__construct | |||
) |
Constructs an instance of RepeatedField.
long | Type of the stored element. |
string | Message/Enum class name (message/enum fields only). |
Definition at line 301 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
append | |||
) |
Append element to the end of the repeated field.
object | The element to be added. |
Definition at line 333 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
count | |||
) |
Return the number of stored elements. This will also be called for: count($arr)
Definition at line 448 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
getIterator | |||
) |
Return the beginning iterator. This will also be called for: foreach($arr)
Definition at line 463 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
offsetExists | |||
) |
Check whether the element at given index exists.
long | The index to be checked. |
Definition at line 348 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
offsetGet | |||
) |
Return the element at the given index. This will also be called for: $ele = $arr[0]
long | The index of the element to be fetched. |
Invalid | type for index. |
Non-existing | index. |
Definition at line 370 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
offsetSet | |||
) |
Assign the element at the given index. This will also be called for: $arr []= $ele and $arr[0] = ele
long | The index of the element to be assigned. |
object | The element to be assigned. |
Invalid | type for index. |
Non-existing | index. |
Incorrect | type of the element. |
Definition at line 408 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedField | , |
offsetUnset | |||
) |
Remove the element at the given index. This will also be called for: unset($arr)
long | The index of the element to be removed. |
Invalid | type for index. |
The | element to be removed is not at the end of the RepeatedField. |
Definition at line 424 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedFieldIter | , |
current | |||
) |
Definition at line 505 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedFieldIter | , |
key | |||
) |
Definition at line 531 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedFieldIter | , |
next | |||
) |
Definition at line 536 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_METHOD | ( | RepeatedFieldIter | , |
valid | |||
) |
Definition at line 541 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
inlinestatic |
Definition at line 135 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
inlinestatic |
Definition at line 132 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_PROTO_INIT_CLASS_START | ( | "Google\\Protobuf\\Internal\\RepeatedField" | , |
RepeatedField | , | ||
repeated_field | |||
) |
Definition at line 118 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_PROTO_INIT_CLASS_START | ( | "Google\\Protobuf\\Internal\\RepeatedFieldIter" | , |
PHP_PROTO_INIT_CLASS_ENDPHP_METHOD( | RepeatedFieldIter, | ||
repeated_field_iter | |||
) |
Definition at line 491 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
php_proto_zval_ptr_dtor | ( | intern-> | array | ) |
|
static |
Definition at line 153 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
void repeated_field_create_with_field | ( | zend_class_entry * | ce, |
const upb_fielddef * | field, | ||
CACHED_VALUE *repeated_field | PHP_PROTO_TSRMLS_DC | ||
) |
Definition at line 262 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
void repeated_field_create_with_type | ( | zend_class_entry * | ce, |
upb_fieldtype_t | type, | ||
const zend_class_entry * | msg_ce, | ||
CACHED_VALUE *repeated_field | PHP_PROTO_TSRMLS_DC | ||
) |
Definition at line 271 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
Definition at line 216 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
void* repeated_field_index_native | ( | RepeatedField * | intern, |
int index | TSRMLS_DC | ||
) |
Definition at line 231 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
void repeated_field_push_native | ( | RepeatedField * | intern, |
void * | value | ||
) |
Definition at line 252 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
Definition at line 178 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
Definition at line 111 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
const zend_class_entry * msg_ce = NULL |
Definition at line 114 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
intern position = 0 |
Definition at line 487 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
PHP_PROTO_OBJECT_FREE_END PHP_PROTO_OBJECT_DTOR_END intern repeated_field = NULL |
Definition at line 486 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
zend_object_handlers* repeated_field_handlers |
Definition at line 93 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
zend_object_handlers* repeated_field_iter_handlers |
Definition at line 94 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
Definition at line 61 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
zend_class_entry* repeated_field_iter_type |
Definition at line 92 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
|
static |
Definition at line 49 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
zend_class_entry* repeated_field_type |
Definition at line 91 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.
intern type = 0 |
Definition at line 113 of file bloaty/third_party/protobuf/php/ext/google/protobuf/array.c.