ReFRACtor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
aerosol_property.cc
Go to the documentation of this file.
1 #include "aerosol_property.h"
2 #include <vector>
3 #include <boost/shared_ptr.hpp>
4 
5 using namespace FullPhysics;
6 
7 #ifdef HAVE_LUA
8 #include "register_lua.h"
11 
12 // typedef to distinguish between copying value or moving value (C++11) push_back prototoypes
13 typedef void(std::vector<boost::shared_ptr<AerosolProperty> >::*pbt1)(
14  const std::vector<boost::shared_ptr<AerosolProperty> >::value_type&);
15 
16 REGISTER_LUA_CLASS_NAME(std::vector<boost::shared_ptr<AerosolProperty> >, VectorAerosolProperty)
17 .def(luabind::constructor<>())
18 .def("push_back", ((pbt1) &std::vector<boost::shared_ptr<AerosolProperty> >::push_back))
20 
21 #endif
This gives the Aerosol properties for an Aerosol.
Definition: doxygen.h:52
STL namespace.
#define REGISTER_LUA_CLASS(X)
Definition: register_lua.h:116
#define REGISTER_LUA_CLASS_NAME(X, Y)
Definition: register_lua.h:129
void(std::vector< std::string >::* pbt1)(const std::vector< std::string >::value_type &)
Definition: register_lua.cc:52
Contains classes to abstract away details in various Spurr Radiative Transfer software.
Definition: doxygen_python.h:1
#define REGISTER_LUA_END()
Definition: register_lua.h:134
def(luabind::constructor< int >()) .def("rows"

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:10