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

Public Member Functions

 Resource (Vector< const uc16 > string)
 
virtual const uint16_t * data () const
 
virtual size_t length () const
 
- Public Member Functions inherited from String::ExternalStringResource
virtual ~ExternalStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

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 52 of file test-strings.cc.

Constructor & Destructor Documentation

Resource ( Vector< const uc16 string)
inlineexplicit

Definition at line 55 of file test-strings.cc.

Member Function Documentation

virtual const uint16_t* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalStringResource.

Definition at line 58 of file test-strings.cc.

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 59 of file test-strings.cc.


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