ACF $AcfVersion:0$
Public Types | Public Member Functions | List of all members
iprm::TParamsPtr< ParameterInterace > Class Template Reference

#include <TParamsPtr.h>

Inheritance diagram for iprm::TParamsPtr< ParameterInterace >:
iprm::TParamsPtrBase< const IParamsSet, const ParameterInterace > istd::TPointerBase< Type >

Public Types

typedef TParamsPtrBase< const IParamsSet, const ParameterInterace > BaseClass
 
- Public Types inherited from iprm::TParamsPtrBase< const IParamsSet, const ParameterInterace >
typedef istd::TPointerBase< const ParameterInterace > BaseClass
 
using NonConstParameterInterface = std::remove_const_t< const ParameterInterace >
 

Public Member Functions

 TParamsPtr (const ParameterInterace *ptr=NULL)
 
 TParamsPtr (const IParamsSet *parameterSetPtr, const QByteArray &parameterId, bool isObligatory=true)
 
 TParamsPtr (const IParamsSet *parameterSetPtr, const icomp::TAttributeMember< iattr::CIdAttribute > &parameterIdAttribute, const icomp::TReferenceMember< ParameterInterace > &defaultRef, bool isObligatory=true)
 
void Init (const IParamsSet *parameterSetPtr, const QByteArray &parameterId, bool isObligatory=true)
 
void Init (const IParamsSet *parameterSetPtr, const icomp::TAttributeMember< iattr::CIdAttribute > &parameterIdAttribute, const icomp::TReferenceMember< ParameterInterace > &defaultRef, bool isObligatory=true)
 
- Public Member Functions inherited from iprm::TParamsPtrBase< const IParamsSet, const ParameterInterace >
 TParamsPtrBase (const ParameterInterace *ptr=NULL)
 
 TParamsPtrBase (const IParamsSet *parameterSetPtr, const QByteArray &parameterId, bool isObligatory=true)
 Construct and initialize the pointer with the given parameter set and parameter ID.
 
 TParamsPtrBase (const IParamsSet *parameterSetPtr, const icomp::TAttributeMember< iattr::CIdAttribute > &parameterIdAttribute, const icomp::TReferenceMember< NonConstParameterInterface > &defaultRef, bool isObligatory=true)
 Construct and initialize the pointer with the component parameters.
 
void Init (const IParamsSet *parameterSetPtr, const QByteArray &parameterId, bool isObligatory=true)
 Initialize the pointer with the given parameter set and parameter ID.
 
void Init (const IParamsSet *parameterSetPtr, const icomp::TAttributeMember< iattr::CIdAttribute > &parameterIdAttribute, const icomp::TReferenceMember< NonConstParameterInterface > &defaultRef, bool isObligatory=true)
 Initialize the pointer with the component parameters.
 
- Public Member Functions inherited from istd::TPointerBase< Type >
 TPointerBase (Type *ptr=NULL)
 Construct and assign internal pointer.
 
void SetPtr (Type *ptr)
 Set value of internal stored pointer.
 
void Reset ()
 Set internal pointer value to NULL.
 
Type * GetPtr () const
 Return access to internal stored pointer.
 
bool IsValid () const
 Check if internal pointer not NULL.
 
void Swap (TPointerBase &ptr)
 Swap two pointers.
 
Type & operator* () const
 Get an access to object pointed at.
 
template<class CastedType >
CastedType Cast () const
 
Type * operator-> () const
 
bool operator== (const TPointerBase< Type > &ptr) const
 
bool operator!= (const TPointerBase< Type > &ptr) const
 
bool operator< (const TPointerBase< Type > &ptr) const
 
bool operator> (const TPointerBase< Type > &ptr) const
 
bool operator<= (const TPointerBase< Type > &ptr) const
 
bool operator>= (const TPointerBase< Type > &ptr) const
 
bool operator== (const Type *ptr) const
 
bool operator!= (const Type *ptr) const
 
bool operator< (const Type *ptr) const
 
bool operator> (const Type *ptr) const
 
bool operator<= (const Type *ptr) const
 
bool operator>= (const Type *ptr) const
 

Additional Inherited Members

- Protected Member Functions inherited from istd::TPointerBase< Type >
TPointerBase< Type > & operator= (const TPointerBase< Type > ptr)
 
Type *& GetPtrRef ()
 

Detailed Description

template<class ParameterInterace>
class iprm::TParamsPtr< ParameterInterace >

Definition at line 233 of file TParamsPtr.h.

Member Typedef Documentation

◆ BaseClass

template<class ParameterInterace >
typedef TParamsPtrBase<const IParamsSet, const ParameterInterace> iprm::TParamsPtr< ParameterInterace >::BaseClass

Definition at line 235 of file TParamsPtr.h.

Constructor & Destructor Documentation

◆ TParamsPtr() [1/3]

template<class ParameterInterace >
iprm::TParamsPtr< ParameterInterace >::TParamsPtr ( const ParameterInterace *  ptr = NULL)
inline

Definition at line 237 of file TParamsPtr.h.

◆ TParamsPtr() [2/3]

template<class ParameterInterace >
iprm::TParamsPtr< ParameterInterace >::TParamsPtr ( const IParamsSet parameterSetPtr,
const QByteArray &  parameterId,
bool  isObligatory = true 
)
inline

Definition at line 242 of file TParamsPtr.h.

◆ TParamsPtr() [3/3]

template<class ParameterInterace >
iprm::TParamsPtr< ParameterInterace >::TParamsPtr ( const IParamsSet parameterSetPtr,
const icomp::TAttributeMember< iattr::CIdAttribute > &  parameterIdAttribute,
const icomp::TReferenceMember< ParameterInterace > &  defaultRef,
bool  isObligatory = true 
)
inline

Definition at line 247 of file TParamsPtr.h.

Member Function Documentation

◆ Init() [1/2]

template<class ParameterInterace >
void iprm::TParamsPtr< ParameterInterace >::Init ( const IParamsSet parameterSetPtr,
const icomp::TAttributeMember< iattr::CIdAttribute > &  parameterIdAttribute,
const icomp::TReferenceMember< ParameterInterace > &  defaultRef,
bool  isObligatory = true 
)
inline

◆ Init() [2/2]

template<class ParameterInterace >
void iprm::TParamsPtr< ParameterInterace >::Init ( const IParamsSet parameterSetPtr,
const QByteArray &  parameterId,
bool  isObligatory = true 
)
inline

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