Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Member Functions | Private Attributes | List of all members
KTExtensibleStruct< XInstanceType, XBaseType > Struct Template Reference

#include <KTExtensibleStruct.hh>

Inheritance diagram for KTExtensibleStruct< XInstanceType, XBaseType >:
Inheritance graph

Public Member Functions

 KTExtensibleStruct (void)
 Default constructor. More...
 
 KTExtensibleStruct (const KTExtensibleStruct &object)
 Copy constructor; duplicates the extended object. More...
 
virtual ~KTExtensibleStruct ()
 
KTExtensibleStructoperator= (const KTExtensibleStruct &object)
 Duplicates the extended object. More...
 
virtual KTExtensibleStructCore< XBaseType > * Clone (void) const
 Duplicates the extended object. More...
 
virtual void Pull (const KTExtensibleStructCore< XBaseType > &object)
 Duplicates object only. More...
 
void SetIsCopyDisabled (bool flag)
 
- Public Member Functions inherited from KTExtensibleStructCore< XBaseType >
 KTExtensibleStructCore (void)
 Default constructor. More...
 
 KTExtensibleStructCore (const KTExtensibleStructCore &)
 Copy constructor; duplicates the extended object. More...
 
virtual ~KTExtensibleStructCore ()
 
KTExtensibleStructCoreoperator= (const KTExtensibleStructCore &)
 Duplicates the extended object. More...
 
virtual void Clear (void)
 Removes extended fields. More...
 
template<class XStructType >
XStructType & Of (void)
 Returns a reference to the object of type XStructType; creates that object if it doesn't exist. More...
 
template<class XStructType >
const XStructType & Of (void) const
 Returns a const reference to the object of type XStructType; creates that object if it doesn't exist. More...
 
template<class XStructType >
bool Has (void) const
 Returns true if XStructType is or is below this object. More...
 
template<class XStructType >
XStructType * Detatch (void)
 Extracts object of type XStructType. More...
 
KTExtensibleStructCoreNext () const
 Returns the pointer to the next field. More...
 
KTExtensibleStructCorePrev () const
 Returns the pointer to the previous field. More...
 
KTExtensibleStructCoreLast () const
 Returns the pointer to the last field. More...
 
KTExtensibleStructCoreFirst () const
 Returns the pointer to the first field. More...
 

Private Attributes

bool fIsCopyDisabled
 

Additional Inherited Members

- Protected Member Functions inherited from KTExtensibleStructCore< XBaseType >
void SetPrevPtrInNext ()
 
- Protected Attributes inherited from KTExtensibleStructCore< XBaseType >
KTExtensibleStructCorefNext
 
KTExtensibleStructCorefPrev
 

Detailed Description

template<class XInstanceType, class XBaseType>
struct Nymph::KTExtensibleStruct< XInstanceType, XBaseType >

Definition at line 63 of file KTExtensibleStruct.hh.

Constructor & Destructor Documentation

◆ KTExtensibleStruct() [1/2]

KTExtensibleStruct ( void  )

Default constructor.

Definition at line 237 of file KTExtensibleStruct.hh.

◆ KTExtensibleStruct() [2/2]

KTExtensibleStruct ( const KTExtensibleStruct< XInstanceType, XBaseType > &  object)

Copy constructor; duplicates the extended object.

◆ ~KTExtensibleStruct()

~KTExtensibleStruct ( )
virtual

Definition at line 243 of file KTExtensibleStruct.hh.

Member Function Documentation

◆ Clone()

KTExtensibleStructCore< XBaseType > * Clone ( void  ) const
virtual

Duplicates the extended object.

Implements KTExtensibleStructCore< XBaseType >.

Definition at line 284 of file KTExtensibleStruct.hh.

◆ operator=()

KTExtensibleStruct< XInstanceType, XBaseType > & operator= ( const KTExtensibleStruct< XInstanceType, XBaseType > &  object)

Duplicates the extended object.

Definition at line 262 of file KTExtensibleStruct.hh.

◆ Pull()

void Pull ( const KTExtensibleStructCore< XBaseType > &  object)
virtual

Duplicates object only.

Implements KTExtensibleStructCore< XBaseType >.

Definition at line 299 of file KTExtensibleStruct.hh.

◆ SetIsCopyDisabled()

void SetIsCopyDisabled ( bool  flag)
inline

Definition at line 325 of file KTExtensibleStruct.hh.

Member Data Documentation

◆ fIsCopyDisabled

bool fIsCopyDisabled
private

Definition at line 79 of file KTExtensibleStruct.hh.


The documentation for this struct was generated from the following file: