C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Read-only reference item property without setter. More...
#include <mb_property.h>
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. | |
MbePrompt & | SetPrompt () |
Get a hint. | |
bool | IsChangeable () const |
Is it possible to change data. | |
Protected Attributes | |
SPtr< Type > | value |
Object. | |
uint32 | number |
Number. | |
Read-only reference item property without setter.
Wrapper that implements read-only property of a ref count object.
|
inline |
The constructor of a non-modifiable property.
[in] | name | - Number of hint string. |
[in] | initValue | - Object. |
[in] | n | - Number. |