Re: xCode Data Formatter Plugin for std::string
Re: xCode Data Formatter Plugin for std::string
- Subject: Re: xCode Data Formatter Plugin for std::string
- From: tobias <email@hidden>
- Date: Sun, 16 Nov 2003 01:19:49 -0600
Thanks Chris. I figured that this was an already solved problem.
On Nov 15, 2003, at 2:24 PM, chris friesen wrote:
For the cstring, which can be lossy since it will end at the first \0,
you can paste the following formatters into the summary. If you need
the full string, including \0's then you'll have to write some code.
For type 'string'
"{(char *)$VAR.c_str()}:s"
For type 'string *'
"{(char *)$VAR->c_str()}:s"
You can add more to your formatter, like this:
size={(int)$VAR.size()} "{(char *)$VAR.c_str()}:s"
Cheers,
Chris
On Nov 14, 2003, at 9:51 AM, tobias wrote:
I was just wondering if anyone has written a xCode Data Formatter
Plugin for std::string. It seems like it would be a pretty common
request.
Thanks.
-------------------
Tobias Ford...
email@hidden email@hidden
-------------------
Software Engineer @ WolfPack Studios
www.wolfpackstudios.com www.shadowbane.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
-------------------
Tobias Ford...
email@hidden email@hidden
-------------------
Software Engineer @ WolfPack Studios
www.wolfpackstudios.com www.shadowbane.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.