C/C++ User's Journal STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - where the Standard Template Library meets the Active Template Library COMSTL - where the Standard Template Library meets the Component Object Model
Synesis Software InetSTL - where the Standard Template Library meets the Internet UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

H:/freelibs/recls/current/src/recls_string.h

Go to the documentation of this file.
00001 /* /////////////////////////////////////////////////////////////////////////////
00002  * File:        recls_string.h
00003  *
00004  * Purpose:     Implementation header.
00005  *
00006  * Created:     12th March 2005
00007  * Updated:     5th October 2006
00008  *
00009  * Home:        http://recls.org/
00010  *
00011  * Copyright (c) 2005-2006, Matthew Wilson and Synesis Software
00012  * All rights reserved.
00013  *
00014  * Redistribution and use in source and binary forms, with or without 
00015  * modification, are permitted in accordance with the license and warranty
00016  * information described in recls.h (included in this distribution, or available
00017  * from http://recls.org/)
00018  *
00019  * ////////////////////////////////////////////////////////////////////////// */
00020 
00021 
00022 #ifndef RECLS_INCL_H_RECLS_STRING
00023 #define RECLS_INCL_H_RECLS_STRING
00024 
00025 /* File version */
00026 #ifndef RECLS_DOCUMENTATION_SKIP_SECTION
00027 # define RECLS_VER_H_RECLS_STRING_MAJOR     2
00028 # define RECLS_VER_H_RECLS_STRING_MINOR     0
00029 # define RECLS_VER_H_RECLS_STRING_REVISION  2
00030 # define RECLS_VER_H_RECLS_STRING_EDIT      10
00031 #endif /* !RECLS_DOCUMENTATION_SKIP_SECTION */
00032 
00036 /* /////////////////////////////////////////////////////////////////////////////
00037  * Includes
00038  */
00039 
00040 #include <recls/recls.h>
00041 
00042 //#define RECLS_NO_USE_SIMPLE_STRING
00043 
00044 #ifndef RECLS_NO_USE_SIMPLE_STRING
00045 
00046 # include <stlsoft/string/simple_string.hpp>
00047 
00048 # define    RECLS_STRING_TEMPLATE_1(T)  stlsoft_ns_qual(basic_simple_string)<T>
00049 
00050 # define    STLSOFT_STRING_ACCESS_NO_STD_STRING /* We don't care about std::string in recls */
00051 
00052 #else /* ? USE_STRING_VIEW_FOR_PATTERN_SEARCH */
00053 
00054 # include <string>
00055 
00056 # define    RECLS_STRING_TEMPLATE_1(T)  stlsoft_ns_qual_std(basic_string)<T>
00057 
00058 #endif /* !RECLS_NO_USE_SIMPLE_STRING */
00059 
00060 #include <stlsoft/shims/access/string.hpp>
00061 
00062 /* ////////////////////////////////////////////////////////////////////////// */
00063 
00064 #endif /* !RECLS_INCL_H_RECLS_STRING */
00065 
00066 /* ////////////////////////////////////////////////////////////////////////// */

recls Library documentation © Synesis Software Pty Ltd, 2001-2006