#include <llparcelselection.h>
Public Member Functions | |
LLParcelSelection (LLParcel *parcel) | |
LLParcelSelection () | |
LLParcel * | getParcel () |
S32 | getSelfCount () const |
S32 | getClaimableArea () const |
bool | hasOthersSelected () const |
BOOL | getMultipleOwners () const |
BOOL | getWholeParcelSelected () const |
Static Public Member Functions | |
static LLParcelSelection * | getNullParcelSelection () |
Protected Member Functions | |
~LLParcelSelection () | |
Private Member Functions | |
void | setParcel (LLParcel *parcel) |
Private Attributes | |
LLParcel * | mParcel |
BOOL | mSelectedMultipleOwners |
BOOL | mWholeParcelSelected |
S32 | mSelectedSelfCount |
S32 | mSelectedOtherCount |
S32 | mSelectedPublicCount |
Static Private Attributes | |
static LLPointer < LLParcelSelection > | sNullSelection |
Friends | |
class | LLViewerParcelMgr |
Definition at line 39 of file llparcelselection.h.
LLParcelSelection::~LLParcelSelection | ( | ) | [protected] |
Definition at line 69 of file llparcelselection.cpp.
LLParcelSelection::LLParcelSelection | ( | LLParcel * | parcel | ) |
Definition at line 59 of file llparcelselection.cpp.
LLParcelSelection::LLParcelSelection | ( | ) |
Definition at line 49 of file llparcelselection.cpp.
LLParcel* LLParcelSelection::getParcel | ( | ) | [inline] |
S32 LLParcelSelection::getSelfCount | ( | ) | const [inline] |
S32 LLParcelSelection::getClaimableArea | ( | ) | const |
Definition at line 85 of file llparcelselection.cpp.
References mSelectedPublicCount, PARCEL_GRID_STEP_METERS, and S32.
bool LLParcelSelection::hasOthersSelected | ( | ) | const |
BOOL LLParcelSelection::getMultipleOwners | ( | ) | const |
BOOL LLParcelSelection::getWholeParcelSelected | ( | ) | const |
LLParcelSelection * LLParcelSelection::getNullParcelSelection | ( | ) | [static] |
Definition at line 97 of file llparcelselection.cpp.
References LLPointer< Type >::isNull(), and sNullSelection.
void LLParcelSelection::setParcel | ( | LLParcel * | parcel | ) | [inline, private] |
friend class LLViewerParcelMgr [friend] |
Definition at line 41 of file llparcelselection.h.
LLParcel* LLParcelSelection::mParcel [private] |
BOOL LLParcelSelection::mWholeParcelSelected [private] |
S32 LLParcelSelection::mSelectedSelfCount [private] |
S32 LLParcelSelection::mSelectedOtherCount [private] |
S32 LLParcelSelection::mSelectedPublicCount [private] |
LLPointer< LLParcelSelection > LLParcelSelection::sNullSelection [static, private] |
Definition at line 81 of file llparcelselection.h.
Referenced by LLViewerParcelMgr::cleanupGlobals(), and getNullParcelSelection().