The Artima Developer Community
Sponsored Link

C++ Community News Forum
Open-RJ 1.3.1 released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Matthew Wilson

Posts: 145
Nickname: bigboy
Registered: Jun, 2004

Open-RJ 1.3.1 released Posted: May 23, 2005 9:37 AM
Reply to this message Reply
Summary
The latest release of the Open-RJ libraries now provide programmatic access to the record comments in the Open-RJ database files
Advertisement
This is a minor update, primarily comprising the addition of record comment information representation by the API. (Previously, the comments used on records within Open-RJ database files were not available at the programmatic level.

This does not contain any write functionality that's currently underway in collaboration with Lars Ivar Igesund.

Download from http://openrj.org/ (redirects to SourceForge)

Details:

================================================================================
23rd May 2005 : Open-RJ 1.2.1 => 1.3.1
--------------------------------------------------------------------------------

The main change is that record comments are now made available in the API, in the form of the 'comment' member of the ORJRecordA structure, and the ORJ_Record_GetCommentA() function.

There is also a new auto-link header, which causes compilers that support such behaviour to insert comment records that direct their linker to link to the appropriate Open-RJ library, e.g. openrj.vc71.mt.debug.lib, without requiring explicit specification in the linker command. Some developers prefer this kind of automatic behaviour, and now have this facility if they so wish just by including openrj_implicit_link.h

Other changes are as follows:

  • c_str_ptr() shims are added for ORJStringA. (See chapter 19 of Imperfect C++ (http://imperfectcplusplus.com/) for an explanation of the Shims concept)
  • c_str_data() and c_str_len() shims are provided in addition to c_str_ptr(). These are of general use, but are particularly useful with STLSoft's basic_string_view template

Changes to the mappings are as follows:

C++ mapping:

  • the headers are separated out, one per class. They are all fully configured, i.e. including openrj/cpp/filedatabase.hpp includes openrj/cpp/record.hpp and openrj/cpp/field.hpp
  • addition of (in-)equality operators (operator == and operator !=) for Field class
  • addition of String typedef within openrj::cpp namespace, which is actually a typedef for stlsoft::basic_string_view (for providing views onto the string information within database fields).
  • addition of Record::GetComment(), Record::HasField(char const *name), Record::HasField(char const *name, char const *value), Record::HasFieldWithValue(char const *value) methods
  • Record::operator []() overloads taking string objects now return String rather than ORJString

STL mapping:

  • addition of record::comment() method

Python mapping:

  • addition of comment property to record type

Ruby mapping:

  • addition of comment property to record type

================================================================================

Topic: STLSoft libraries v1.8.3 released, including ACESTL and PlatformSTL Previous Topic   Next Topic Topic: recls 1.6.2 released - recls's been on a diet

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use