x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
symbol_table.hpp - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\wave\util\symbol_table.hpp
Girar
Efecto
Propiedad
Historial
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001-2008 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #if !defined(SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED) #define SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED #include
#include
#include
#if BOOST_WAVE_SERIALIZATION != 0 #include
#include
#endif #include
// this must occur after all of the includes and before any code appears #ifdef BOOST_HAS_ABI_HEADERS #include BOOST_ABI_PREFIX #endif /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace wave { namespace util { /////////////////////////////////////////////////////////////////////////////// // // The symbol_table class is used for the storage of defined macros. // /////////////////////////////////////////////////////////////////////////////// template
struct symbol_table : public std::map
> { typedef std::map
> base_type; typedef typename base_type::iterator iterator_type; typedef typename base_type::const_iterator const_iterator_type; symbol_table(long uid_ = 0) {} #if BOOST_WAVE_SERIALIZATION != 0 private: friend class boost::serialization::access; template
void serialize(Archive &ar, const unsigned int version) { using namespace boost::serialization; ar & make_nvp("symbol_table", boost::serialization::base_object
(*this)); } #endif private: /////////////////////////////////////////////////////////////////////////// // // This is a special iterator allowing to iterate the names of all defined // macros. // /////////////////////////////////////////////////////////////////////////// template
struct get_first { typedef StringT1 const& result_type; template
StringT1 const& operator() (std::pair
const& p) const { return p.first; } }; typedef get_first
unary_functor; public: typedef transform_iterator
name_iterator; typedef transform_iterator
const_name_iterator; template
static transform_iterator
make_iterator(Iterator it) { return boost::make_transform_iterator
(it); } }; /////////////////////////////////////////////////////////////////////////////// } // namespace util } // namespace wave } // namespace boost // the suffix header occurs after all of the code #ifdef BOOST_HAS_ABI_HEADERS #include BOOST_ABI_SUFFIX #endif #endif // !defined(SYMBOL_TABLE_HPP_32B0F7C6_3DD6_4113_95A5_E16516C6F45A_INCLUDED)
symbol_table.hpp
Dirección de la página
Dirección del archivo
Anterior
16/19
Siguiente
Descargar
( 3 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.