Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Private Attributes
nsFileCharSink< CharT > Class Template Reference

#include <nsStringIO.h>

List of all members.

Public Types

typedef CharT value_type

Public Member Functions

 nsFileCharSink (FILE *aOutputFile)
PRUint32 write (const value_type *s, PRUint32 n)

Private Attributes


Detailed Description

template<class CharT>
class nsFileCharSink< CharT >

Definition at line 47 of file nsStringIO.h.

Member Typedef Documentation

template<class CharT>
typedef CharT nsFileCharSink< CharT >::value_type

Definition at line 50 of file nsStringIO.h.

Constructor & Destructor Documentation

template<class CharT>
nsFileCharSink< CharT >::nsFileCharSink ( FILE aOutputFile) [inline]

Definition at line 53 of file nsStringIO.h.

: mOutputFile(aOutputFile) { }

Member Function Documentation

template<class CharT>
PRUint32 nsFileCharSink< CharT >::write ( const value_type s,
PRUint32  n 
) [inline]

Definition at line 56 of file nsStringIO.h.

          return fwrite(s, sizeof(CharT), n, mOutputFile);

Here is the call graph for this function:

Member Data Documentation

template<class CharT>
FILE* nsFileCharSink< CharT >::mOutputFile [private]

Definition at line 62 of file nsStringIO.h.

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