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

# StringMethod.h

Go to the documentation of this file.

    00001 //------------------------------------------------------------------------------
    00002 // Lamp : Open source game middleware
    00003 // Copyright (C) 2004  Junpei Ohtani ( Email : junpee@users.sourceforge.jp )
    00004 //
    00005 // This library is free software; you can redistribute it and/or
    00006 // modify it under the terms of the GNU Lesser General Public
    00007 // License as published by the Free Software Foundation; either
    00008 // version 2.1 of the License, or (at your option) any later version.
    00009 //
    00010 // This library is distributed in the hope that it will be useful,
    00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00013 // Lesser General Public License for more details.
    00014 //
    00015 // You should have received a copy of the GNU Lesser General Public
    00016 // License along with this library; if not, write to the Free Software
    00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00018 //------------------------------------------------------------------------------
    00019
    00020 /** @file
    00021  * 文字列メソッドヘッダ
    00022  *
    00023  * ユーザコードにはインクルードされない様にする
    00024  * @author Junpee
    00025  */
    00026
    00027 #include <stdio.h>
    00028 #include <string.h>
    00029 #include <tchar.h>
    00030 #include <stdarg.h>
    00031 #include <windows.h>
    00032
    00033 /// printf
    00034 #define StdPrintf               _tprintf
    00035
    00036 /// vsnprintf
    00037 #define StdVsnprintf            _vsntprintf
    00038
    00039 /// sscanf
    00040 #define StdSscanf               _stscanf
    00041
    00042 /// strlen
    00043 #define StdStrlen               _tcslen
    00044
    00045 /// mbslen
    00046 #define StdMbslen               _tcsclen
    00047
    00048 /// strcpy
    00049 #define StdStrcpy               _tcscpy
    00050
    00051 /// strncpy
    00052 #define StdStrncpy              _tcsncpy
    00053
    00054 /// strcmp
    00055 #define StdStrcmp               _tcscmp
    00056
    00057 /// strncmp
    00058 #define StdStrncmp              _tcsncmp
    00059
    00060 /// strchr
    00061 #define StdStrchr               _tcschr
    00062
    00063 /// strrchr
    00064 #define StdStrrchr              _tcsrchr
    00065
    00066 /// strstr
    00067 #define StdStrstr               _tcsstr
    00068
    00069 /// strcspn
    00070 #define StdStrcspn              _tcscspn
    00071
    00072 /// strinc
    00073 #define StdStrinc               _tcsinc
    00074
    00075 /// strupr
    00076 #define StdStrupr               _tcsupr
    00077
    00078 /// strlwr
    00079 #define StdStrlwr               _tcslwr
    00080
    00081 /// OutputDebugString
    00082 #define StdOutputDebugString    OutputDebugString