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
dual_name_parameter.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\test\utils\runtime\cla\dual_name_parameter.hpp
Girar
Efecto
Propiedad
Historial
// (C) Copyright Gennadiy Rozental 2005-2007. // Use, modification, and distribution are subject to 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) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : $Revision: 43798 $ // // Description : defines model of generic parameter with dual naming // *************************************************************************** #ifndef BOOST_RT_CLA_DUAL_NAME_PARAMETER_HPP_062604GER #define BOOST_RT_CLA_DUAL_NAME_PARAMETER_HPP_062604GER // Boost.Runtime.Parameter #include
#include
#include
namespace boost { namespace BOOST_RT_PARAM_NAMESPACE { namespace cla { // ************************************************************************** // // ************** dual_name_policy ************** // // ************************************************************************** // class dual_name_policy : public dual_id_policy
{ public: dual_name_policy(); // Accept modifer template
void accept_modifier( Modifier const& m ) { if( m.has( prefix ) ) set_prefix( m[prefix] ); if( m.has( name ) ) set_name( m[name] ); if( m.has( separator ) ) set_separator( m[separator] ); } private: void set_prefix( cstring ); void set_name( cstring ); void set_separator( cstring ); }; // ************************************************************************** // // ************** runtime::cla::dual_name_parameter ************** // // ************************************************************************** // template
class dual_name_parameter_t : public basic_parameter
{ typedef basic_parameter
base; public: // Constructors explicit dual_name_parameter_t( cstring name ) : base( name ) {} }; //____________________________________________________________________________// BOOST_RT_CLA_NAMED_PARAM_GENERATORS( dual_name_parameter ) //____________________________________________________________________________// } // namespace cla } // namespace BOOST_RT_PARAM_NAMESPACE } // namespace boost #ifndef BOOST_RT_PARAM_OFFLINE # define BOOST_RT_PARAM_INLINE inline # include
#endif #endif // BOOST_RT_CLA_DUAL_NAME_PARAMETER_HPP_062604GER
dual_name_parameter.hpp
Dirección de la página
Dirección del archivo
Anterior
10/30
Siguiente
Descargar
( 2 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.