C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
ConstRefItemProperty< Type > Class Template Reference

Read-only reference item property without setter. More...

#include <mb_property.h>

+ Inheritance diagram for ConstRefItemProperty< Type >:
+ Collaboration diagram for ConstRefItemProperty< Type >:

Public Member Functions

 ConstRefItemProperty (MbePrompt name, Type *initValue, uint32 n=0)
 The constructor of a non-modifiable property. More...
 
PrePropType IsA () const override
 Get type of property.
 
void GetCharValue (TCHAR *v) const override
 Get string value of the property. Deprecated method, use GetCharValue_s() in combination with GetCharLen() instead.
 
void GetProperties (MbProperties &) override
 Get tuple of the complex property (non-atomic object).
 
void _GetPropertyValue (void *v, size_t) const override
 Get value of the property.
 
void SetPropertyValue (TCHAR *) override
 Set the new value of the property.
 
- Public Member Functions inherited from MbProperty
 MbProperty (MbePrompt name, bool change=true)
 Constructor by parameters. More...
 
virtual ~MbProperty ()
 Destructor.
 
virtual size_t GetCharLen () const
 Get buffer size, sufficient to accommodate the string value of the property. More...
 
virtual bool GetCharValue_s (TCHAR *, size_t) const
 Get the string value of the property as a string with a terminal null. More...
 
virtual void SetProperties (const MbProperties &)
 Set tuple of the complex property (non-atomic object).
 
virtual size_t GetPrompt () const
 Get a hint.
 
MbePromptSetPrompt ()
 Get a hint.
 
bool IsChangeable () const
 Is it possible to change data.
 

Protected Attributes

SPtr< Type > value
 Object.
 
uint32 number
 Number.
 

Detailed Description

template<class Type>
class ConstRefItemProperty< Type >

Read-only reference item property without setter.

Wrapper that implements read-only property of a ref count object.

Constructor & Destructor Documentation

◆ ConstRefItemProperty()

template<class Type >
ConstRefItemProperty< Type >::ConstRefItemProperty ( MbePrompt  name,
Type *  initValue,
uint32  n = 0 
)
inline

The constructor of a non-modifiable property.

Parameters
[in]name- Number of hint string.
[in]initValue- Object.
[in]n- Number.

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