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: chris friesen <email@hidden>
- Date: Sat, 15 Nov 2003 12:24:13 -0800
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.
_______________________________________________
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.