Formatting and headers

release/4.3a0
dellaert 2014-05-25 13:26:14 -04:00
parent 95b85e8494
commit 43e238c6ab
1 changed files with 9 additions and 12 deletions

View File

@ -18,11 +18,11 @@
#pragma once #pragma once
#include "Argument.h"
#include <string> #include <string>
#include <vector> #include <vector>
#include "Argument.h"
namespace wrap { namespace wrap {
// Constructor class // Constructor class
@ -34,7 +34,7 @@ struct Constructor {
} }
// Then the instance variables are set directly by the Module constructor // Then the instance variables are set directly by the Module constructor
std::vector<ArgumentList> args_list; std::vector<ArgumentList> args_list;
std::string name; std::string name;
bool verbose_; bool verbose_;
@ -50,21 +50,18 @@ struct Constructor {
* if nargin == 2, obj.self = new_Pose3_RP(varargin{1},varargin{2}); end * if nargin == 2, obj.self = new_Pose3_RP(varargin{1},varargin{2}); end
*/ */
void proxy_fragment(FileWriter& file, const std::string& wrapperName, void proxy_fragment(FileWriter& file, const std::string& wrapperName,
bool hasParent, const int id, const ArgumentList args) const; bool hasParent, const int id, const ArgumentList args) const;
/// cpp wrapper /// cpp wrapper
std::string wrapper_fragment(FileWriter& file, std::string wrapper_fragment(FileWriter& file,
const std::string& cppClassName, const std::string& cppClassName, const std::string& matlabUniqueName,
const std::string& matlabUniqueName, const std::string& cppBaseClassName, int id,
const std::string& cppBaseClassName, const ArgumentList& al) const;
int id,
const ArgumentList& al) const;
/// constructor function /// constructor function
void generate_construct(FileWriter& file, const std::string& cppClassName, void generate_construct(FileWriter& file, const std::string& cppClassName,
std::vector<ArgumentList>& args_list) const; std::vector<ArgumentList>& args_list) const;
}; };
} // \namespace wrap } // \namespace wrap