Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsAbDirectoryQueryResult Class Reference

#include <nsAbDirectoryQuery.h>

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

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIABDIRECTORYQUERYRESULT 
nsAbDirectoryQueryResult ()
 nsAbDirectoryQueryResult (PRInt32 aContextID, nsIAbDirectoryQueryArguments *aContextArgs, PRInt32 aType, nsCOMPtr< nsISupportsArray > aResult)
virtual ~nsAbDirectoryQueryResult ()
void agetResult (out unsigned long aResultSize,[retval, array, size_is(aResultSize)] out nsISupports aResultArray)
 result attribute defined explicitly as an array of nsISupport interfaces

Public Attributes

readonly attribute long contextID
 The context ID of the query.
readonly attribute
nsIAbDirectoryQueryArguments 
contextArgs
 The context of the query which corresponds to the arguments that define the query.
const long queryResultMatch = 0
 List of defined query results.
const long queryResultComplete = 1
const long queryResultStopped = 2
const long queryResultError = 3
readonly attribute long type
 The type of result.
readonly attribute nsISupportsArray result
 The result of a singular match for a card.

Protected Attributes

PRInt32 mContextID
nsCOMPtr
< nsIAbDirectoryQueryArguments
mContextArgs
PRInt32 mType
nsCOMPtr< nsISupportsArraymResult

Detailed Description

Definition at line 100 of file nsAbDirectoryQuery.h.


Constructor & Destructor Documentation

Definition at line 279 of file nsAbDirectoryQuery.cpp.

Definition at line 285 of file nsAbDirectoryQuery.cpp.

{
    mContextID = aContextID;
    mContextArgs = aContextArgs;
    mType = aType;
    mResult = aResult;
}

Definition at line 296 of file nsAbDirectoryQuery.cpp.

{
}

Member Function Documentation

void nsIAbDirectoryQueryResult::agetResult ( out unsigned long  aResultSize,
[retval, array, size_is(aResultSize)] out nsISupports  aResultArray 
) [inherited]

result attribute defined explicitly as an array of nsISupport interfaces

  

Member Data Documentation

The context of the query which corresponds to the arguments that define the query.

  

Definition at line 141 of file nsIAbDirectoryQuery.idl.

The context ID of the query.

  

Definition at line 133 of file nsIAbDirectoryQuery.idl.

Definition at line 115 of file nsAbDirectoryQuery.h.

Definition at line 114 of file nsAbDirectoryQuery.h.

Definition at line 117 of file nsAbDirectoryQuery.h.

Definition at line 116 of file nsAbDirectoryQuery.h.

Definition at line 148 of file nsIAbDirectoryQuery.idl.

Definition at line 150 of file nsIAbDirectoryQuery.idl.

List of defined query results.

  

Definition at line 147 of file nsIAbDirectoryQuery.idl.

Definition at line 149 of file nsIAbDirectoryQuery.idl.

The result of a singular match for a card.

Only valid when the attribute type is of 'query match'

nsISupportsArray<nsIAbDirectoryQueryPropertyValue> Multiple entries corresponding to card properties nsISupportsArray<nsIAbCard> Only one entry makese sense

Definition at line 173 of file nsIAbDirectoryQuery.idl.

The type of result.

Identifies a query entry, the query has finished or that an error has occured

Definition at line 158 of file nsIAbDirectoryQuery.idl.


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