Expand tabs to spaces per Emacs modeline; other space cleanups.

This commit is contained in:
brendan%mozilla.org 1999-09-06 22:59:11 +00:00
Родитель a4826d1767
Коммит d31330dd99
11 изменённых файлов: 992 добавлений и 1003 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -596,7 +596,7 @@ Condition(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
* XXX not ECMA, but documented in several books -- need a compile option
*/
if (pn->pn_type == TOK_ASSIGN && pn->pn_op == JSOP_NOP) {
js_ReportCompileErrorNumber(cx, ts,JSREPORT_WARNING,
js_ReportCompileErrorNumber(cx, ts, JSREPORT_WARNING,
JSMSG_EQUAL_AS_ASSIGN,
JSVERSION_IS_ECMA(cx->version) ? ""
: "\nAssuming equality test");

Просмотреть файл

@ -61,7 +61,7 @@ interface nsIIOService : nsISupports
*/
nsIChannel NewChannelFromURI(in string verb,
in nsIURI aURI,
in nsILoadGroup aLoadGroup,
in nsILoadGroup aLoadGroup,
in nsIEventSinkGetter eventSinkGetter);
/**
@ -71,7 +71,7 @@ interface nsIIOService : nsISupports
nsIChannel NewChannel(in string verb,
in string aSpec,
in nsIURI aBaseURI,
in nsILoadGroup aLoadGroup,
in nsILoadGroup aLoadGroup,
in nsIEventSinkGetter eventSinkGetter);
/**

Просмотреть файл

@ -87,7 +87,7 @@ NS_METHOD
nsLoadGroup::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
NS_ENSURE_PROPER_AGGREGATION(aOuter, aIID);
NS_ENSURE_PROPER_AGGREGATION(aOuter, aIID);
nsLoadGroup* group = new nsLoadGroup(aOuter);
if (group == nsnull)
@ -95,13 +95,12 @@ nsLoadGroup::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
nsresult rv = group->AggregatedQueryInterface(aIID, aResult);
if (NS_FAILED(rv))
delete group;
if (NS_FAILED(rv))
delete group;
return rv;
}
nsresult nsLoadGroup::SubGroupIsEmpty(nsresult aStatus)
{
nsresult rv;
@ -134,19 +133,19 @@ nsLoadGroup::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
{
NS_ENSURE_ARG_POINTER(aInstancePtr);
if (aIID.Equals(NS_GET_IID(nsISupports)))
*aInstancePtr = GetInner();
if (aIID.Equals(NS_GET_IID(nsISupports)))
*aInstancePtr = GetInner();
else if (aIID.Equals(kLoadGroupCID) || // for internal use only (to set parent)
aIID.Equals(NS_GET_IID(nsILoadGroup)) ||
aIID.Equals(NS_GET_IID(nsIRequest)) ||
aIID.Equals(NS_GET_IID(nsISupports)))
*aInstancePtr = NS_STATIC_CAST(nsILoadGroup*, this);
else {
else {
*aInstancePtr = nsnull;
return NS_NOINTERFACE;
}
NS_ADDREF((nsISupports*)*aInstancePtr);
NS_ADDREF((nsISupports*)*aInstancePtr);
return NS_OK;
}

Просмотреть файл

@ -65,7 +65,7 @@ nsCString::nsCString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -76,7 +76,7 @@ nsCString::nsCString(const char* aCString,PRInt32 aLength,nsIMemoryAgent* anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -106,7 +106,7 @@ nsCString::nsCString(const PRUnichar* aString,PRInt32 aLength,nsIMemoryAgent* an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -116,7 +116,7 @@ nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAg
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
@ -126,7 +126,7 @@ nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsCString::nsCString(nsSubsumeCStr& aSubsumeStr) :mAgent(0) {
@ -149,7 +149,7 @@ void nsCString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -181,7 +181,7 @@ PRBool nsCString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
*/
void nsCString::SetCapacity(PRUint32 aLength) {
@ -198,7 +198,7 @@ void nsCString::SetCapacity(PRUint32 aLength) {
/**
* Retrieves internal (1-byte) buffer ptr;
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer
*/
const char* nsCString::GetBuffer(void) const {
@ -255,7 +255,7 @@ PRBool nsCString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -268,7 +268,7 @@ nsSubsumeCStr nsCString::operator+(const nsCString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return newly created subsumable string
*/
@ -281,7 +281,7 @@ nsSubsumeCStr nsCString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created subsumable string
*/
@ -293,7 +293,7 @@ nsSubsumeCStr nsCString::operator+(PRUnichar aChar) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created string
*/
@ -310,7 +310,7 @@ nsSubsumeCStr nsCString::operator+(char aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -318,7 +318,7 @@ void nsCString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -327,7 +327,7 @@ void nsCString::ToUpperCase() {
/**
* Converts chars in this to lowercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToLowerCase(nsCString& aString) const {
@ -338,7 +338,7 @@ void nsCString::ToLowerCase(nsCString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToUpperCase(nsCString& aString) const {
@ -503,7 +503,7 @@ nsCString& nsCString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimi
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsCString* nsCString::ToNewString() const {
@ -513,7 +513,7 @@ nsCString* nsCString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsCString::ToNewCString() const {
@ -527,7 +527,7 @@ char* nsCString::ToNewCString() const {
/**
* Creates an unicode clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsCString::ToNewUnicode() const {
@ -544,7 +544,7 @@ PRUnichar* nsCString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength
* @param anOffset
@ -566,7 +566,7 @@ char* nsCString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) co
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -591,7 +591,7 @@ float nsCString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -648,7 +648,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) {
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -710,7 +710,7 @@ PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsCString::DetermineRadix(void) {
@ -727,7 +727,7 @@ PRUint32 nsCString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -758,7 +758,7 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: string to be appended
* @return this
*/
@ -777,7 +777,7 @@ nsCString& nsCString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -791,7 +791,7 @@ nsCString& nsCString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -822,7 +822,7 @@ nsCString& nsCString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -833,7 +833,7 @@ nsCString& nsCString::Assign(PRUnichar aChar) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -846,7 +846,7 @@ nsCString& nsCString::Assign(char aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -864,7 +864,7 @@ nsCString& nsCString::operator=(nsSubsumeCStr& aSubsumeString) {
/**
* append given string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -879,7 +879,7 @@ nsCString& nsCString::Append(const nsCString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount: #of chars to be copied; -1 means to copy the whole thing
* @return this
@ -910,7 +910,7 @@ nsCString& nsCString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -928,7 +928,7 @@ nsCString& nsCString::Append(PRUnichar aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -946,7 +946,7 @@ nsCString& nsCString::Append(char aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -968,7 +968,7 @@ nsCString& nsCString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1047,7 +1047,7 @@ nsCString& nsCString::Insert(const nsCString& aString,PRUint32 anOffset,PRInt32
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1081,7 +1081,7 @@ nsCString& nsCString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCou
/**
* Insert a single unichar into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar unichar to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1101,7 +1101,7 @@ nsCString& nsCString::Insert(PRUnichar aChar,PRUint32 anOffset){
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1413,7 +1413,7 @@ PRInt32 nsCString::RFindCharInSet(const nsStr& aSet,PRInt32 anOffset) const{
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString points to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1434,7 +1434,7 @@ PRInt32 nsCString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCoun
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1597,7 +1597,7 @@ static nsCStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1610,7 +1610,7 @@ nsCStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1624,7 +1624,7 @@ nsCString* nsCString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1637,7 +1637,7 @@ void nsCString::Recycle(nsCString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1650,7 +1650,7 @@ void nsCString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1674,13 +1674,13 @@ ostream& operator<<(ostream& aStream,const nsCString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1793,7 +1793,7 @@ nsCAutoString::nsCAutoString(PRUnichar aChar) : nsCString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX

Просмотреть файл

@ -63,7 +63,7 @@ nsString::nsString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -74,7 +74,7 @@ nsString::nsString(const char* aCString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -85,7 +85,7 @@ nsString::nsString(const PRUnichar* aString,nsIMemoryAgent* anAgent) : mAgent(an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -95,7 +95,7 @@ nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsString
*/
nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
@ -105,7 +105,7 @@ nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsString::nsString(nsSubsumeStr& aSubsumeStr) :mAgent(0) {
@ -129,7 +129,7 @@ void nsString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -165,7 +165,7 @@ PRBool nsString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
* @return
*/
@ -185,7 +185,7 @@ void nsString::SetCapacity(PRUint32 aLength) {
/**
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer (if 1-byte), otherwise NULL
*/
const char* nsString::GetBuffer(void) const {
@ -199,7 +199,7 @@ const char* nsString::GetBuffer(void) const {
* Now that we've factored the string class, this should never
* be able to return a 1 byte string.
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal (2-byte) buffer;
*/
const PRUnichar* nsString::GetUnicode(void) const {
@ -262,7 +262,7 @@ PRBool nsString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -274,7 +274,7 @@ nsSubsumeStr nsString::operator+(const nsStr& aString){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -286,7 +286,7 @@ nsSubsumeStr nsString::operator+(const nsString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -299,7 +299,7 @@ nsSubsumeStr nsString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -311,7 +311,7 @@ nsSubsumeStr nsString::operator+(char aChar) {
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString is a ptr to unistring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -324,7 +324,7 @@ nsSubsumeStr nsString::operator+(const PRUnichar* aString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a unichar to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -340,7 +340,7 @@ nsSubsumeStr nsString::operator+(PRUnichar aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -348,7 +348,7 @@ void nsString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -357,7 +357,7 @@ void nsString::ToUpperCase() {
/**
* Converts chars in this to uppercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToLowerCase(nsString& aString) const {
@ -368,7 +368,7 @@ void nsString::ToLowerCase(nsString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToUpperCase(nsString& aString) const {
@ -551,7 +551,7 @@ nsString& nsString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimina
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsString* nsString::ToNewString() const {
@ -561,7 +561,7 @@ nsString* nsString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsString::ToNewCString() const {
@ -582,7 +582,7 @@ char* nsString::ToNewCString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsString::ToNewUnicode() const {
@ -609,7 +609,7 @@ PRUnichar* nsString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength -- size of your external buffer (including null)
* @param anOffset -- THIS IS NOT USED AT THIS TIME!
@ -630,7 +630,7 @@ char* nsString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) con
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -655,7 +655,7 @@ float nsString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -710,7 +710,7 @@ static PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadi
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -771,7 +771,7 @@ static PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsString::DetermineRadix(void) {
@ -788,7 +788,7 @@ PRUint32 nsString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -818,7 +818,7 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: nsStr to be appended
* @return this
*/
@ -838,7 +838,7 @@ nsString& nsString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -852,7 +852,7 @@ nsString& nsString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: buffer to be assigned to this
* @return this
*/
@ -866,7 +866,7 @@ nsString& nsString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -877,7 +877,7 @@ nsString& nsString::Assign(char aChar) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -890,7 +890,7 @@ nsString& nsString::Assign(PRUnichar aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -908,7 +908,7 @@ nsString& nsString::operator=(const nsSubsumeStr& aSubsumeString) {
/**
* append given string to this string;
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -927,7 +927,7 @@ nsString& nsString::Append(const nsStr& aString,PRInt32 aCount) {
/**
* append given string to this string
* I don't think we need this method now that we have the previous one.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -942,7 +942,7 @@ nsString& nsString::Append(const nsString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -972,7 +972,7 @@ nsString& nsString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given unicode string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -1002,7 +1002,7 @@ nsString& nsString::Append(const PRUnichar* aString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended
* @return this
*/
@ -1020,7 +1020,7 @@ nsString& nsString::Append(char aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -1038,7 +1038,7 @@ nsString& nsString::Append(PRUnichar aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -1060,7 +1060,7 @@ nsString& nsString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1142,7 +1142,7 @@ nsString& nsString::Insert(const nsString& aCopy,PRUint32 anOffset,PRInt32 aCoun
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1176,7 +1176,7 @@ nsString& nsString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCount
/**
* Insert a unicode* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1210,7 +1210,7 @@ nsString& nsString::Insert(const PRUnichar* aString,PRUint32 anOffset,PRInt32 aC
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1574,7 +1574,7 @@ PRInt32 nsString::RFindCharInSet(const PRUnichar* aStringSet,PRInt32 anOffset) c
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1587,7 +1587,7 @@ PRInt32 nsString::Compare(const nsString& aString,PRBool aIgnoreCase,PRInt32 aCo
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1609,7 +1609,7 @@ PRInt32 nsString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCount
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1911,7 +1911,7 @@ static nsStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1924,7 +1924,7 @@ nsStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1938,7 +1938,7 @@ nsString* nsString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1953,7 +1953,7 @@ void nsString::Recycle(nsString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1966,7 +1966,7 @@ void nsString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1990,13 +1990,13 @@ ostream& operator<<(ostream& aStream,const nsString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -2109,7 +2109,7 @@ nsAutoString::nsAutoString(PRUnichar aChar) : nsString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -65,7 +65,7 @@ nsCString::nsCString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -76,7 +76,7 @@ nsCString::nsCString(const char* aCString,PRInt32 aLength,nsIMemoryAgent* anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -106,7 +106,7 @@ nsCString::nsCString(const PRUnichar* aString,PRInt32 aLength,nsIMemoryAgent* an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -116,7 +116,7 @@ nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAg
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
@ -126,7 +126,7 @@ nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsCString::nsCString(nsSubsumeCStr& aSubsumeStr) :mAgent(0) {
@ -149,7 +149,7 @@ void nsCString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -181,7 +181,7 @@ PRBool nsCString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
*/
void nsCString::SetCapacity(PRUint32 aLength) {
@ -198,7 +198,7 @@ void nsCString::SetCapacity(PRUint32 aLength) {
/**
* Retrieves internal (1-byte) buffer ptr;
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer
*/
const char* nsCString::GetBuffer(void) const {
@ -255,7 +255,7 @@ PRBool nsCString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -268,7 +268,7 @@ nsSubsumeCStr nsCString::operator+(const nsCString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return newly created subsumable string
*/
@ -281,7 +281,7 @@ nsSubsumeCStr nsCString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created subsumable string
*/
@ -293,7 +293,7 @@ nsSubsumeCStr nsCString::operator+(PRUnichar aChar) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created string
*/
@ -310,7 +310,7 @@ nsSubsumeCStr nsCString::operator+(char aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -318,7 +318,7 @@ void nsCString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -327,7 +327,7 @@ void nsCString::ToUpperCase() {
/**
* Converts chars in this to lowercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToLowerCase(nsCString& aString) const {
@ -338,7 +338,7 @@ void nsCString::ToLowerCase(nsCString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToUpperCase(nsCString& aString) const {
@ -503,7 +503,7 @@ nsCString& nsCString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimi
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsCString* nsCString::ToNewString() const {
@ -513,7 +513,7 @@ nsCString* nsCString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsCString::ToNewCString() const {
@ -527,7 +527,7 @@ char* nsCString::ToNewCString() const {
/**
* Creates an unicode clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsCString::ToNewUnicode() const {
@ -544,7 +544,7 @@ PRUnichar* nsCString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength
* @param anOffset
@ -566,7 +566,7 @@ char* nsCString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) co
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -591,7 +591,7 @@ float nsCString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -648,7 +648,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) {
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -710,7 +710,7 @@ PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsCString::DetermineRadix(void) {
@ -727,7 +727,7 @@ PRUint32 nsCString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -758,7 +758,7 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: string to be appended
* @return this
*/
@ -777,7 +777,7 @@ nsCString& nsCString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -791,7 +791,7 @@ nsCString& nsCString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -822,7 +822,7 @@ nsCString& nsCString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -833,7 +833,7 @@ nsCString& nsCString::Assign(PRUnichar aChar) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -846,7 +846,7 @@ nsCString& nsCString::Assign(char aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -864,7 +864,7 @@ nsCString& nsCString::operator=(nsSubsumeCStr& aSubsumeString) {
/**
* append given string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -879,7 +879,7 @@ nsCString& nsCString::Append(const nsCString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount: #of chars to be copied; -1 means to copy the whole thing
* @return this
@ -910,7 +910,7 @@ nsCString& nsCString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -928,7 +928,7 @@ nsCString& nsCString::Append(PRUnichar aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -946,7 +946,7 @@ nsCString& nsCString::Append(char aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -968,7 +968,7 @@ nsCString& nsCString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1047,7 +1047,7 @@ nsCString& nsCString::Insert(const nsCString& aString,PRUint32 anOffset,PRInt32
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1081,7 +1081,7 @@ nsCString& nsCString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCou
/**
* Insert a single unichar into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar unichar to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1101,7 +1101,7 @@ nsCString& nsCString::Insert(PRUnichar aChar,PRUint32 anOffset){
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1413,7 +1413,7 @@ PRInt32 nsCString::RFindCharInSet(const nsStr& aSet,PRInt32 anOffset) const{
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString points to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1434,7 +1434,7 @@ PRInt32 nsCString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCoun
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1597,7 +1597,7 @@ static nsCStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1610,7 +1610,7 @@ nsCStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1624,7 +1624,7 @@ nsCString* nsCString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1637,7 +1637,7 @@ void nsCString::Recycle(nsCString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1650,7 +1650,7 @@ void nsCString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1674,13 +1674,13 @@ ostream& operator<<(ostream& aStream,const nsCString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1793,7 +1793,7 @@ nsCAutoString::nsCAutoString(PRUnichar aChar) : nsCString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX

Просмотреть файл

@ -63,7 +63,7 @@ nsString::nsString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -74,7 +74,7 @@ nsString::nsString(const char* aCString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -85,7 +85,7 @@ nsString::nsString(const PRUnichar* aString,nsIMemoryAgent* anAgent) : mAgent(an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -95,7 +95,7 @@ nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsString
*/
nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
@ -105,7 +105,7 @@ nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsString::nsString(nsSubsumeStr& aSubsumeStr) :mAgent(0) {
@ -129,7 +129,7 @@ void nsString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -165,7 +165,7 @@ PRBool nsString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
* @return
*/
@ -185,7 +185,7 @@ void nsString::SetCapacity(PRUint32 aLength) {
/**
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer (if 1-byte), otherwise NULL
*/
const char* nsString::GetBuffer(void) const {
@ -199,7 +199,7 @@ const char* nsString::GetBuffer(void) const {
* Now that we've factored the string class, this should never
* be able to return a 1 byte string.
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal (2-byte) buffer;
*/
const PRUnichar* nsString::GetUnicode(void) const {
@ -262,7 +262,7 @@ PRBool nsString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -274,7 +274,7 @@ nsSubsumeStr nsString::operator+(const nsStr& aString){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -286,7 +286,7 @@ nsSubsumeStr nsString::operator+(const nsString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -299,7 +299,7 @@ nsSubsumeStr nsString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -311,7 +311,7 @@ nsSubsumeStr nsString::operator+(char aChar) {
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString is a ptr to unistring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -324,7 +324,7 @@ nsSubsumeStr nsString::operator+(const PRUnichar* aString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a unichar to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -340,7 +340,7 @@ nsSubsumeStr nsString::operator+(PRUnichar aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -348,7 +348,7 @@ void nsString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -357,7 +357,7 @@ void nsString::ToUpperCase() {
/**
* Converts chars in this to uppercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToLowerCase(nsString& aString) const {
@ -368,7 +368,7 @@ void nsString::ToLowerCase(nsString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToUpperCase(nsString& aString) const {
@ -551,7 +551,7 @@ nsString& nsString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimina
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsString* nsString::ToNewString() const {
@ -561,7 +561,7 @@ nsString* nsString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsString::ToNewCString() const {
@ -582,7 +582,7 @@ char* nsString::ToNewCString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsString::ToNewUnicode() const {
@ -609,7 +609,7 @@ PRUnichar* nsString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength -- size of your external buffer (including null)
* @param anOffset -- THIS IS NOT USED AT THIS TIME!
@ -630,7 +630,7 @@ char* nsString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) con
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -655,7 +655,7 @@ float nsString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -710,7 +710,7 @@ static PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadi
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -771,7 +771,7 @@ static PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsString::DetermineRadix(void) {
@ -788,7 +788,7 @@ PRUint32 nsString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -818,7 +818,7 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: nsStr to be appended
* @return this
*/
@ -838,7 +838,7 @@ nsString& nsString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -852,7 +852,7 @@ nsString& nsString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: buffer to be assigned to this
* @return this
*/
@ -866,7 +866,7 @@ nsString& nsString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -877,7 +877,7 @@ nsString& nsString::Assign(char aChar) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -890,7 +890,7 @@ nsString& nsString::Assign(PRUnichar aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -908,7 +908,7 @@ nsString& nsString::operator=(const nsSubsumeStr& aSubsumeString) {
/**
* append given string to this string;
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -927,7 +927,7 @@ nsString& nsString::Append(const nsStr& aString,PRInt32 aCount) {
/**
* append given string to this string
* I don't think we need this method now that we have the previous one.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -942,7 +942,7 @@ nsString& nsString::Append(const nsString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -972,7 +972,7 @@ nsString& nsString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given unicode string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -1002,7 +1002,7 @@ nsString& nsString::Append(const PRUnichar* aString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended
* @return this
*/
@ -1020,7 +1020,7 @@ nsString& nsString::Append(char aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -1038,7 +1038,7 @@ nsString& nsString::Append(PRUnichar aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -1060,7 +1060,7 @@ nsString& nsString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1142,7 +1142,7 @@ nsString& nsString::Insert(const nsString& aCopy,PRUint32 anOffset,PRInt32 aCoun
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1176,7 +1176,7 @@ nsString& nsString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCount
/**
* Insert a unicode* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1210,7 +1210,7 @@ nsString& nsString::Insert(const PRUnichar* aString,PRUint32 anOffset,PRInt32 aC
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1574,7 +1574,7 @@ PRInt32 nsString::RFindCharInSet(const PRUnichar* aStringSet,PRInt32 anOffset) c
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1587,7 +1587,7 @@ PRInt32 nsString::Compare(const nsString& aString,PRBool aIgnoreCase,PRInt32 aCo
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1609,7 +1609,7 @@ PRInt32 nsString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCount
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1911,7 +1911,7 @@ static nsStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1924,7 +1924,7 @@ nsStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1938,7 +1938,7 @@ nsString* nsString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1953,7 +1953,7 @@ void nsString::Recycle(nsString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1966,7 +1966,7 @@ void nsString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1990,13 +1990,13 @@ ostream& operator<<(ostream& aStream,const nsString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -2109,7 +2109,7 @@ nsAutoString::nsAutoString(PRUnichar aChar) : nsString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX

Просмотреть файл

@ -65,7 +65,7 @@ nsCString::nsCString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -76,7 +76,7 @@ nsCString::nsCString(const char* aCString,PRInt32 aLength,nsIMemoryAgent* anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -106,7 +106,7 @@ nsCString::nsCString(const PRUnichar* aString,PRInt32 aLength,nsIMemoryAgent* an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -116,7 +116,7 @@ nsCString::nsCString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAg
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
@ -126,7 +126,7 @@ nsCString::nsCString(const nsCString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsCString::nsCString(nsSubsumeCStr& aSubsumeStr) :mAgent(0) {
@ -149,7 +149,7 @@ void nsCString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -181,7 +181,7 @@ PRBool nsCString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
*/
void nsCString::SetCapacity(PRUint32 aLength) {
@ -198,7 +198,7 @@ void nsCString::SetCapacity(PRUint32 aLength) {
/**
* Retrieves internal (1-byte) buffer ptr;
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer
*/
const char* nsCString::GetBuffer(void) const {
@ -255,7 +255,7 @@ PRBool nsCString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -268,7 +268,7 @@ nsSubsumeCStr nsCString::operator+(const nsCString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return newly created subsumable string
*/
@ -281,7 +281,7 @@ nsSubsumeCStr nsCString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created subsumable string
*/
@ -293,7 +293,7 @@ nsSubsumeCStr nsCString::operator+(PRUnichar aChar) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return newly created string
*/
@ -310,7 +310,7 @@ nsSubsumeCStr nsCString::operator+(char aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -318,7 +318,7 @@ void nsCString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsCString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -327,7 +327,7 @@ void nsCString::ToUpperCase() {
/**
* Converts chars in this to lowercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToLowerCase(nsCString& aString) const {
@ -338,7 +338,7 @@ void nsCString::ToLowerCase(nsCString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsCString::ToUpperCase(nsCString& aString) const {
@ -503,7 +503,7 @@ nsCString& nsCString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimi
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsCString* nsCString::ToNewString() const {
@ -513,7 +513,7 @@ nsCString* nsCString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsCString::ToNewCString() const {
@ -527,7 +527,7 @@ char* nsCString::ToNewCString() const {
/**
* Creates an unicode clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsCString::ToNewUnicode() const {
@ -544,7 +544,7 @@ PRUnichar* nsCString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength
* @param anOffset
@ -566,7 +566,7 @@ char* nsCString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) co
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -591,7 +591,7 @@ float nsCString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -648,7 +648,7 @@ PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadix) {
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -710,7 +710,7 @@ PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsCString::DetermineRadix(void) {
@ -727,7 +727,7 @@ PRUint32 nsCString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -758,7 +758,7 @@ PRInt32 nsCString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: string to be appended
* @return this
*/
@ -777,7 +777,7 @@ nsCString& nsCString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -791,7 +791,7 @@ nsCString& nsCString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -822,7 +822,7 @@ nsCString& nsCString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -833,7 +833,7 @@ nsCString& nsCString::Assign(PRUnichar aChar) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -846,7 +846,7 @@ nsCString& nsCString::Assign(char aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -864,7 +864,7 @@ nsCString& nsCString::operator=(nsSubsumeCStr& aSubsumeString) {
/**
* append given string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -879,7 +879,7 @@ nsCString& nsCString::Append(const nsCString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount: #of chars to be copied; -1 means to copy the whole thing
* @return this
@ -910,7 +910,7 @@ nsCString& nsCString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -928,7 +928,7 @@ nsCString& nsCString::Append(PRUnichar aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -946,7 +946,7 @@ nsCString& nsCString::Append(char aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -968,7 +968,7 @@ nsCString& nsCString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1047,7 +1047,7 @@ nsCString& nsCString::Insert(const nsCString& aString,PRUint32 anOffset,PRInt32
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1081,7 +1081,7 @@ nsCString& nsCString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCou
/**
* Insert a single unichar into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar unichar to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1101,7 +1101,7 @@ nsCString& nsCString::Insert(PRUnichar aChar,PRUint32 anOffset){
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1413,7 +1413,7 @@ PRInt32 nsCString::RFindCharInSet(const nsStr& aSet,PRInt32 anOffset) const{
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString points to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1434,7 +1434,7 @@ PRInt32 nsCString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCoun
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1597,7 +1597,7 @@ static nsCStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1610,7 +1610,7 @@ nsCStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1624,7 +1624,7 @@ nsCString* nsCString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1637,7 +1637,7 @@ void nsCString::Recycle(nsCString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1650,7 +1650,7 @@ void nsCString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1674,13 +1674,13 @@ ostream& operator<<(ostream& aStream,const nsCString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1793,7 +1793,7 @@ nsCAutoString::nsCAutoString(PRUnichar aChar) : nsCString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX

Просмотреть файл

@ -63,7 +63,7 @@ nsString::nsString(nsIMemoryAgent* anAgent) : mAgent(anAgent) {
/**
* This constructor accepts an ascii string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aCString is a ptr to a 1-byte cstr
* @param aLength tells us how many chars to copy from given CString
*/
@ -74,7 +74,7 @@ nsString::nsString(const char* aCString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This constructor accepts a unicode string
* @update gess 1/4/99
* @update gess 1/4/99
* @param aString is a ptr to a unichar string
* @param aLength tells us how many chars to copy from given aString
*/
@ -85,7 +85,7 @@ nsString::nsString(const PRUnichar* aString,nsIMemoryAgent* anAgent) : mAgent(an
/**
* This constructor works for all other nsSTr derivatives
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsCString
*/
nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgent) {
@ -95,7 +95,7 @@ nsString::nsString(const nsStr &aString,nsIMemoryAgent* anAgent) : mAgent(anAgen
/**
* This is our copy constructor
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to another nsString
*/
nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
@ -105,7 +105,7 @@ nsString::nsString(const nsString& aString) :mAgent(aString.mAgent) {
/**
* construct from subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
nsString::nsString(nsSubsumeStr& aSubsumeStr) :mAgent(0) {
@ -129,7 +129,7 @@ void nsString::SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const {
/**
* This method truncates this string to given length.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param anIndex -- new length of string
* @return nada
*/
@ -165,7 +165,7 @@ PRBool nsString::IsOrdered(void) const {
/**
* Call this method if you want to force the string to a certain capacity
* @update gess 1/4/99
* @update gess 1/4/99
* @param aLength -- contains new length for mStr
* @return
*/
@ -185,7 +185,7 @@ void nsString::SetCapacity(PRUint32 aLength) {
/**
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal buffer (if 1-byte), otherwise NULL
*/
const char* nsString::GetBuffer(void) const {
@ -199,7 +199,7 @@ const char* nsString::GetBuffer(void) const {
* Now that we've factored the string class, this should never
* be able to return a 1 byte string.
*
* @update gess1/4/99
* @update gess1/4/99
* @return ptr to internal (2-byte) buffer;
*/
const PRUnichar* nsString::GetUnicode(void) const {
@ -262,7 +262,7 @@ PRBool nsString::SetCharAt(PRUnichar aChar,PRUint32 anIndex){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -274,7 +274,7 @@ nsSubsumeStr nsString::operator+(const nsStr& aString){
/**
* Create a new string by appending given string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString -- 2nd string to be appended
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -286,7 +286,7 @@ nsSubsumeStr nsString::operator+(const nsString& aString){
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString is a ptr to cstring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -299,7 +299,7 @@ nsSubsumeStr nsString::operator+(const char* aCString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a char to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -311,7 +311,7 @@ nsSubsumeStr nsString::operator+(char aChar) {
/**
* create a new string by adding this to the given buffer.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString is a ptr to unistring to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -324,7 +324,7 @@ nsSubsumeStr nsString::operator+(const PRUnichar* aString) {
/**
* create a new string by adding this to the given char.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar is a unichar to be added to this
* @return new subsumeable string (this makes things faster by reducing copying)
*/
@ -340,7 +340,7 @@ nsSubsumeStr nsString::operator+(PRUnichar aChar) {
/**
* Converts all chars in internal string to lower
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToLowerCase() {
nsStr::ChangeCase(*this,PR_FALSE);
@ -348,7 +348,7 @@ void nsString::ToLowerCase() {
/**
* Converts all chars in internal string to upper
* @update gess 01/04/99
* @update gess 01/04/99
*/
void nsString::ToUpperCase() {
nsStr::ChangeCase(*this,PR_TRUE);
@ -357,7 +357,7 @@ void nsString::ToUpperCase() {
/**
* Converts chars in this to uppercase, and
* stores them in aString
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToLowerCase(nsString& aString) const {
@ -368,7 +368,7 @@ void nsString::ToLowerCase(nsString& aString) const {
/**
* Converts chars in this to uppercase, and
* stores them in a given output string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aOut is a string to contain result
*/
void nsString::ToUpperCase(nsString& aString) const {
@ -551,7 +551,7 @@ nsString& nsString::CompressWhitespace( PRBool aEliminateLeading,PRBool aElimina
/**
* Creates a duplicate clone (ptr) of this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to clone of this string
*/
nsString* nsString::ToNewString() const {
@ -561,7 +561,7 @@ nsString* nsString::ToNewString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
char* nsString::ToNewCString() const {
@ -582,7 +582,7 @@ char* nsString::ToNewCString() const {
/**
* Creates an ascii clone of this string
* Note that calls to this method should be matched with calls to Recycle().
* @update gess 01/04/99
* @update gess 01/04/99
* @return ptr to new ascii string
*/
PRUnichar* nsString::ToNewUnicode() const {
@ -609,7 +609,7 @@ PRUnichar* nsString::ToNewUnicode() const {
* Note that if you provide me a buffer that is smaller than the length of
* this string, only the number of bytes that will fit are copied.
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param aBuf
* @param aBufLength -- size of your external buffer (including null)
* @param anOffset -- THIS IS NOT USED AT THIS TIME!
@ -630,7 +630,7 @@ char* nsString::ToCString(char* aBuf, PRUint32 aBufLength,PRUint32 anOffset) con
/**
* Perform string to float conversion.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aErrorCode will contain error if one occurs
* @return float rep of string value
*/
@ -655,7 +655,7 @@ float nsString::ToFloat(PRInt32* aErrorCode) const {
* 2. This method will return an error if the string you give
contains chars outside the range for the specified radix.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the string in.
* @return int rep of string value
@ -710,7 +710,7 @@ static PRInt32 _ToInteger(nsCString& aString,PRInt32* anErrorCode,PRUint32 aRadi
* 1-byte input string, and simultaneously determine the radix.
* NOTE: This method mandates that the string is well formed.
* Leading and trailing gunk should be removed, and the case upper.
* @update gess 10/01/98
* @update gess 10/01/98
* @param anInputString contains orig string
* @param anOutString contains numeric portion copy of input string
* @param aRadix (an out parm) tells the caller what base we think the string is in.
@ -771,7 +771,7 @@ static PRInt32 GetNumericSubstring(nsCString& aString,PRUint32& aRadix) {
/**
* This method tries to autodetect that radix given a string
* @update gess 10/01/98
* @update gess 10/01/98
* @return 10,16,or 0 (meaning I don't know)
*/
PRUint32 nsString::DetermineRadix(void) {
@ -788,7 +788,7 @@ PRUint32 nsString::DetermineRadix(void) {
/**
* Perform decimal numeric string to int conversion.
* NOTE: In this version, we use the radix you give, even if it's wrong.
* @update gess 10/01/98
* @update gess 10/01/98
* @param aErrorCode will contain error if one occurs
* @param aRadix tells us what base to expect the given string in.
* @return int rep of string value
@ -818,7 +818,7 @@ PRInt32 nsString::ToInteger(PRInt32* anErrorCode,PRUint32 aRadix) const {
/**
* assign given nsStr (or derivative) to this one
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: nsStr to be appended
* @return this
*/
@ -838,7 +838,7 @@ nsString& nsString::Assign(const nsStr& aString,PRInt32 aCount) {
/**
* assign given char* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString: buffer to be assigned to this
* @return this
*/
@ -852,7 +852,7 @@ nsString& nsString::Assign(const char* aCString,PRInt32 aCount) {
/**
* assign given unichar* to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString: buffer to be assigned to this
* @return this
*/
@ -866,7 +866,7 @@ nsString& nsString::Assign(const PRUnichar* aString,PRInt32 aCount) {
/**
* assign given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -877,7 +877,7 @@ nsString& nsString::Assign(char aChar) {
/**
* assign given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be assignd to this
* @return this
*/
@ -890,7 +890,7 @@ nsString& nsString::Assign(PRUnichar aChar) {
* WARNING! THIS IS A VERY SPECIAL METHOD.
* This method "steals" the contents of aSource and hands it to aDest.
* Ordinarily a copy is made, but not in this version.
* @update gess10/30/98
* @update gess10/30/98
* @param
* @return
*/
@ -908,7 +908,7 @@ nsString& nsString::operator=(const nsSubsumeStr& aSubsumeString) {
/**
* append given string to this string;
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -927,7 +927,7 @@ nsString& nsString::Append(const nsStr& aString,PRInt32 aCount) {
/**
* append given string to this string
* I don't think we need this method now that we have the previous one.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @return this
*/
@ -942,7 +942,7 @@ nsString& nsString::Append(const nsString& aString,PRInt32 aCount) {
/**
* append given c-string to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -972,7 +972,7 @@ nsString& nsString::Append(const char* aCString,PRInt32 aCount) {
/**
* append given unicode string to this
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString : string to be appended to this
* @param aCount -- number of chars to copy; -1 tells us to compute the strlen for you
* @return this
@ -1002,7 +1002,7 @@ nsString& nsString::Append(const PRUnichar* aString,PRInt32 aCount) {
/**
* append given char to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended
* @return this
*/
@ -1020,7 +1020,7 @@ nsString& nsString::Append(char aChar) {
/**
* append given unichar to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aChar: char to be appended to this
* @return this
*/
@ -1038,7 +1038,7 @@ nsString& nsString::Append(PRUnichar aChar) {
/**
* Append the given integer to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aInteger:
* @param aRadix:
* @return
@ -1060,7 +1060,7 @@ nsString& nsString::Append(PRInt32 aInteger,PRInt32 aRadix) {
/**
* Append the given float to this string
* @update gess 01/04/99
* @update gess 01/04/99
* @param aFloat:
* @return
*/
@ -1142,7 +1142,7 @@ nsString& nsString::Insert(const nsString& aCopy,PRUint32 anOffset,PRInt32 aCoun
/**
* Insert a char* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param char* aCString to be inserted into this string
* @param anOffset is insert pos in str
* @param aCounttells us how many chars to insert
@ -1176,7 +1176,7 @@ nsString& nsString::Insert(const char* aCString,PRUint32 anOffset,PRInt32 aCount
/**
* Insert a unicode* into this string at a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1210,7 +1210,7 @@ nsString& nsString::Insert(const PRUnichar* aString,PRUint32 anOffset,PRInt32 aC
* Insert a single uni-char into this string at
* a specified offset.
*
* @update gess4/22/98
* @update gess4/22/98
* @param aChar char to be inserted into this string
* @param anOffset is insert pos in str
* @return this
@ -1574,7 +1574,7 @@ PRInt32 nsString::RFindCharInSet(const PRUnichar* aStringSet,PRInt32 anOffset) c
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1587,7 +1587,7 @@ PRInt32 nsString::Compare(const nsString& aString,PRBool aIgnoreCase,PRInt32 aCo
/**
* Compares given cstring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aCString pts to a cstring
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1609,7 +1609,7 @@ PRInt32 nsString::Compare(const char *aCString,PRBool aIgnoreCase,PRInt32 aCount
/**
* Compares given unistring to this string.
* @update gess 01/04/99
* @update gess 01/04/99
* @param aString pts to a uni-string
* @param aIgnoreCase tells us how to treat case
* @param aCount tells us how many chars to test; -1 implies full length
@ -1911,7 +1911,7 @@ static nsStringRecycler& GetRecycler(void);
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1924,7 +1924,7 @@ nsStringRecycler& GetRecycler(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1938,7 +1938,7 @@ nsString* nsString::CreateString(void){
/**
* Call this mehod when you're done
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1953,7 +1953,7 @@ void nsString::Recycle(nsString* aString){
#if 0
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -1966,7 +1966,7 @@ void nsString::DebugDump(ostream& aStream) const {
/**
*
* @update gess8/8/98
* @update gess8/8/98
* @param
* @return
*/
@ -1990,13 +1990,13 @@ ostream& operator<<(ostream& aStream,const nsString& aString){
theOffset+=theCount;
}
}
return aStream;
return aStream;
}
#endif
/**
*
* @update gess 01/04/99
* @update gess 01/04/99
* @param
* @return
*/
@ -2109,7 +2109,7 @@ nsAutoString::nsAutoString(PRUnichar aChar) : nsString(){
/**
* construct from a subsumeable string
* @update gess 1/4/99
* @update gess 1/4/99
* @param reference to a subsumeString
*/
#ifdef AIX