Pesc0
4a8d3853ba
[Toponaming] create ElementMap class ( #9175 )
...
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport
Co-authored-by: John Dupuy <jdupuy98@gmail.com >
2023-06-15 09:05:24 -05:00
wmayer
2462f4c7a0
App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy
2022-09-15 09:52:14 +02:00
berniev
65a356835b
App: Modernise ctors dtors defs etc
2022-08-01 00:34:46 +02:00
marioalexis
8f3f1d1e4c
App: Use regex to match names in ComplexGeoData::getSubElementByName
2022-04-15 17:38:17 +02:00
Chris Hennes
132a1d7e55
App: PR6497 move return statement to new line
2022-03-29 12:33:37 -05:00
wmayer
749361d2f3
App: modernize C++11
...
* use nullptr
2022-03-23 17:29:23 +01:00
wmayer
4977e55e51
App: Optimize includes to reduce compile time
2022-03-07 15:53:58 +01:00
wmayer
e4435cdcba
Base/App: fix warnings from code analysers:
...
* convert old-style-casts to explicit C++ casts where possible
* make some implicit conversions explicit
2022-03-06 23:49:30 +01:00
Uwe
26102318a0
[App] remove some unused includes
2022-02-25 02:25:47 +01:00
wmayer
7b45d63bf2
App: use consistent spelling of SubElement
2021-10-06 18:09:53 +02:00
luz.paz
4f308dc03c
src/App: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/App` files
2019-12-25 11:38:43 +01:00
Zheng, Lei
a03b847507
App: null pointer check in ComplexGeoData::noElementName()
2019-10-08 10:20:18 +02:00
wmayer
b50b21576e
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
Zheng, Lei
29eb1a4299
App: GeoFeature/ComplexGeoData API changes
...
These are the bare minimum set of APIs for future new topogical naming
feature (see [here](https://git.io/fj6hy ) for a overview of the new
APIs).
These APIs are added early to avoid too much code change for the new
features introduced in the current patch set.
2019-08-17 14:52:10 +02:00
wmayer
35e8edeb08
extend interface to get actual property with geometric data, get center of gravity of a geometry
2017-03-05 18:05:11 +01:00
wmayer
71df967fdf
fix -Wextra in FreeCADApp
2016-09-21 16:05:36 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00