CArchStringUnix Class Reference

Unix implementation of IArchString. More...

#include <CArchStringUnix.h>

Inherits IArchString.

Collaboration diagram for CArchStringUnix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int vsnprintf (char *str, int size, const char *fmt, va_list ap)
 printf() to limited size buffer with va_list
virtual int convStringMBToWC (wchar_t *, const char *, UInt32 n, bool *errors)
 Convert multibyte string to wide character string.
virtual int convStringWCToMB (char *, const wchar_t *, UInt32 n, bool *errors)
 Convert wide character string to multibyte string.
virtual EWideCharEncoding getWideCharEncoding ()
 Return the architecture's native wide character encoding.

Detailed Description

Unix implementation of IArchString.

Definition at line 23 of file CArchStringUnix.h.


Member Function Documentation

int CArchStringUnix::vsnprintf ( char *  str,
int  size,
const char *  fmt,
va_list  ap 
) [virtual]

printf() to limited size buffer with va_list

This method is equivalent to vsprintf() except it will not write more than n bytes to the buffer, returning -1 if the output was truncated and the number of bytes written not including the trailing NUL otherwise.

Implements IArchString.

Definition at line 22 of file vsnprintf.cpp.


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

Generated on 12 Nov 2010 for synergy-plus by  doxygen 1.6.1