1. Sid Price
  2. Valentina Database ADK
  3. Samstag, August 27 2016, 04:55 PM
  4.  Abonnieren via E-Mail
I am including the VSDK.h header file in my test application however when I try to use VConnection class it is undefined. I searched VSDK files and did not find it. Has this class been deprecated or if not where is it defined?
Thanks,
Sid
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hi Sid,

No, there is no such class in VSDK, I_Connection interface is used instead.

VConnection class appears in other ADKs (for .NET, Xojo, Java, ...), and internally it wraps I_Connection.
Kommentar
There are no comments made yet.
Sid Price Akzeptierte Antwort
OK, thanks.

The documentation is more than a little confusing, where is the reference of classes that are available with VSDK. From reading the "Wiki" it just isn't clear what API is part of VSDK.
Sid
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
С++ ADK is very special.

IF other ADKs provide 20-40 classes for use,
C++ Developer has access to much more.

Some C++ developers even asked from us "protected headers", which open dozens more classes.

C++ developer should learn
sources/VShared/FBL/publ/Headers
sources/VShared/FBL/publ/Interfaces
Kommentar
There are no comments made yet.
Sid Price Akzeptierte Antwort
So, back to my question, where is the C++ ADK documented in the Wiki? There is almost nothing there that I can find. I am not an expert C++ person and reading header files that are sparse with comments is very hard.
The Wiki looks very impressive and well designed but it misleads by not being specific about about what features are available in which ADK. There are sections for each ADK but no details for the C++ ADK that I can see.
I admit that all of this may be my problem, however I am usually good at reading and understanding documentation.
Thanks for your patience.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Hi Sid,

there is no separate special C++ ADK docs.

We have give in wiki some info about interfaces and smart_ptrs.

And you can use GENERAL ADK docs of wiki to get understanding what can be used.
This is kind of our PUBLIC API, which is enough to work with Valentina DB from all other programming languages.

We hope that C++ developers can easy map back that VDatabase into I_Database, and so on.

And Header file of I_Database has a lots of comments, as all our C++ public interfaces.

If something is still not clear, you are welcome to ask here.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories