Public Member Functions | List of all members
Array Class Reference

Public Member Functions

Variantoperator[] (int p_idx)
 
const Variantoperator[] (int p_idx) const
 
void set (int p_idx, const Variant &p_value)
 
const Variantget (int p_idx) const
 
int size () const
 
bool empty () const
 
void clear ()
 
bool is_shared () const
 
bool operator== (const Array &p_array) const
 
uint32_t hash () const
 
void operator= (const Array &p_array)
 
void push_back (const Variant &p_value)
 
_FORCE_INLINE_ void append (const Variant &p_value)
 
Error resize (int p_new_size)
 
void insert (int p_pos, const Variant &p_value)
 
void remove (int p_pos)
 
void sort ()
 
void sort_custom (Object *p_obj, const StringName &p_function)
 
void invert ()
 
int find (const Variant &p_value) const
 
void erase (const Variant &p_value)
 
void push_front (const Variant &p_value)
 
void pop_back ()
 
void pop_front ()
 
 Array (const Array &p_from)
 
 Array (bool p_shared=false)
 

The documentation for this class was generated from the following files: