#include <C4FindObject.h>
Public Member Functions | |
C4FindObjectAnd (int32_t iCnt, C4FindObject **ppConds, bool fFreeArray=true) | |
~C4FindObjectAnd () override | |
int32_t | Count (const C4ObjectList &Objs) |
int32_t | Count (const C4ObjectList &Objs, const C4LSectors &Sct) |
C4Object * | Find (const C4ObjectList &Objs) |
C4Object * | Find (const C4ObjectList &Objs, const C4LSectors &Sct) |
C4ValueArray * | FindMany (const C4ObjectList &Objs) |
C4ValueArray * | FindMany (const C4ObjectList &Objs, const C4LSectors &Sct) |
void | SetSort (C4SortObject *pToSort) |
Static Public Member Functions | |
static C4FindObject * | CreateByValue (const C4Value &Data, C4SortObject **ppSortObj=nullptr, const C4Object *context=nullptr, bool *has_layer_check=nullptr) |
Protected Member Functions | |
bool | Check (C4Object *pObj) override |
C4Rect * | GetBounds () override |
bool | UseShapes () override |
bool | IsEnsured () override |
bool | IsImpossible () override |
void | ForgetConditions () |
Definition at line 119 of file C4FindObject.h.
C4FindObjectAnd::C4FindObjectAnd | ( | int32_t | iCnt, |
C4FindObject ** | ppConds, | ||
bool | fFreeArray = true |
||
) |
Definition at line 520 of file C4FindObject.cpp.
References C4FindObject::GetBounds(), iCnt, C4Rect::Intersect(), IsEnsured(), C4FindObject::UseShapes(), and UseShapes().
|
override |
Definition at line 557 of file C4FindObject.cpp.
|
overrideprotectedvirtual |
|
inherited |
Definition at line 260 of file C4FindObject.cpp.
References C4FindObject::Check(), C4FindObject::IsEnsured(), C4FindObject::IsImpossible(), and C4ObjectList::ObjectCount().
Referenced by C4FindObject::Count().
|
inherited |
Definition at line 327 of file C4FindObject.cpp.
References C4FindObject::Check(), C4FindObject::Count(), C4LArea::FirstObjects(), C4LArea::FirstObjectShapes(), C4FindObject::GetBounds(), C4GameObjects::GetNextMarker(), C4FindObject::IsEnsured(), C4FindObject::IsImpossible(), C4LArea::Next(), C4LArea::NextObjects(), C4LArea::NextObjectShapes(), C4ObjectList::ObjectCount(), Objects, C4LSector::ObjectShapes, C4GameObjects::Sectors, and C4FindObject::UseShapes().
|
staticinherited |
Definition at line 33 of file C4FindObject.cpp.
References C4FindObject::C4FindObjectAnd, C4FindObject::C4FindObjectNot, C4FindObject::C4FindObjectOr, C4FO_Action, C4FO_ActionTarget, C4FO_And, C4FO_AnyContainer, C4FO_AnyLayer, C4FO_AtPoint, C4FO_AtRect, C4FO_Category, C4FO_Cone, C4FO_Container, C4FO_Controller, C4FO_Distance, C4FO_Exclude, C4FO_Func, C4FO_ID, C4FO_InArray, C4FO_InRect, C4FO_Layer, C4FO_Not, C4FO_OCF, C4FO_OnLine, C4FO_Or, C4FO_Owner, C4FO_Procedure, C4FO_Property, C4SO_First, C4SO_Last, Clamp(), C4SortObject::CreateByValue(), C4Value::getArray(), C4String::GetCStr(), C4ValueArray::GetSize(), C4Object::GetX(), C4Object::GetY(), iSize, and C4FindObjectFunc::SetPar().
Referenced by CreateCriterionsFromPars().
|
inherited |
Definition at line 275 of file C4FindObject.cpp.
References C4FindObject::Check(), C4SortObject::Compare(), and C4FindObject::IsImpossible().
Referenced by C4FindObject::Find().
|
inherited |
Definition at line 371 of file C4FindObject.cpp.
References C4SortObject::Compare(), C4FindObject::Find(), C4LArea::FirstObjects(), C4LArea::FirstObjectShapes(), C4FindObject::GetBounds(), C4FindObject::IsImpossible(), C4LArea::NextObjects(), C4LArea::NextObjectShapes(), Objects, C4GameObjects::Sectors, C4PropList::Status, and C4FindObject::UseShapes().
|
inherited |
Definition at line 299 of file C4FindObject.cpp.
References C4VObj(), C4FindObject::Check(), C4ValueArray::GetSize(), C4FindObject::IsImpossible(), iSize, C4ValueArray::SetSize(), and C4SortObject::SortObjects().
Referenced by C4EditCursor::DoContextMenu(), C4FindObject::FindMany(), and C4Landscape::P::PrepareFreeShape().
|
inherited |
Definition at line 416 of file C4FindObject.cpp.
References C4VObj(), C4FindObject::Check(), C4FindObject::FindMany(), C4LArea::FirstObjects(), C4LArea::FirstObjectShapes(), C4FindObject::GetBounds(), C4GameObjects::GetNextMarker(), C4ValueArray::GetSize(), C4FindObject::IsImpossible(), iSize, C4LArea::Next(), C4LArea::NextObjects(), C4LArea::NextObjectShapes(), Objects, C4LSector::ObjectShapes, C4GameObjects::Sectors, C4ValueArray::SetSize(), C4SortObject::SortObjects(), and C4FindObject::UseShapes().
|
inlineprotected |
Definition at line 134 of file C4FindObject.h.
References iCnt.
Referenced by C4FindObjectAndStatic::~C4FindObjectAndStatic().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4FindObject.
Definition at line 130 of file C4FindObject.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from C4FindObject.
Definition at line 132 of file C4FindObject.h.
References iCnt.
Referenced by C4FindObjectAnd().
|
overrideprotectedvirtual |
|
inherited |
Definition at line 499 of file C4FindObject.cpp.
Referenced by CreateCriterionsFromPars().
|
inlineoverrideprotectedvirtual |
Reimplemented from C4FindObject.
Definition at line 131 of file C4FindObject.h.
Referenced by C4FindObjectAnd().