xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
| 命名空间 | 宏定义 | 枚举
property.hpp 文件参考
#include <xcal/public.h>
#include <unordered_map>
property.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  xcal::property::MProperty
 
class  xcal::property::MProperty::Proxy< T >
 

命名空间

namespace  xcal
 
namespace  xcal::property
 

宏定义

#define XCAL_PROPERTY_TYPE(type)    Type type_() const override { return Type::type; }
 
#define XCAL_PROPERTY_PROXY_OPERATOR(op)
 

枚举

enum class  xcal::property::Type {
  xcal::property::Position , xcal::property::PositionList , xcal::property::ThreeDPosition , xcal::property::ThreeDPositionList ,
  xcal::property::Scalar , xcal::property::Color , xcal::property::TimeDuration , xcal::property::TimePoint ,
  xcal::property::Vec , xcal::property::User
}
 

宏定义说明

◆ XCAL_PROPERTY_PROXY_OPERATOR

#define XCAL_PROPERTY_PROXY_OPERATOR (   op)
值:
template <typename Arg> \
auto &operator op(const Arg & arg) { \
on_changed(); \
value_ op arg; \
return *this; \
}

在文件 property.hpp109 行定义.

◆ XCAL_PROPERTY_TYPE

#define XCAL_PROPERTY_TYPE (   type)     Type type_() const override { return Type::type; }

在文件 property.hpp6 行定义.