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

Public Member Functions

 AsciiResource (Vector< const char > string)
 
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 ()
 
- 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::ExternalAsciiStringResource
 ExternalAsciiStringResource ()
 
- Protected Member Functions inherited from String::ExternalStringResourceBase
 ExternalStringResourceBase ()
 
virtual void Dispose ()
 

Detailed Description

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

Constructor & Destructor Documentation

AsciiResource ( Vector< const char >  string)
inlineexplicit

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

Member Function Documentation

virtual const char* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalAsciiStringResource.

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

virtual size_t length ( ) const
inlinevirtual

The number of ASCII characters in the string.

Implements String::ExternalAsciiStringResource.

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


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