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
def_visitor.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\python\def_visitor.hpp
Girar
Efecto
Propiedad
Historial
// Copyright David Abrahams 2003. // 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) #ifndef DEF_VISITOR_DWA2003810_HPP # define DEF_VISITOR_DWA2003810_HPP # include
# include
namespace boost { namespace python { template
class def_visitor; template
class class_; class def_visitor_access { # if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) \ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) // Tasteless as this may seem, making all members public allows member templates // to work in the absence of member template friends. public: # else template
friend class def_visitor; # endif // unnamed visit, c.f. init<...>, container suites template
static void visit(V const& v, classT& c) { v.derived_visitor().visit(c); } // named visit, c.f. object, pure_virtual template
static void visit( V const& v , classT& c , char const* name , OptionalArgs const& options ) { v.derived_visitor().visit(c, name, options); } }; template
class def_visitor { friend class def_visitor_access; # if defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS) \ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) // Tasteless as this may seem, making all members public allows member templates // to work in the absence of member template friends. public: # else template
friend class class_; # endif // unnamed visit, c.f. init<...>, container suites template
void visit(classT& c) const { def_visitor_access::visit(*this, c); } // named visit, c.f. object, pure_virtual template
void visit(classT& c, char const* name, OptionalArgs const& options) const { def_visitor_access::visit(*this, c, name, options); } protected: DerivedVisitor const& derived_visitor() const { return static_cast
(*this); } }; }} // namespace boost::python #endif // DEF_VISITOR_DWA2003810_HPP
def_visitor.hpp
Dirección de la página
Dirección del archivo
Anterior
17/85
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.