Why all the different string types?

Guy Rouillier <[email protected]> Wed, 08 Mar 2006 01:04:39 -0500
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
I'm making a change to gCvs that will require me to store a string in 
the preferences.  I'm baffled trying to figure out what all these 
different string types are (I finally gave up and just copied an 
existing setting that is specific to qUnix, which uses PCStr.)  Let's 
see, we have CPStr.cpp, which just to be mean defines PCPStr and PCStr, 
but not CPStr at all.  That's because CPStr is #define'd in rf/ustr.h to 
UPStr.  There's UStr, CStr, CString,  And some of the code uses std::string.

Then there's all the multistring variants: CMString, CMPString, 
CKeyString, CMKeyString.  If CKeyString is a multistring, then what is a 
  CMKeyString?

Are there any suggestions or guidelines on the appropriate uses of these 
different string types?

-- 
Guy Rouillier


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/