v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UC16VectorResource Class Reference
Inheritance diagram for UC16VectorResource:
Collaboration diagram for UC16VectorResource:

Public Member Functions

 UC16VectorResource (i::Vector< const i::uc16 > vector)
 
virtual ~UC16VectorResource ()
 
virtual size_t length () const
 
virtual const i::uc16data () const
 
- Public Member Functions inherited from String::ExternalStringResource
virtual ~ExternalStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from String::ExternalStringResource
 ExternalStringResource ()
 
- Protected Member Functions inherited from String::ExternalStringResourceBase
 ExternalStringResourceBase ()
 
virtual void Dispose ()
 

Detailed Description

Definition at line 15014 of file test-api.cc.

Constructor & Destructor Documentation

UC16VectorResource ( i::Vector< const i::uc16 vector)
inlineexplicit

Definition at line 15016 of file test-api.cc.

virtual ~UC16VectorResource ( )
inlinevirtual

Definition at line 15018 of file test-api.cc.

Member Function Documentation

virtual const i::uc16* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalStringResource.

Definition at line 15020 of file test-api.cc.

References Vector< T >::start().

virtual size_t length ( ) const
inlinevirtual

The length of the string. That is, the number of two-byte characters.

Implements String::ExternalStringResource.

Definition at line 15019 of file test-api.cc.

References Vector< T >::length().


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