DATAKIT API  V2025.1
Dtk_SelectionDataSet Class Referenceabstract
+ Inheritance diagram for Dtk_SelectionDataSet:

Public Member Functions

Dtk_Size_t AddSelectionSet (const Dtk_SelectionSetPtr &inSelectionSet)
 Adds a Dtk_SelectionSetPtr to the selection sets pool. More...
 
Dtk_Int32 DtkDynamicType (const Dtk_Int32 &inId)
 Retrieves the dynamic entity type. More...
 
virtual int DtkDynamicType (const int &inId)=0
 
virtual void dump (FILE *file=stdout)
 
type_detk get_type_detk () const
 
Dtk_Size_t GetNumSelectionSets () const
 Retrieves the number of Selection sets. More...
 
Dtk_SelectionSetPtr GetSelectionSetByPos (const Dtk_Size_t inPos) const
 Retrieves the ith Dtk_SelectionSetPtr giving its index. More...
 
virtual Dtk_Size_t GetSize () const
 

Static Public Member Functions

static Dtk_SelectionDataSetPtr Create ()
 Base constructor. More...
 
static Dtk_SelectionDataSetDtkDynamicCast (Dtk_Object *s)
 Performs a dynamic cast - doesn't need RTTI -. More...
 

Protected Types

enum  { _typeID = DTK_TYPE_SELECTION_DATA_SET }
 

Protected Member Functions

void _copy (const Dtk_Object &s)
 
void _init ()
 
void _reset ()
 
virtual Dtk_ObjectClone ()
 
 Dtk_SelectionDataSet ()
 
 Dtk_SelectionDataSet (const Dtk_SelectionDataSet &s)
 
 ~Dtk_SelectionDataSet ()
 Destructor. More...
 

Protected Attributes

Dtk_Handle * _Private
 
unsigned long count_
 

Friends

class Dtk_SmartPtr< Dtk_SelectionDataSet >
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
_typeID 

Constructor & Destructor Documentation

◆ Dtk_SelectionDataSet() [1/2]

Dtk_SelectionDataSet::Dtk_SelectionDataSet ( )
protected
See also
Create()

◆ Dtk_SelectionDataSet() [2/2]

Dtk_SelectionDataSet::Dtk_SelectionDataSet ( const Dtk_SelectionDataSet s)
protected
See also
Create(const Dtk_SelectionDataSet&)

◆ ~Dtk_SelectionDataSet()

Dtk_SelectionDataSet::~Dtk_SelectionDataSet ( )
protected

Destructor.

Member Function Documentation

◆ _copy()

void Dtk_Object::_copy ( const Dtk_Object s)
protectedinherited

◆ _init()

void Dtk_Object::_init ( )
protectedinherited

◆ _reset()

void Dtk_Object::_reset ( )
protectedinherited

◆ AddSelectionSet()

Dtk_Size_t Dtk_SelectionDataSet::AddSelectionSet ( const Dtk_SelectionSetPtr inSelectionSet)

Adds a Dtk_SelectionSetPtr to the selection sets pool.

Parameters
inSelectionSetThe Dtk_SelectionSetPtr to be added.
Returns
the Dtk_SelectionSetPtr index.

◆ Clone()

virtual Dtk_Object* Dtk_SelectionDataSet::Clone ( )
protectedvirtual
22 { return new Dtk_SelectionDataSet(*this); }

◆ Create()

static Dtk_SelectionDataSetPtr Dtk_SelectionDataSet::Create ( )
static

Base constructor.

◆ DtkDynamicCast()

static Dtk_SelectionDataSet* Dtk_SelectionDataSet::DtkDynamicCast ( Dtk_Object s)
static

Performs a dynamic cast - doesn't need RTTI -.

◆ DtkDynamicType() [1/2]

Dtk_Int32 Dtk_SelectionDataSet::DtkDynamicType ( const Dtk_Int32 inId)

Retrieves the dynamic entity type.

◆ DtkDynamicType() [2/2]

◆ dump()

virtual void Dtk_Object::dump ( FILE *  file = stdout)
virtualinherited

◆ get_type_detk()

type_detk Dtk_SelectionDataSet::get_type_detk ( ) const
Returns
The type of the entity type - DTK_TYPE_SELECTION_DATA_SET -

◆ GetNumSelectionSets()

Dtk_Size_t Dtk_SelectionDataSet::GetNumSelectionSets ( ) const

Retrieves the number of Selection sets.

Returns
the number of Selection sets.

◆ GetSelectionSetByPos()

Dtk_SelectionSetPtr Dtk_SelectionDataSet::GetSelectionSetByPos ( const Dtk_Size_t  inPos) const

Retrieves the ith Dtk_SelectionSetPtr giving its index.

Parameters
inPosindex of the Dtk_SelectionSetPtr.
Returns
the ith Dtk_SelectionSetPtr.

◆ GetSize()

Friends And Related Function Documentation

◆ Dtk_SmartPtr< Dtk_SelectionDataSet >

friend class Dtk_SmartPtr< Dtk_SelectionDataSet >
friend

Field Documentation

◆ _Private

Dtk_Handle* Dtk_SelectionDataSet::_Private
protected

◆ count_

unsigned long Dtk_Object::count_
protectedinherited
DTK_TYPE_SELECTION_DATA_SET
@ DTK_TYPE_SELECTION_DATA_SET
Definition: define.h:455
Dtk_SelectionDataSet::_typeID
@ _typeID
Definition: dtk_global_data_set.hpp:27
Dtk_SelectionDataSet::Dtk_SelectionDataSet
Dtk_SelectionDataSet()