xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
xcal::property::Position类 参考

#include <position.hpp>

类 xcal::property::Position 继承关系图:
[图例]
xcal::property::Position 的协作图:
[图例]

Public 类型

using data_t = xcmath::vec< float_t, 2 >
 
using MProxy = MProperty::Proxy< data_t >
 

Public 成员函数

 Position ()=default
 
 Position (const Position &)=delete
 
 Position (Position &&)=delete
 
Positionoperator= (const Position &)=delete
 
Positionoperator= (Position &&)=delete
 
 Position (float_t x, float_t y)
 
 Position (xcmath::vec< float_t, 2 > list)
 
const float_tx () const
 
const float_ty () const
 
float_tx ()
 
float_ty ()
 
const data_tvalue () const
 
data_tvalue ()
 
Positionoperator= (const data_t &v)
 
- Public 成员函数 继承自 xcal::property::MProperty
 MProperty ()=default
 
 MProperty (const MProperty &)=delete
 
 MProperty (MProperty &&)=delete
 
MPropertyoperator= (const MProperty &)=delete
 
MPropertyoperator= (MProperty &&)=delete
 
bool_t is_changed () const
 
void set_changed () const
 
void reset_changed () const
 
Type type () const
 
virtual ~MProperty ()=default
 

详细描述

在文件 position.hpp9 行定义.

成员类型定义说明

◆ data_t

在文件 position.hpp12 行定义.

◆ MProxy

在文件 position.hpp13 行定义.

构造及析构函数说明

◆ Position() [1/5]

xcal::property::Position::Position ( )
default

◆ Position() [2/5]

xcal::property::Position::Position ( const Position )
delete

◆ Position() [3/5]

xcal::property::Position::Position ( Position &&  )
delete

◆ Position() [4/5]

xcal::property::Position::Position ( float_t  x,
float_t  y 
)
inline

在文件 position.hpp24 行定义.

◆ Position() [5/5]

xcal::property::Position::Position ( xcmath::vec< float_t, 2 >  list)
inlineexplicit

在文件 position.hpp25 行定义.

成员函数说明

◆ operator=() [1/3]

Position & xcal::property::Position::operator= ( const data_t v)
inline

在文件 position.hpp32 行定义.

◆ operator=() [2/3]

Position & xcal::property::Position::operator= ( const Position )
delete

◆ operator=() [3/3]

Position & xcal::property::Position::operator= ( Position &&  )
delete

◆ value() [1/2]

data_t & xcal::property::Position::value ( )
inline

在文件 position.hpp31 行定义.

◆ value() [2/2]

const data_t & xcal::property::Position::value ( ) const
inline

在文件 position.hpp30 行定义.

◆ x() [1/2]

float_t & xcal::property::Position::x ( )
inline

在文件 position.hpp28 行定义.

◆ x() [2/2]

const float_t & xcal::property::Position::x ( ) const
inline

在文件 position.hpp26 行定义.

◆ y() [1/2]

float_t & xcal::property::Position::y ( )
inline

在文件 position.hpp29 行定义.

◆ y() [2/2]

const float_t & xcal::property::Position::y ( ) const
inline

在文件 position.hpp27 行定义.


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