Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsTDependentSubstring.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsTDependentSubstring_CharT
 nsTDependentSubstring_CharT More...

Functions

const nsTDependentSubstring_CharT Substring (const nsTSubstring_CharT &str, PRUint32 startPos, PRUint32 length=PRUint32(-1))
const nsTDependentSubstring_CharT Substring (const nsReadingIterator< CharT > &start, const nsReadingIterator< CharT > &end)
const nsTDependentSubstring_CharT Substring (const CharT *start, const CharT *end)
const nsTDependentSubstring_CharT StringHead (const nsTSubstring_CharT &str, PRUint32 count)
const nsTDependentSubstring_CharT StringTail (const nsTSubstring_CharT &str, PRUint32 count)

Function Documentation

Definition at line 131 of file nsTDependentSubstring.h.

  {
    return nsTDependentSubstring_CharT(str, 0, count);
  }

Definition at line 147 of file nsTDependentSubstring.h.

  {
    return nsTDependentSubstring_CharT(str, str.Length() - count, count);
  }

Here is the call graph for this function:

const nsTDependentSubstring_CharT Substring ( const nsTSubstring_CharT str,
PRUint32  startPos,
PRUint32  length = PRUint32(-1) 
) [inline]

Definition at line 101 of file nsTDependentSubstring.h.

Definition at line 108 of file nsTDependentSubstring.h.

  {
    return nsTDependentSubstring_CharT(start.get(), end.get());
  }

Here is the call graph for this function:

const nsTDependentSubstring_CharT Substring ( const CharT start,
const CharT end 
) [inline]

Definition at line 115 of file nsTDependentSubstring.h.