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

Base class for Fiber-specific creation preferences that know how to deal with types. More...

#include <TypedCreationPreferences.hpp>

Inheritance diagram for Wizt::TypedCreationPreferencesBase:
Wizt::VCreationPreferences MemCore::Interface< VCreationPreferences > MemCore::InterfaceBase MemCore::ReferenceBase< InterfaceBase > Wizt::TypedCreationPreferences< T > Wizt::TypedCreationPreferences< META::LIST< T... > >

Public Member Functions

int getAcceptTypes (Fiber::TypeList_t &AcceptedFields) const
 Virtual function that defines which field types are acceptable here for this creation preferences.
 
virtual int AcceptTypes (Fiber::TypeList_t &AcceptedFields) const =0
 Virtual function that defines which field types are acceptable here for this creation preferences.
 
- Public Member Functions inherited from Wizt::VCreationPreferences
bool contains (const string &p) const
 
VCreationPreferencesoperator+= (const string &p)
 
size_t size () const
 
 VCreationPreferences (const std::initializer_list< const char * > &)
 
 VCreationPreferences (const std::initializer_list< string > &)
 
 VCreationPreferences (const string &p1)
 
 VCreationPreferences (const string &p1, const string &p2)
 
 VCreationPreferences (const string &p1, const string &p2, const string &p3)
 
 VCreationPreferences (const VCreationPreferences &A, const VCreationPreferences &B)
 
 VCreationPreferences (const VCreationPreferences &VP)
 
 VCreationPreferences (const VCreationPreferencesPtr &VP)
 
double weight (const string &p) const
 
double weight (const VCreationPreferences &) const
 
- Public Member Functions inherited from MemCore::Interface< VCreationPreferences >
const type_info & getInterfaceDomain () const
 
- Public Member Functions inherited from MemCore::InterfaceBase
virtual bool apply (Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 
virtual bool apply_const (const Intercube &I, const RefPtr< InterfaceIterationParameter > &)
 
- Public Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
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
 

Additional Inherited Members

- Public Types inherited from MemCore::Interface< VCreationPreferences >
typedef Domain InterfaceDomain_t
 
- Public Types inherited from MemCore::ReferenceBase< InterfaceBase >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Protected Member Functions inherited from MemCore::ReferenceBase< InterfaceBase >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 

Detailed Description

Base class for Fiber-specific creation preferences that know how to deal with types.

Typed creation preferences are used by class FieldObject to specify on which types it should act on, meaning which types it shall extract from a Grid object for user selection. This Creation Preference is fully dynamic and can be specified at runtime whereas the same class FieldObject may be used to perform the actual selection on types that it does not know by itself.

Author
Werner Benger

Member Function Documentation

◆ AcceptTypes()

virtual int Wizt::TypedCreationPreferencesBase::AcceptTypes ( Fiber::TypeList_t AcceptedFields) const
pure virtual

Virtual function that defines which field types are acceptable here for this creation preferences.

Implemented in Wizt::TypedCreationPreferences< T >, and Wizt::TypedCreationPreferences< META::LIST< T... > >.