You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Robert Luo <zh...@netscape.net> on 2003/11/10 06:20:03 UTC

Is there any wrapper lib using C++

Hi, all:
     Could anybody tell me that if there exists any lib which wrap the 
apr into C++ class?

BR.



Re: Is there any wrapper lib using C++

Posted by Justin Kirby <ju...@openaether.org>.
Matt Carter and I have been working on a c++ wrapper lib. Its currently
being used by several projects, so it is at least stable/feature
complete enough for that.

Only one major issue is left to deal with before we do a 0.1 release,
and that is pools.

You can get more info here:
http://www.openaether.org/wiki/index.php?oapr

Justin


On Mon, 2003-11-10 at 00:20, Robert Luo wrote:
> Hi, all:
>      Could anybody tell me that if there exists any lib which wrap the 
> apr into C++ class?
> 
> BR.
> 
> 


Re: Is there any wrapper lib using C++

Posted by Scott Lamb <sl...@slamb.org>.
Robert Luo wrote:
> Hi, all:
>     Could anybody tell me that if there exists any lib which wrap the 
> apr into C++ class?
> 
> BR.

I have an afternoon's work toward a Subversion C++ API at 
<http://www.slamb.org/projects/svnapi/>. There's not much there 
(especially in the APR classes), but it still beats starting from 
scratch. There are some ideas you can take from the SVN classes; the 
style I set up for handling exceptions should make it quite slick to 
convert between the C-style and C++-style ones. And I reused the boost 
function class for Subversion's callbacks, which is much friendlier to 
deal with than the original C API.

If you end up doing anything with this code, please let me know.

Scott Lamb


RE: Is there any wrapper lib using C++

Posted by "John K. Sterling" <jo...@sterls.com>.
Hi - 

I started this work a couple of years ago, but at the time apr was changing
constantly, and the structures didn't map well to C++.

perhaps its time to pick up that effort again.  The code from that time
(which obviously won't work now) is at 

http://cvs.sourceforge.net/viewcvs.py/modcplusplus/apr_cplusplus/

let me know if you're interested and i'll pick it up again.

sterling

>-- Original Message --
>To: dev@apr.apache.org
>From: Robert Luo <zh...@netscape.net>
>Subject: Is there any wrapper lib using C++
>Date: Mon, 10 Nov 2003 13:20:03 +0800
>
>
>Hi, all:
>     Could anybody tell me that if there exists any lib which wrap the

>apr into C++ class?
>
>BR.
>
>