TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
stringbuffer.h File Reference
#include "rapidjson.h"
#include "internal/stack.h"
+ Include dependency graph for stringbuffer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenericStringBuffer< Encoding, Allocator >
 Represents an in-memory output stream. More...
 

Typedefs

typedef GenericStringBuffer
< UTF8<> > 
StringBuffer
 String buffer with UTF8 encoding. More...
 

Functions

template<>
void PutN (GenericStringBuffer< UTF8<> > &stream, char c, size_t n)
 Implement specialized version of PutN() with memset() for better performance. More...
 

Typedef Documentation

String buffer with UTF8 encoding.

Function Documentation

template<>
void PutN ( GenericStringBuffer< UTF8<> > &  stream,
char  c,
size_t  n 
)
inline

Implement specialized version of PutN() with memset() for better performance.

87  {
88  std::memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
89 }
internal::Stack< Allocator > stack_
Definition: stringbuffer.h:74