Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Member Functions
orkinCompare Class Reference

#include <orkinCompare.h>

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

List of all members.

Public Member Functions

 orkinCompare ()
virtual ~orkinCompare ()
NS_IMETHOD Order (nsIMdbEnv *ev, const mdbYarn *inFirst, const mdbYarn *inSecond, mdb_order *outOrder)
NS_IMETHOD AddStrongRef (nsIMdbEnv *ev)
NS_IMETHOD CutStrongRef (nsIMdbEnv *ev)

Private Member Functions

 orkinCompare (const orkinCompare &other)
orkinCompareoperator= (const orkinCompare &other)

Detailed Description

Definition at line 53 of file orkinCompare.h.


Constructor & Destructor Documentation

Definition at line 57 of file orkinCompare.cpp.

{
}

Definition at line 62 of file orkinCompare.cpp.

{
}

Member Function Documentation

Implements nsIMdbCompare.

Definition at line 132 of file orkinCompare.cpp.

{
  MORK_USED_1(ev);
  return 0;
}

Implements nsIMdbCompare.

Definition at line 139 of file orkinCompare.cpp.

{
  MORK_USED_1(ev);
  return 0;
}
orkinCompare& orkinCompare::operator= ( const orkinCompare other) [private]
mdb_err orkinCompare::Order ( nsIMdbEnv ev,
const mdbYarn inFirst,
const mdbYarn inSecond,
mdb_order outOrder 
) [virtual]

Implements nsIMdbCompare.

Definition at line 109 of file orkinCompare.cpp.

{
  mdb_err outErr = 1; // nonzero means FAILURE

  morkEnv* ev = morkEnv::FromMdbEnv(mev);
  if ( ev )
  {
    if ( inFirst && inSecond && outOrder )
    {
      *outOrder = mdbYarn_Order(inFirst, ev, inSecond);
    }
    else
      ev->NilPointerError();

    outErr = ev->AsErr();
  }
  return outErr;
}

Here is the call graph for this function:


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