FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | List of all members
Fiber::FragmentSelector Class Referenceabstract

Abstract base class to select a certain subset from a Field's collection of fragments. More...

#include <FragmentSelector.hpp>

Inheritance diagram for Fiber::FragmentSelector:
MemCore::ReferenceBase< FragmentSelector > MemCore::Ageable

Public Member Functions

 FragmentSelector ()
 Constructor.
 
 ~FragmentSelector ()
 Destructor.
 
virtual bool contains (CreativeArrayBase &CAB, RefPtr< FragmentID > fid)=0
 Coarse evaluation: Check if this field may fullfill the selection criteria as entity.
 
- Public Member Functions inherited from MemCore::ReferenceBase< FragmentSelector >
auto getObjectCountID () const noexcept
 
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
 
void mkAutoDestructive ()
 
refcount_t refcount () const noexcept
 
 ReferenceBase (Object *that) noexcept
 
const auto & self () const
 
refcount_t wrefcount () const noexcept
 
- Public Member Functions inherited from MemCore::Ageable
constexpr Ageable (age_t t) noexcept
 
constexpr Ageable (const Ageable &A) noexcept
 
 Ageable (const volatile Ageable &A) noexcept
 
constexpr const AgeablegetAge () const
 
bool isNewerThan (const Ageable &a) const noexcept
 
bool isOlderThan (const Ageable &a) const noexcept
 
bool isYoungerThan (const Ageable &a) const noexcept
 
bool operator!= (const Ageable &a) const noexcept
 
bool operator< (const Ageable &a) const noexcept
 
bool operator<= (const Ageable &a) const noexcept
 
bool operator<= (const volatile Ageable &a) const volatile noexcept
 
bool operator== (const Ageable &a) const noexcept
 
bool operator> (const Ageable &a) const noexcept
 
bool operator> (const volatile Ageable &a) const volatile
 
bool operator>= (const Ageable &a) const noexcept
 
bool operator>= (const volatile Ageable &a) const volatile noexcept
 
constexpr void resetAge () noexcept
 
void setInfinitelyNew () noexcept
 
age_t time_value () const noexcept
 
age_t time_value () const volatile noexcept
 
Ageabletouch () noexcept
 
age_t update (age_t age) noexcept
 
age_t update (const Ageable &Other) noexcept
 
age_t update (const volatile Ageable &Other) volatile noexcept
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< FragmentSelector >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Static Public Member Functions inherited from MemCore::Ageable
static const AgeableInfinitelyNew () noexcept
 
static constexpr const AgeableInfinitelyOld () noexcept
 
static age_t now () noexcept
 
- Protected Member Functions inherited from MemCore::ReferenceBase< FragmentSelector >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 

Detailed Description

Abstract base class to select a certain subset from a Field's collection of fragments.

Member Function Documentation

◆ contains()

virtual bool Fiber::FragmentSelector::contains ( CreativeArrayBase CAB,
RefPtr< FragmentID fid 
)
pure virtual

Coarse evaluation: Check if this field may fullfill the selection criteria as entity.

May for instance check interfaces or attributes on the given fragment, like the min/max range.

Parameters
CABA container that holds array attributes, and may eventually create data as well.