|
|
| AttributeBasic (ObjectPtrType object, PropertyType *property) |
| |
|
errc_t | getValueDouble (double &value) const |
| |
|
errc_t | setValueDouble (double value) |
| |
|
errc_t | getValueInt (int &value) const |
| |
|
errc_t | setValueInt (int value) |
| |
|
errc_t | getValueBool (bool &value) const |
| |
|
errc_t | setValueBool (bool value) |
| |
|
errc_t | getValueString (std::string &value) const |
| |
|
errc_t | setValueString (StringView value) |
| |
|
double | getValueDouble () const |
| |
|
int | getValueInt () const |
| |
|
bool | getValueBool () const |
| |
|
std::string | getValueString () const |
| |
|
| operator double () const |
| |
|
| operator int () const |
| |
|
| operator bool () const |
| |
|
| operator std::string () const |
| |
|
AttributeBasic & | operator= (double value) |
| |
|
AttributeBasic & | operator= (int value) |
| |
|
template<typename T , typename = typename std::enable_if<std::is_same<T, bool>::value>::type> |
| AttributeBasic & | operator= (T value) |
| |
|
AttributeBasic & | operator= (StringView value) |
| |
template<typename ObjectPtrType = WeakPtr<Object>, typename PropertyType = Property>
class ast::AttributeBasic< ObjectPtrType, PropertyType >
对象的特定属性