Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CArchStringUnix Class Reference

Unix implementation of IArchString. More...

#include <CArchStringUnix.h>

Inherits IArchString.

Inheritance diagram for CArchStringUnix:

Inheritance graph
[legend]
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

virtual 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.


The documentation for this class was generated from the following files:
Generated on Fri Nov 6 00:21:19 2009 for synergy-plus by  doxygen 1.3.9.1