Back to index

lightning-sunbird  0.9+nobinonly
Classes | Public Types | Static Public Attributes | Protected Types | Protected Member Functions | Friends
nsTObsoleteAString_CharT Class Reference

nsTObsoleteAString_CharT : binary compatible with old nsAC?String vtable More...

#include <nsTObsoleteAString.h>

Inheritance diagram for nsTObsoleteAString_CharT:
Inheritance graph
[legend]
Collaboration diagram for nsTObsoleteAString_CharT:
Collaboration graph
[legend]

List of all members.

Classes

struct  nsReadableFragment
 A |nsReadableFragment| provides |const| access to a contiguous hunk of string of homogenous units, e.g., bytes (|char|). More...
struct  nsWritableFragment
 A |nsWritableFragment| provides non-|const| access to a contiguous hunk of string of homogenous units, e.g., bytes (|char|). More...

Public Types

enum  nsFragmentRequest {
  kPrevFragment, kFirstFragment, kLastFragment, kNextFragment,
  kFragmentAt
}
 An |nsFragmentRequest| is used to tell |GetReadableFragment| and |GetWritableFragment| what to do. More...

Static Public Attributes

static NS_COM const voidsCanonicalVTable = nsTObsoleteAStringThunk_CharT::get_vptr()
 This is holds the address of the vtable for the canonical string implementation (i.e., nsTString).

Protected Types

typedef CharT char_type
typedef void buffer_handle_type
typedef void shared_buffer_handle_type
typedef nsReadableFragment const_fragment_type
typedef nsWritableFragment fragment_type
typedef nsTAString_CharT abstract_string_type
typedef PRUint32 size_type
typedef PRUint32 index_type

Protected Member Functions

virtual ~nsTObsoleteAString_CharT ()
 here's the old nsAC?String vtable
virtual PRUint32 GetImplementationFlags () const =0
virtual const buffer_handle_typeGetFlatBufferHandle () const =0
virtual const buffer_handle_typeGetBufferHandle () const =0
virtual const
shared_buffer_handle_type
GetSharedBufferHandle () const =0
virtual size_type Length () const =0
virtual PRBool IsVoid () const =0
virtual void SetIsVoid (PRBool)=0
virtual void SetCapacity (size_type)=0
virtual void SetLength (size_type)=0
virtual void Cut (index_type cutStart, size_type cutLength)=0
virtual void do_AssignFromReadable (const abstract_string_type &)=0
virtual void do_AssignFromElementPtr (const char_type *)=0
virtual void do_AssignFromElementPtrLength (const char_type *, size_type)=0
virtual void do_AssignFromElement (char_type)=0
virtual void do_AppendFromReadable (const abstract_string_type &)=0
virtual void do_AppendFromElementPtr (const char_type *)=0
virtual void do_AppendFromElementPtrLength (const char_type *, size_type)=0
virtual void do_AppendFromElement (char_type)=0
virtual void do_InsertFromReadable (const abstract_string_type &, index_type)=0
virtual void do_InsertFromElementPtr (const char_type *, index_type)=0
virtual void do_InsertFromElementPtrLength (const char_type *, index_type, size_type)=0
virtual void do_InsertFromElement (char_type, index_type)=0
virtual void do_ReplaceFromReadable (index_type, size_type, const abstract_string_type &)=0
virtual const char_typeGetReadableFragment (const_fragment_type &, nsFragmentRequest, PRUint32=0) const =0
virtual char_typeGetWritableFragment (fragment_type &, nsFragmentRequest, PRUint32=0)=0

Friends

class nsTAString_CharT
class nsTSubstring_CharT

Detailed Description

nsTObsoleteAString_CharT : binary compatible with old nsAC?String vtable

FROZEN

Definition at line 45 of file nsTObsoleteAString.h.


Member Typedef Documentation

Definition at line 114 of file nsTObsoleteAString.h.

Definition at line 109 of file nsTObsoleteAString.h.

Definition at line 107 of file nsTObsoleteAString.h.

Definition at line 111 of file nsTObsoleteAString.h.

Definition at line 112 of file nsTObsoleteAString.h.

Definition at line 117 of file nsTObsoleteAString.h.

Definition at line 110 of file nsTObsoleteAString.h.

Definition at line 116 of file nsTObsoleteAString.h.


Member Enumeration Documentation

An |nsFragmentRequest| is used to tell |GetReadableFragment| and |GetWritableFragment| what to do.

See also:
GetReadableFragment
Enumerator:
kPrevFragment 
kFirstFragment 
kLastFragment 
kNextFragment 
kFragmentAt 

Definition at line 60 of file nsTObsoleteAString.h.


Constructor & Destructor Documentation

virtual nsTObsoleteAString_CharT::~nsTObsoleteAString_CharT ( ) [inline, protected, virtual]

here's the old nsAC?String vtable

Definition at line 126 of file nsTObsoleteAString.h.

{ }

Member Function Documentation

virtual void nsTObsoleteAString_CharT::Cut ( index_type  cutStart,
size_type  cutLength 
) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AppendFromElement ( char_type  ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AppendFromElementPtr ( const char_type ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AppendFromElementPtrLength ( const char_type ,
size_type   
) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AssignFromElement ( char_type  ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AssignFromElementPtr ( const char_type ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_AssignFromElementPtrLength ( const char_type ,
size_type   
) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_InsertFromElement ( char_type  ,
index_type   
) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::do_InsertFromElementPtr ( const char_type ,
index_type   
) [protected, pure virtual]
virtual const buffer_handle_type* nsTObsoleteAString_CharT::GetBufferHandle ( ) const [protected, pure virtual]
virtual const buffer_handle_type* nsTObsoleteAString_CharT::GetFlatBufferHandle ( ) const [protected, pure virtual]
virtual PRUint32 nsTObsoleteAString_CharT::GetImplementationFlags ( ) const [protected, pure virtual]
virtual const char_type* nsTObsoleteAString_CharT::GetReadableFragment ( const_fragment_type ,
nsFragmentRequest  ,
PRUint32  = 0 
) const [protected, pure virtual]
virtual char_type* nsTObsoleteAString_CharT::GetWritableFragment ( fragment_type ,
nsFragmentRequest  ,
PRUint32  = 0 
) [protected, pure virtual]
virtual PRBool nsTObsoleteAString_CharT::IsVoid ( ) const [protected, pure virtual]
virtual size_type nsTObsoleteAString_CharT::Length ( ) const [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::SetCapacity ( size_type  ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::SetIsVoid ( PRBool  ) [protected, pure virtual]
virtual void nsTObsoleteAString_CharT::SetLength ( size_type  ) [protected, pure virtual]

Friends And Related Function Documentation

friend class nsTAString_CharT [friend]

Definition at line 121 of file nsTObsoleteAString.h.

friend class nsTSubstring_CharT [friend]

Definition at line 122 of file nsTObsoleteAString.h.


Member Data Documentation

This is holds the address of the vtable for the canonical string implementation (i.e., nsTString).

initialize the pointer to the canonical vtable...

Definition at line 52 of file nsTObsoleteAString.h.


The documentation for this class was generated from the following files: