🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::AttributeBasic< ObjectPtrType, PropertyType > 模板类 参考

#include <Attribute.hpp>

Public 成员函数

 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
 
AttributeBasicoperator= (double value)
 
AttributeBasicoperator= (int value)
 
template<typename T , typename = typename std::enable_if<std::is_same<T, bool>::value>::type>
AttributeBasicoperator= (T value)
 
AttributeBasicoperator= (StringView value)
 

Protected 成员函数

void * getObject () const
 
void * getObject () const
 

Protected 属性

ObjectPtrType object_ {}
 
PropertyType * property_ {nullptr}
 

详细描述

template<typename ObjectPtrType = WeakPtr<Object>, typename PropertyType = Property>
class ast::AttributeBasic< ObjectPtrType, PropertyType >

对象的特定属性


该类的文档由以下文件生成: