#include <C4FindObject.h>
Public Member Functions | |
C4FindObjectCategory (int32_t iCategory) | |
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 |
bool | IsEnsured () override |
virtual C4Rect * | GetBounds () |
virtual bool | UseShapes () |
virtual bool | IsImpossible () |
Definition at line 278 of file C4FindObject.h.
|
inline |
Definition at line 281 of file C4FindObject.h.
|
overrideprotectedvirtual |
Implements C4FindObject.
Definition at line 710 of file C4FindObject.cpp.
References C4Object::Category.
|
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().
|
inlineprotectedvirtualinherited |
Reimplemented in C4FindObjectCone, C4FindObjectDistance, C4FindObjectOnLine, C4FindObjectAtRect, C4FindObjectAtPoint, C4FindObjectInRect, C4FindObjectOr, and C4FindObjectAnd.
Definition at line 95 of file C4FindObject.h.
Referenced by C4FindObjectAnd::C4FindObjectAnd(), C4FindObjectOr::C4FindObjectOr(), C4FindObject::Count(), C4FindObject::Find(), and C4FindObject::FindMany().
|
overrideprotectedvirtual |
Reimplemented from C4FindObject.
Definition at line 715 of file C4FindObject.cpp.
|
inlineprotectedvirtualinherited |
Reimplemented in C4FindObjectInArray, C4FindObjectLayer, C4FindObjectProperty, C4FindObjectFunc, C4FindObjectController, C4FindObjectOwner, C4FindObjectProcedure, C4FindObjectOCF, C4FindObjectInRect, C4FindObjectDef, C4FindObjectOr, C4FindObjectAnd, and C4FindObjectNot.
Definition at line 97 of file C4FindObject.h.
Referenced by C4FindObject::Count(), C4FindObject::Find(), C4FindObject::FindMany(), and C4FindObjectNot::IsEnsured().
|
inherited |
Definition at line 499 of file C4FindObject.cpp.
Referenced by CreateCriterionsFromPars().
|
inlineprotectedvirtualinherited |
Reimplemented in C4FindObjectOnLine, C4FindObjectAtRect, C4FindObjectAtPoint, C4FindObjectOr, and C4FindObjectAnd.
Definition at line 96 of file C4FindObject.h.
Referenced by C4FindObjectAnd::C4FindObjectAnd(), C4FindObjectOr::C4FindObjectOr(), C4FindObject::Count(), C4FindObject::Find(), and C4FindObject::FindMany().