You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Scott Cantor <ca...@osu.edu> on 2006/06/09 21:54:59 UTC

Unexported class in C++ library

Berin,

The XSECAlgorithmMapper class seems to be non-exported from the Windows
version of the library, marked internal, but if that's the case, why is the 
g_algorithmMapper member in XSECPlatformUtils public, and why is the class'
header itself visible?

I'd like to make use of the Mapper myself, so I'd prefer that it be
exported, but if that's a concern, I'd suggest hiding the use of it
entirely.

-- Scott


Re: Unexported class in C++ library

Posted by Berin Lautenbach <be...@wingsofhermes.org>.
Scott Cantor wrote:

> The XSECAlgorithmMapper class seems to be non-exported from the Windows
> version of the library, marked internal, but if that's the case, why is the 
> g_algorithmMapper member in XSECPlatformUtils public, and why is the class'
> header itself visible?
> 
> I'd like to make use of the Mapper myself, so I'd prefer that it be
> exported, but if that's a concern, I'd suggest hiding the use of it
> entirely.

It was originally intended to be purely internal (thus the marking in
the dox).  But making it available outside the library makes sense -
I'll export it.

Cheers,
	Berin