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
AsciiStringAdapter Class Reference

#include <v8utils.h>

Inheritance diagram for AsciiStringAdapter:
Collaboration diagram for AsciiStringAdapter:

Public Member Functions

 AsciiStringAdapter (Vector< const char > data)
 
virtual const char * data () const
 
virtual size_t length () const
 
- Public Member Functions inherited from String::ExternalAsciiStringResource
virtual ~ExternalAsciiStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 181 of file v8utils.h.

Constructor & Destructor Documentation

AsciiStringAdapter ( Vector< const char >  data)
inlineexplicit

Definition at line 183 of file v8utils.h.

Member Function Documentation

virtual const char* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalAsciiStringResource.

Definition at line 185 of file v8utils.h.

References Vector< T >::start().

virtual size_t length ( ) const
inlinevirtual

The number of ASCII characters in the string.

Implements String::ExternalAsciiStringResource.

Definition at line 187 of file v8utils.h.

References Vector< T >::length().


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