double_conversion::StringBuilder Class Reference

#include <utils.h>

Collaboration diagram for double_conversion::StringBuilder:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StringBuilder (char *buffer, int size)
 ~StringBuilder ()
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)
char * Finalize ()


Detailed Description

Definition at line 199 of file utils.h.


Constructor & Destructor Documentation

double_conversion::StringBuilder::StringBuilder ( char *  buffer,
int  size 
) [inline]

Definition at line 201 of file utils.h.

double_conversion::StringBuilder::~StringBuilder (  )  [inline]

Definition at line 204 of file utils.h.

References Finalize().

Here is the call graph for this function:


Member Function Documentation

void double_conversion::StringBuilder::AddCharacter ( char  c  )  [inline]

Definition at line 220 of file utils.h.

References ASSERT, and double_conversion::Vector< T >::length().

Referenced by AddPadding(), double_conversion::DoubleToStringConverter::ToExponential(), double_conversion::DoubleToStringConverter::ToFixed(), and double_conversion::DoubleToStringConverter::ToPrecision().

Here is the call graph for this function:

Here is the caller graph for this function:

void double_conversion::StringBuilder::AddPadding ( char  c,
int  count 
) [inline]

Definition at line 246 of file utils.h.

References AddCharacter().

Here is the call graph for this function:

void double_conversion::StringBuilder::AddString ( const char *  s  )  [inline]

Definition at line 229 of file utils.h.

References AddSubstring(), and double_conversion::StrLength().

Here is the call graph for this function:

void double_conversion::StringBuilder::AddSubstring ( const char *  s,
int  n 
) [inline]

Definition at line 235 of file utils.h.

References ASSERT, and double_conversion::Vector< T >::length().

Referenced by AddString().

Here is the call graph for this function:

Here is the caller graph for this function:

char* double_conversion::StringBuilder::Finalize (  )  [inline]

Definition at line 253 of file utils.h.

References ASSERT, and double_conversion::Vector< T >::length().

Referenced by ~StringBuilder().

Here is the call graph for this function:

Here is the caller graph for this function:

int double_conversion::StringBuilder::position (  )  const [inline]

Definition at line 209 of file utils.h.

References ASSERT.

Referenced by util::ToString().

Here is the caller graph for this function:

void double_conversion::StringBuilder::Reset (  )  [inline]

Definition at line 215 of file utils.h.

int double_conversion::StringBuilder::size (  )  const [inline]

Definition at line 206 of file utils.h.

References double_conversion::Vector< T >::length().

Here is the call graph for this function:


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

Generated on Thu Jul 6 00:32:39 2017 for Moses by  doxygen 1.5.9