StringWrapper for ICU

View: New views
6 Messages — Rating Filter:   Alert me  

StringWrapper for ICU

by Brodie Thiesfield-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

For a project that I have been involved in, we needed a version of
UnicodeString that guarantees that getBuffer() const will always
return a null-terminated string. I also wanted a char-based string
class with the same interface as UnicodeString. Since there was
nothing available at the time, I created this thin wrapper myself and
have received company permission to release it as open-source.

If anyone is interested, the documentation and source files are
available at http://code.jellycan.com/stringwrapper/

Regards,
Brodie

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support

Re: StringWrapper for ICU

by Milan Marusinec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brodie Thiesfield wrote:
> If anyone is interested, the documentation and source files are
> available at http://code.jellycan.com/stringwrapper/
>
>  
Hmm, I tried the link you provided but cannot get to it. What's wrong ?

Milano


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support

Re: StringWrapper for ICU

by Steven R. Loomis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It, and the link to it, redirects to some Login url briefly, and  
returns you to a list of projects.

-s

On May 9, 2007, at 11:57 PM, Milan Marusinec wrote:

> Brodie Thiesfield wrote:
>> If anyone is interested, the documentation and source files are
>> available at http://code.jellycan.com/stringwrapper/
>>
>>
> Hmm, I tried the link you provided but cannot get to it. What's  
> wrong ?
>
> Milano



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support

smime.p7s (3K) Download Attachment

Re: StringWrapper for ICU

by Brodie Thiesfield-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Apologies, I forgot to make the page public. Fixed now.

Regards,
Brodie


On 5/10/07, Steven R. Loomis <srl@...> wrote:

> It, and the link to it, redirects to some Login url briefly, and
> returns you to a list of projects.
>
> -s
>
> On May 9, 2007, at 11:57 PM, Milan Marusinec wrote:
>
> > Brodie Thiesfield wrote:
> >> If anyone is interested, the documentation and source files are
> >> available at http://code.jellycan.com/stringwrapper/
> >>
> >>
> > Hmm, I tried the link you provided but cannot get to it. What's
> > wrong ?
> >
> > Milano
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> icu-support mailing list - icu-support@...
> To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support

Re: StringWrapper for ICU

by George Rhoten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> For a project that I have been involved in, we needed a version of
> UnicodeString that guarantees that getBuffer() const will always
> return a null-terminated string.

... or you could just use UnicodeString::getTerminatedBuffer(). I'm not
sure why you're duplicating existing ICU functionality.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support

Re: StringWrapper for ICU

by Brodie Thiesfield-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You missed the "const" part of "getBuffer() const".
getTerminatedBuffer is not a const method and I needed guaranteed
null-terminated buffers from a const method.

B

On 5/10/07, George Rhoten <grhoten@...> wrote:

> > For a project that I have been involved in, we needed a version of
> > UnicodeString that guarantees that getBuffer() const will always
> > return a null-terminated string.
>
> ... or you could just use UnicodeString::getTerminatedBuffer(). I'm not
> sure why you're duplicating existing ICU functionality.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> icu-support mailing list - icu-support@...
> To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
icu-support mailing list - icu-support@...
To Un/Subscribe: https://lists.sourceforge.net/lists/listinfo/icu-support