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

Read/write property of ref count object. More...

#include <mb_property.h>

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

Public Member Functions

 RefItemProperty (MbePrompt name, Type *initValue, uint32 n=0)
 Constructor by parameters. More...
 
void SetProperties (const MbProperties &) override
 Set tuple of the complex property (non-atomic object).
 
void SetPropertyValue (TCHAR *) override
 Set the new value of the property.
 
- Public Member Functions inherited from ConstRefItemProperty< Type >
 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.
 
- 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 size_t GetPrompt () const
 Get a hint.
 
MbePromptSetPrompt ()
 Get a hint.
 
bool IsChangeable () const
 Is it possible to change data.
 

Additional Inherited Members

- Protected Attributes inherited from ConstRefItemProperty< Type >
SPtr< Type > value
 Object.
 
uint32 number
 Number.
 

Detailed Description

template<class Type>
class RefItemProperty< Type >

Read/write property of ref count object.

Wrapper that implements the read/write properties of a ref count object.

Constructor & Destructor Documentation

◆ RefItemProperty()

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

Constructor by parameters.

Constructor by parameters.

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

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