Flutter Engine
The Flutter Engine
|
#include <SkTemplates.h>
Public Member Functions | |
AutoSTArray (AutoSTArray &&)=delete | |
AutoSTArray (const AutoSTArray &)=delete | |
AutoSTArray & | operator= (AutoSTArray &&)=delete |
AutoSTArray & | operator= (const AutoSTArray &)=delete |
AutoSTArray () | |
AutoSTArray (int count) | |
~AutoSTArray () | |
void | reset (int count) |
int | count () const |
T * | get () const |
T * | begin () |
const T * | begin () const |
T * | end () |
const T * | end () const |
T & | operator[] (int index) const |
const T * | data () const |
T * | data () |
size_t | size () const |
Wraps AutoTArray, with room for kCountRequested elements preallocated.
Definition at line 169 of file SkTemplates.h.
|
delete |
|
delete |
|
inline |
Initialize with no objects
Definition at line 177 of file SkTemplates.h.
|
inline |
Allocate count number of T elements
Definition at line 184 of file SkTemplates.h.
|
inline |
Definition at line 190 of file SkTemplates.h.
|
inline |
Definition at line 236 of file SkTemplates.h.
|
inline |
Definition at line 238 of file SkTemplates.h.
|
inline |
Return the number of T elements in the array
Definition at line 230 of file SkTemplates.h.
|
inline |
Definition at line 252 of file SkTemplates.h.
|
inline |
Aliases matching other types, like std::vector.
Definition at line 251 of file SkTemplates.h.
|
inline |
Definition at line 240 of file SkTemplates.h.
|
inline |
Definition at line 242 of file SkTemplates.h.
|
inline |
Return the array of T elements. Will be NULL if count == 0
Definition at line 234 of file SkTemplates.h.
|
delete |
|
delete |
|
inline |
Return the nth element in the array
Definition at line 246 of file SkTemplates.h.
|
inline |
Destroys previous objects in the array and default constructs count number of objects
Definition at line 195 of file SkTemplates.h.
|
inline |
Definition at line 253 of file SkTemplates.h.