Commit Graph

453 Commits (2730dab4c626f09aef46cb1b51a5edc352f30f16)

Author SHA1 Message Date
dellaert 8a54e19811 Succuessfully parse * at cost of also parsing *& 2014-11-30 15:51:14 +01:00
dellaert a6afe70c9c Good progress on Argument 2014-11-30 15:46:41 +01:00
dellaert 00c6bd2426 Start on Argument grammar 2014-11-30 14:58:45 +01:00
dellaert 46ad6ea2e7 Got rid of that classname grammar 2014-11-30 13:29:34 +01:00
dellaert c9a15fbc38 Now uses basic rules 2014-11-30 13:27:04 +01:00
dellaert ff3349c1e1 Moved category to Qualified 2014-11-30 13:09:23 +01:00
dellaert 3f308e5f86 Moved to header 2014-11-30 11:30:06 +01:00
dellaert ad8a25c78c A bit of namespace shielding for use in header 2014-11-30 11:24:12 +01:00
dellaert f32f5c7ff2 Working type grammar 2014-11-30 11:19:23 +01:00
dellaert e98ec62804 start with grammar prototype 2014-11-30 11:09:34 +01:00
dellaert 14ef786dfe Removing empty in favor of boost::optional 2014-11-30 10:38:24 +01:00
dellaert 74361ce64a Test with argument templated 2014-11-30 10:37:25 +01:00
dellaert b12255285b More clear than operator overload 2014-11-30 00:13:29 +01:00
dellaert 8d9e108acc Check Vector by checking size 2014-11-29 21:43:48 +01:00
dellaert 370f2c6763 Isolated argument check 2014-11-29 21:11:13 +01:00
dellaert 0261c59063 static property is known by function! Makes so much more sense... 2014-11-29 20:59:38 +01:00
dellaert 0eaabd700b Refactored emit call 2014-11-29 20:53:38 +01:00
dellaert e2ab47b610 Added Vector and Matrix to forward declarations 2014-11-29 20:01:48 +01:00
dellaert fb8283cf11 Fixed message 2014-11-29 19:47:45 +01:00
dellaert 6e691b06ff Private table_ 2014-11-29 19:38:51 +01:00
dellaert b0fa5ce684 Cut out unused arguments 2014-11-29 19:34:46 +01:00
dellaert c609666ab9 More informative fail 2014-11-29 16:13:23 +01:00
dellaert c68c21c187 headers 2014-11-29 16:13:02 +01:00
dellaert 6c0439f6ea Method and StaticMethod now inherit from MethodBase - much better 2014-11-29 15:31:29 +01:00
dellaert ea070353d6 non-serialization expected values 2014-11-29 13:59:23 +01:00
dellaert 1fd0f964ea Allow Eigen type in typedefs 2014-11-29 13:53:59 +01:00
dellaert 7fdcc98ea5 Updated tests with serialization 2014-11-29 13:50:04 +01:00
dellaert 5ab9b8e439 Test Vector and Matrix as template values 2014-11-29 13:45:11 +01:00
dellaert be00e1c348 Allow Vector and Matrix in list of template values 2014-11-29 13:44:49 +01:00
dellaert ab08cb65b0 Fixed unit test 2014-11-22 22:13:21 +01:00
dellaert 018e66be7f Fixed compile issue 2014-11-21 16:56:22 +01:00
dellaert 755cc60b6f python wrapper file generated at this point 2014-11-14 17:47:46 +01:00
dellaert 6c24fc2aca Python prototype 2014-11-14 17:47:25 +01:00
dellaert e07402a58a Re-factored matlab_code only emits code: it does not post-process the classes anymore. That is now done in parse_Markup, i.e., the constructor.... 2014-11-14 17:04:45 +01:00
dellaert 7a4748d3dc Simplified method/function hierarchy drastically, and renamed bottom addOverload to initializeOrCheck to reflect what it does. Also, gratuitous re-ordering of addOverload arguments. 2014-11-14 16:44:08 +01:00
dellaert 2d654f7fa7 Fixed some wrap unit tests that were left by the wayside 2014-11-14 01:12:43 +01:00
dellaert b7dc6b3687 Fixed many utilities and examples 2014-11-14 00:51:11 +01:00
dellaert 67bc951ac2 Fixed proxy files and calls for static methods 2014-11-13 23:21:05 +01:00
dellaert e07da1c82d Added matlabName, and made data members private 2014-11-13 22:43:29 +01:00
dellaert 8a05136ca0 Fixed proxy wrapper name 2014-11-13 22:15:36 +01:00
dellaert 8ef78db9d8 Fixed template expansion of classes 2014-11-13 21:53:58 +01:00
dellaert a4fe404d82 Fixed constructor name in proxy 2014-11-13 21:53:33 +01:00
dellaert 09e3c7df9f struct Constructor: public ArgumentOverloads 2014-11-13 21:34:59 +01:00
dellaert efd544527f Stream operator for many classes 2014-11-13 21:11:29 +01:00
dellaert 482dbd9226 Made TemplateSubstitution into an operator, and added stream operator 2014-11-13 19:34:25 +01:00
dellaert fe481dc775 typedef to cope with abundance of strings 2014-11-13 18:58:44 +01:00
dellaert b451e97f6f New TemplateSubstitution object simplifies a lot 2014-11-13 17:28:05 +01:00
dellaert a5e0adb7e6 Made methods and global functions derive from Function 2014-11-13 12:52:41 +01:00
dellaert 16ba6ba254 Added Function Base class 2014-11-13 12:52:01 +01:00
dellaert 341ad9f288 gtsam.h with templated Values::at now compiles ! 2014-11-13 01:26:06 +01:00
dellaert 3c1daa5d6f Templated methods work !!!! 2014-11-13 00:39:15 +01:00
dellaert 5ca71a2eb9 Fixed exception bug 2014-11-12 23:54:37 +01:00
dellaert 1ea0225030 Big refactor because methods now private member of Class 2014-11-12 23:23:07 +01:00
dellaert ad9f3b334c test addOverload 2014-11-12 22:06:53 +01:00
dellaert b7da52a61b Method unit test 2014-11-12 21:54:43 +01:00
dellaert e9a58ff225 Fixed pointer issue 2014-11-12 20:52:07 +01:00
dellaert 7d4f5a4820 Make explicit whether wrapper or proxy is written to... 2014-11-12 20:51:47 +01:00
dellaert 72d44fe0af Fixed docs 2014-11-12 20:50:20 +01:00
dellaert 67ab69d5ba Merge remote-tracking branch 'origin/fix/BAD_wrap' into fix/BAD_wrap_checkpoint
Conflicts:
	wrap/Module.cpp
