Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsSupportsDependentCString Class Reference

#include <nsSupportsPrimitives.h>

Inheritance diagram for nsSupportsDependentCString:

nsISupportsCString nsISupportsPrimitive nsISupports

List of all members.

Detailed Description

Wraps a static const char* buffer for use with nsISupportsCString

Only use this class with static buffers, or arena-allocated buffers of permanent lifetime!

Definition at line 343 of file nsSupportsPrimitives.h.

Public Member Functions

nsSupportsDependentCString (const char *aStr)
string toString ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

attribute ACString data
readonly attribute unsigned short type
const unsigned short TYPE_CHAR = 10
const unsigned short TYPE_CSTRING = 2
const unsigned short TYPE_DOUBLE = 15
const unsigned short TYPE_FLOAT = 14
const unsigned short TYPE_ID = 1
const unsigned short TYPE_INTERFACE_POINTER = 17
const unsigned short TYPE_PRBOOL = 4
const unsigned short TYPE_PRINT16 = 11
const unsigned short TYPE_PRINT32 = 12
const unsigned short TYPE_PRINT64 = 13
const unsigned short TYPE_PRTIME = 9
const unsigned short TYPE_PRUINT16 = 6
const unsigned short TYPE_PRUINT32 = 7
const unsigned short TYPE_PRUINT64 = 8
const unsigned short TYPE_PRUINT8 = 5
const unsigned short TYPE_STRING = 3
const unsigned short TYPE_VOID = 16

Private Attributes

nsDependentCString mData

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

Generated by  Doxygen 1.6.0   Back to index