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

#include <v8utils.h>

Inheritance diagram for StringBuilder:
Collaboration diagram for StringBuilder:

Public Member Functions

 StringBuilder (int size)
 
 StringBuilder (char *buffer, int size)
 
void AddFormatted (const char *format,...)
 
void AddFormattedList (const char *format, va_list list)
 
- Public Member Functions inherited from SimpleStringBuilder
 SimpleStringBuilder (int size)
 
 SimpleStringBuilder (char *buffer, int size)
 
 ~SimpleStringBuilder ()
 
int size () const
 
int position () const
 
void Reset ()
 
void AddCharacter (char c)
 
void AddString (const char *s)
 
void AddSubstring (const char *s, int n)
 
void AddPadding (char c, int count)
 
void AddDecimalInteger (int value)
 
char * Finalize ()
 

Additional Inherited Members

- Protected Member Functions inherited from SimpleStringBuilder
bool is_finalized () const
 
- Protected Attributes inherited from SimpleStringBuilder
Vector< char > buffer_
 
int position_
 

Detailed Description

Definition at line 448 of file v8utils.h.

Constructor & Destructor Documentation

StringBuilder ( int  size)
inlineexplicit

Definition at line 450 of file v8utils.h.

StringBuilder ( char *  buffer,
int  size 
)
inline

Definition at line 451 of file v8utils.h.

Member Function Documentation

void AddFormatted ( const char *  format,
  ... 
)

Definition at line 258 of file v8utils.cc.

References StringBuilder::AddFormattedList().

void AddFormattedList ( const char *  format,
va_list  list 
)

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