2014-11-12 19:22:03 +01:00
dellaert 34a0913125 Fixed issue with templateArgName overloading 2014-11-12 19:09:30 +01:00
dellaert c8ac7f8980 Cleaned up variables 2014-11-12 18:04:38 +01:00
dellaert 2ad5a51e74 MAde some method private, and renamed return_type -> str 2014-11-12 15:31:40 +01:00
dellaert bad8e85c11 Little fudge? I think in MATLAB these are the same. 2014-11-12 15:31:04 +01:00
dellaert 0a23529032 Everything compiles 2014-11-12 14:37:08 +01:00
dellaert 443b710a8d Re-factoring ReturnValue 2014-11-12 13:31:46 +01:00
dellaert 9b9d9a6b54 Eliminated copy/paste 2014-11-12 03:26:13 +01:00
dellaert 77935bd631 Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter. 2014-11-12 02:49:23 +01:00
dellaert 6f333965a9 Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter. 2014-11-12 02:46:49 +01:00
dellaert 2ab5e17cd8 Added tests for doubly templated class and typedef 2014-11-11 23:09:20 +01:00
dellaert 8ab83a7cff Simplified expand 2014-11-11 22:55:36 +01:00
dellaert b8d9d5b6ca Starting down the path of a templated method 2014-11-11 22:38:50 +01:00
dellaert c66d6bd1a4 Added templated class 2014-11-11 18:14:17 +01:00
dellaert 752d4800f1 Added new set of expected files in case serialize is turned off 2014-11-11 13:43:25 +01:00
dellaert 8a555c7e05 Comment 2014-11-11 13:42:25 +01:00
dellaert 2946bcdc82 Slight refactor/comments 2014-11-10 17:56:22 +01:00
Chris Beall 470527ff99 fix warnings on Windows. No need to create variable in catch statement if you're not going to use it. It generates unreferenced variable warnings. 2014-06-01 11:30:04 -04:00
dellaert 5048946ae9 Make sure it works for namespaces as well 2014-05-25 16:37:43 -04:00
dellaert 399c5e5551 Added test for overloaded global functions 2014-05-25 16:28:59 -04:00
dellaert 5e9632e781 Now using emit_conditional_call (changed indenting) 2014-05-25 16:28:39 -04:00
dellaert 925f23515d Better reporting of whitespace changes only 2014-05-25 16:27:29 -04:00
dellaert 1129b384b2 Header order 2014-05-25 16:03:28 -04:00
dellaert 05a38ca263 Standard BORG formatting 2014-05-25 16:01:30 -04:00
dellaert 9a102e8c59 Handle special case of single overload with all numeric arguments 2014-05-25 15:21:49 -04:00
dellaert a38504dc6a Ignore some files 2014-05-25 15:21:33 -04:00
dellaert 5987f78be3 Methods to check whether arguments are scalar 2014-05-25 15:21:13 -04:00
dellaert 9d9614d185 Split up into two calls 2014-05-25 14:59:20 -04:00
dellaert 52cd200718 ReturnValue now emits, eliminated some copy/paste. Also removed unused verbose field/argument in ReturnValue 2014-05-25 14:53:32 -04:00
dellaert 05008ecaa3 Comments 2014-05-25 14:40:39 -04:00
dellaert 406419317f eliminated more copy/paste mess between Method and StaticMethod 2014-05-25 14:35:07 -04:00
dellaert 61baef3be0 Don't emit overloads unless there are any 2014-05-25 13:37:44 -04:00
dellaert 1002696f83 Formatting and headers 2014-05-25 13:29:06 -04:00
dellaert 43e238c6ab Formatting and headers 2014-05-25 13:26:14 -04:00
dellaert 95b85e8494 Now using ArgumentList::emit_prototype everywhere, for non copy/paste code 2014-05-25 13:22:10 -04:00
dellaert 4403d47865 Slight refactor 2014-05-25 13:12:48 -04:00
dellaert 47e9016693 Fixed so prints expected file then actual, as expected (no pun intended) 2014-05-25 13:02:54 -04:00
dellaert 26cae48338 First successful use of new ArgumentList::emit_prototype method 2014-05-25 13:02:29 -04:00
dellaert 80b7d91264 emit prototype method (to eliminate horrible copy/paste mess someone thought was good programming style) 2014-05-25 13:01:36 -04:00
dellaert 82d6bae4b9 Standard BORG formatting 2014-05-25 12:43:19 -04:00
dellaert 02c3fe9516 Standard BORG formatting 2014-05-25 12:06:34 -04:00
Richard Roberts 1770f44ad9 Fixed a number of clang warnings 2014-02-23 18:53:48 -05:00