sbLocalDatabaseSmartMediaListCondition Class Reference

#include <sbLocalDatabaseSmartMediaList.h>

Inheritance diagram for sbLocalDatabaseSmartMediaListCondition:
[legend]
Collaboration diagram for sbLocalDatabaseSmartMediaListCondition:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBILOCALDATABASESMARTMEDIALISTCONDITION 
sbLocalDatabaseSmartMediaListCondition (const nsAString &aPropertyID, const nsAString &aOperatorString, const nsAString &aLeftValue, const nsAString &aRightValue, const nsAString &aDisplayUnit)
 
virtual ~sbLocalDatabaseSmartMediaListCondition ()
 
nsresult ToString (nsAString &_retval)
 

Protected Attributes

PRLock * mLock
 
nsString mPropertyID
 
nsString mOperatorString
 
nsString mLeftValue
 
nsString mRightValue
 
nsString mDisplayUnit
 

Friends

class sbLocalDatabaseSmartMediaList
 

Additional Inherited Members

- Public Attributes inherited from sbILocalDatabaseSmartMediaListCondition
readonly attribute AString propertyID
 The ID of the property used in this condition. More...
 
readonly attribute
sbIPropertyOperator 
operator
 The operator used in this condition. More...
 
readonly attribute AString leftValue
 The left value for this condition. Only the operator BETWEEN requires a rightValue as well. More...
 
readonly attribute AString rightValue
 The right value for this condition. This value is only used in conjunction with the BETWEEN operator. Trying to set this value when using a different operator will not fail but will be ignored. More...
 
readonly attribute AString displayUnit
 The unit used to display the left and right values for this condition. This is purely for display purposes, as the values are always internally using the property's native unit. For instance, the contentLengh property is recorded in bytes, but kB, MB, or GB may be used as a display unit. More...
 

Detailed Description

Definition at line 97 of file sbLocalDatabaseSmartMediaList.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBILOCALDATABASESMARTMEDIALISTCONDITION sbLocalDatabaseSmartMediaListCondition::sbLocalDatabaseSmartMediaListCondition ( const nsAString &  aPropertyID,
const nsAString &  aOperatorString,
const nsAString &  aLeftValue,
const nsAString &  aRightValue,
const nsAString &  aDisplayUnit 
)
sbLocalDatabaseSmartMediaListCondition::~sbLocalDatabaseSmartMediaListCondition ( )
virtual

Definition at line 247 of file sbLocalDatabaseSmartMediaList.cpp.

Member Function Documentation

nsresult sbLocalDatabaseSmartMediaListCondition::ToString ( nsAString &  _retval)

Definition at line 321 of file sbLocalDatabaseSmartMediaList.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class sbLocalDatabaseSmartMediaList
friend

Definition at line 99 of file sbLocalDatabaseSmartMediaList.h.

Member Data Documentation

nsString sbLocalDatabaseSmartMediaListCondition::mDisplayUnit
protected

Definition at line 122 of file sbLocalDatabaseSmartMediaList.h.

nsString sbLocalDatabaseSmartMediaListCondition::mLeftValue
protected

Definition at line 120 of file sbLocalDatabaseSmartMediaList.h.

PRLock* sbLocalDatabaseSmartMediaListCondition::mLock
protected

Definition at line 115 of file sbLocalDatabaseSmartMediaList.h.

nsString sbLocalDatabaseSmartMediaListCondition::mOperatorString
protected

Definition at line 118 of file sbLocalDatabaseSmartMediaList.h.

nsString sbLocalDatabaseSmartMediaListCondition::mPropertyID
protected

Definition at line 117 of file sbLocalDatabaseSmartMediaList.h.

nsString sbLocalDatabaseSmartMediaListCondition::mRightValue
protected

Definition at line 121 of file sbLocalDatabaseSmartMediaList.h.


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