|
Ultralight C++ API 2.0.0
|
#include <Ultralight/String16.h>
A UTF-16 string vector.
Static Public Member Functions | |
| static RefPtr< String16Vector > | Create () |
| Create an empty string vector. | |
| static RefPtr< String16Vector > | Create (const String16 *stringArray, size_t len) |
| Create a string vector from an existing array (a deep copy is made). | |
Public Member Functions | |
| virtual void | push_back (const String16 &val)=0 |
| Add an element to the back of the string vector. | |
| virtual String16 * | data ()=0 |
| Get raw String16 vector array. | |
| virtual size_t | size () const =0 |
| Get the number of elements in vector. | |
| Public Member Functions inherited from RefCounted | |
| virtual void | AddRef () const =0 |
| Increment the reference count (thread-safe). | |
| virtual void | Release () const =0 |
| Decrement the reference count (thread-safe). | |
| virtual int | ref_count () const =0 |
| Get the current reference count. | |
| virtual WeakControlBlock * | weak_control_block () const |
| Get the control block used to track weak references to this object. | |
Protected Member Functions | |
| String16Vector () | |
| virtual | ~String16Vector () |
| String16Vector (const String16Vector &) | |
| void | operator= (const String16Vector &) |
| Protected Member Functions inherited from RefCounted | |
| virtual | ~RefCounted () |
|
protected |
|
protectedvirtual |
|
protected |
|
static |
Create an empty string vector.
|
static |
Create a string vector from an existing array (a deep copy is made).
|
protected |
|
pure virtual |
Add an element to the back of the string vector.
|
pure virtual |
Get the number of elements in vector.