Pol  Revision:cb584c9
Pol::Core::DynamicPropsHolder Class Reference

#include <dynproperties.h>

+ Inheritance diagram for Pol::Core::DynamicPropsHolder:

Public Member Functions

 DynamicPropsHolder ()
 
size_t estimateSizeDynProps () const
 
template<typename V >
bool getmember (DynPropTypes member, V *value) const
 
bool hasmember (DynPropTypes member) const
 
template<typename V >
void setmember (DynPropTypes member, const V &value, const V &defaultvalue)
 
template<typename V >
void setmemberPointer (DynPropTypes member, V value)
 

Protected Member Functions

 ~DynamicPropsHolder ()=default
 

Private Member Functions

void initProps ()
 

Private Attributes

std::unique_ptr< DynProps_dynprops
 

Detailed Description

Definition at line 301 of file dynproperties.h.

Constructor & Destructor Documentation

Pol::Core::DynamicPropsHolder::DynamicPropsHolder ( )
inline

Definition at line 657 of file dynproperties.h.

Referenced by estimateSizeDynProps().

Pol::Core::DynamicPropsHolder::~DynamicPropsHolder ( )
protecteddefault

Member Function Documentation

size_t Pol::Core::DynamicPropsHolder::estimateSizeDynProps ( ) const
inline

Definition at line 708 of file dynproperties.h.

References _dynprops, and DynamicPropsHolder().

Referenced by Pol::Core::UObject::estimatedSize().

template<typename V >
bool Pol::Core::DynamicPropsHolder::getmember ( DynPropTypes  member,
V *  value 
) const
inline

Definition at line 667 of file dynproperties.h.

References _dynprops.

bool Pol::Core::DynamicPropsHolder::hasmember ( DynPropTypes  member) const
inline

Definition at line 674 of file dynproperties.h.

References _dynprops.

void Pol::Core::DynamicPropsHolder::initProps ( )
inlineprivate

Definition at line 660 of file dynproperties.h.

References _dynprops.

Referenced by setmember(), and setmemberPointer().

template<typename V >
void Pol::Core::DynamicPropsHolder::setmember ( DynPropTypes  member,
const V &  value,
const V &  defaultvalue 
)
inline

Definition at line 682 of file dynproperties.h.

References _dynprops, and initProps().

template<typename V >
void Pol::Core::DynamicPropsHolder::setmemberPointer ( DynPropTypes  member,
value 
)
inline

Definition at line 696 of file dynproperties.h.

References _dynprops, and initProps().

Member Data Documentation

std::unique_ptr<DynProps> Pol::Core::DynamicPropsHolder::_dynprops
private

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