Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
xpcTestObjectReadWrite Class Reference
Inheritance diagram for xpcTestObjectReadWrite:
Inheritance graph
[legend]
Collaboration diagram for xpcTestObjectReadWrite:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIXPCTESTOBJECTREADWRITE 
xpcTestObjectReadWrite ()

Public Attributes

attribute boolean booleanProperty

Private Attributes

PRBool boolProperty
PRInt16 shortProperty
PRInt32 longProperty
float floatProperty
char charProperty
const char * stringProperty

Detailed Description

Definition at line 146 of file xpctest_attributes.cpp.


Constructor & Destructor Documentation

Definition at line 164 of file xpctest_attributes.cpp.

                                                 {
    NS_ADDREF_THIS();


    boolProperty = PR_TRUE;
    shortProperty = 32767;
    longProperty =  2147483647;
    charProperty = 'X';

    const char s[] = "XPConnect Read-Writable String";
    stringProperty = (char*) nsMemory::Clone(s, 
                                                sizeof(char)*(strlen(s)+1));
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 62 of file xpctest_attributes.idl.

Definition at line 154 of file xpctest_attributes.cpp.

Implements nsIXPCTestObjectReadWrite.

Definition at line 158 of file xpctest_attributes.cpp.

Implements nsIXPCTestObjectReadWrite.

Definition at line 157 of file xpctest_attributes.cpp.

Implements nsIXPCTestObjectReadWrite.

Definition at line 156 of file xpctest_attributes.cpp.

Implements nsIXPCTestObjectReadWrite.

Definition at line 155 of file xpctest_attributes.cpp.

Implements nsIXPCTestObjectReadWrite.

Definition at line 159 of file xpctest_attributes.cpp.


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