My Project
Public Member Functions
StringBuffer< buff_sz > Class Template Reference

#include <sql_string.h>

Inheritance diagram for StringBuffer< buff_sz >:
String

List of all members.

Public Member Functions

 StringBuffer (const CHARSET_INFO *cs)
 StringBuffer (const char *str, size_t length, const CHARSET_INFO *cs)

Detailed Description

template<size_t buff_sz>
class StringBuffer< buff_sz >

String class wrapper with a preallocated buffer of size buff_sz

This class allows to replace sequences of: char buff[12345]; String str(buff, sizeof(buff)); str.length(0); with a simple equivalent declaration: StringBuffer<12345> str;


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines