adamnagel / qudt-for-domain-tools

Establishing consistent unit identities in a world of whirling chaos
GNU Lesser General Public License v2.1
2 stars 1 forks source link

a C++ version qudt4dt sample lib #28

Closed imjjs closed 10 years ago

imjjs commented 10 years ago

To create a sample library which can make the sample code exec.

adamnagel commented 10 years ago

The structure looks good and the sample code runs on Windows under Visual Studio. The API looks pretty good from a user perspective, and I like the style of code that the user can write with it.

I have two questions about the abstractions chosen:

What part of the API are you currently working on?

imjjs commented 10 years ago

The default way to create a ModelicaQuantity is passing a QudtQuantity, however, user can also use a URL to create a abritary Quantity (both qudt and modelica).

And the next step is to implement the database accessing part.

imjjs commented 10 years ago
  1. using the static data structure for each unit field
  2. creating the abstract layer for the database accessing part
imjjs commented 10 years ago

Done the database accessing part with libcurl. The next step is to parse the result with libjsoncpp.

imjjs commented 10 years ago

reorganizing the project dir, and adding CMAKE build system

adamnagel commented 10 years ago

This issue looks good! I will merge it to master.

The only thing we are waiting for before closing the issue is to see if the small change to get_dependencies.py works on both Windows and Linux.