0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hypertable::LoadDataEscape Class Reference

#include <LoadDataEscape.h>

Collaboration diagram for Hypertable::LoadDataEscape:
Collaboration graph
[legend]

Public Member Functions

 LoadDataEscape ()
 
bool escape (const char *in_buf, size_t in_len, const char **out_bufp, size_t *out_lenp)
 
bool escape (const char *in_buf, size_t in_len, std::string &out)
 
bool unescape (const char *in_buf, size_t in_len, const char **out_bufp, size_t *out_lenp)
 
void set_field_separator (char fs)
 

Private Attributes

DynamicBuffer m_buf
 
char m_field_separator
 

Detailed Description

Definition at line 30 of file LoadDataEscape.h.

Constructor & Destructor Documentation

Hypertable::LoadDataEscape::LoadDataEscape ( )
inline

Definition at line 33 of file LoadDataEscape.h.

Member Function Documentation

bool LoadDataEscape::escape ( const char *  in_buf,
size_t  in_len,
const char **  out_bufp,
size_t *  out_lenp 
)

Definition at line 31 of file LoadDataEscape.cc.

bool Hypertable::LoadDataEscape::escape ( const char *  in_buf,
size_t  in_len,
std::string &  out 
)
inline

Definition at line 36 of file LoadDataEscape.h.

void Hypertable::LoadDataEscape::set_field_separator ( char  fs)
inline

Definition at line 46 of file LoadDataEscape.h.

bool LoadDataEscape::unescape ( const char *  in_buf,
size_t  in_len,
const char **  out_bufp,
size_t *  out_lenp 
)

Definition at line 84 of file LoadDataEscape.cc.

Member Data Documentation

DynamicBuffer Hypertable::LoadDataEscape::m_buf
private

Definition at line 49 of file LoadDataEscape.h.

char Hypertable::LoadDataEscape::m_field_separator
private

Definition at line 50 of file LoadDataEscape.h.


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