Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::bin::CObjectString Class Reference

#include <dartutils.h>

Inheritance diagram for dart::bin::CObjectString:
dart::bin::CObject

Public Member Functions

intptr_t Length () const
 
const char * CString () const
 
- Public Member Functions inherited from dart::bin::CObject
 CObject (Dart_CObject *cobject)
 
Dart_CObject_Type type ()
 
Dart_TypedData_Type byte_array_type ()
 
bool IsNull ()
 
bool IsBool ()
 
bool IsInt32 ()
 
bool IsInt64 ()
 
bool IsInt32OrInt64 ()
 
bool IsIntptr ()
 
bool IsDouble ()
 
bool IsString ()
 
bool IsArray ()
 
bool IsTypedData ()
 
bool IsUint8Array ()
 
bool IsSendPort ()
 
bool IsTrue ()
 
bool IsFalse ()
 
void * operator new (size_t size)
 
Dart_CObjectAsApiCObject ()
 

Additional Inherited Members

- Static Public Member Functions inherited from dart::bin::CObject
static CObjectNull ()
 
static CObjectTrue ()
 
static CObjectFalse ()
 
static CObjectBool (bool value)
 
static Dart_CObjectNewInt32 (int32_t value)
 
static Dart_CObjectNewInt64 (int64_t value)
 
static Dart_CObjectNewIntptr (intptr_t value)
 
static Dart_CObjectNewDouble (double value)
 
static Dart_CObjectNewString (const char *str)
 
static Dart_CObjectNewArray (intptr_t length)
 
static Dart_CObjectNewUint8Array (const void *data, intptr_t length)
 
static Dart_CObjectNewExternalUint8Array (intptr_t length, uint8_t *data, void *peer, Dart_HandleFinalizer callback)
 
static Dart_CObjectNewNativePointer (intptr_t ptr, intptr_t size, Dart_HandleFinalizer callback)
 
static Dart_CObjectNewIOBuffer (int64_t length)
 
static void ShrinkIOBuffer (Dart_CObject *cobject, int64_t new_length)
 
static void FreeIOBufferData (Dart_CObject *object)
 
static CObjectIllegalArgumentError ()
 
static CObjectFileClosedError ()
 
static CObjectNewOSError ()
 
static CObjectNewOSError (OSError *os_error)
 
- Static Public Attributes inherited from dart::bin::CObject
static constexpr int kSuccess = 0
 
static constexpr int kArgumentError = 1
 
static constexpr int kOSError = 2
 
static constexpr int kFileClosedError = 3
 
- Protected Member Functions inherited from dart::bin::CObject
 CObject ()
 
- Protected Attributes inherited from dart::bin::CObject
Dart_CObjectcobject_
 

Detailed Description

Definition at line 529 of file dartutils.h.

Member Function Documentation

◆ CString()

const char * dart::bin::CObjectString::CString ( ) const
inline

Definition at line 534 of file dartutils.h.

534{ return cobject_->value.as_string; }
Dart_CObject * cobject_
Definition: dartutils.h:407
union _Dart_CObject::@86 value
const char * as_string

◆ Length()

intptr_t dart::bin::CObjectString::Length ( ) const
inline

Definition at line 533 of file dartutils.h.

533{ return strlen(cobject_->value.as_string); }

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