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

#include <position_list.hpp>

类 xcal::property::_PositionList< __ItemType, __Type > 继承关系图:
[图例]
xcal::property::_PositionList< __ItemType, __Type > 的协作图:
[图例]

Public 类型

using data_t = std::vector< __ItemType >
 

Public 成员函数

 _PositionList ()
 
 _PositionList (const data_t &list)
 
 _PositionList (const data_t &list, bool_t closed)
 
const Proxy< bool_t > & closed () const
 
Proxy< bool_t > & closed ()
 
const std::vector< __ItemType > & positions () const
 
std::vector< __ItemType > & positions ()
 
_PositionListoperator= (const data_t &list)
 
size_t count () const
 
__ItemType & operator[] (size_t index)
 
const __ItemType & operator[] (size_t index) const
 
- 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
 

详细描述

template<typename __ItemType, Type __Type>
class xcal::property::_PositionList< __ItemType, __Type >

在文件 position_list.hpp11 行定义.

成员类型定义说明

◆ data_t

template<typename __ItemType , Type __Type>
using xcal::property::_PositionList< __ItemType, __Type >::data_t = std::vector<__ItemType>

在文件 position_list.hpp15 行定义.

构造及析构函数说明

◆ _PositionList() [1/3]

template<typename __ItemType , Type __Type>
xcal::property::_PositionList< __ItemType, __Type >::_PositionList ( )
inline

在文件 position_list.hpp22 行定义.

◆ _PositionList() [2/3]

template<typename __ItemType , Type __Type>
xcal::property::_PositionList< __ItemType, __Type >::_PositionList ( const data_t list)
inlineexplicit

在文件 position_list.hpp23 行定义.

◆ _PositionList() [3/3]

template<typename __ItemType , Type __Type>
xcal::property::_PositionList< __ItemType, __Type >::_PositionList ( const data_t list,
bool_t  closed 
)
inline

在文件 position_list.hpp24 行定义.

成员函数说明

◆ closed() [1/2]

template<typename __ItemType , Type __Type>
Proxy< bool_t > & xcal::property::_PositionList< __ItemType, __Type >::closed ( )
inline

在文件 position_list.hpp28 行定义.

◆ closed() [2/2]

template<typename __ItemType , Type __Type>
const Proxy< bool_t > & xcal::property::_PositionList< __ItemType, __Type >::closed ( ) const
inline

在文件 position_list.hpp27 行定义.

被这些函数引用 xcal::mobject::Polygone::Polygone().

◆ count()

template<typename __ItemType , Type __Type>
size_t xcal::property::_PositionList< __ItemType, __Type >::count ( ) const
inline

在文件 position_list.hpp35 行定义.

◆ operator=()

template<typename __ItemType , Type __Type>
_PositionList & xcal::property::_PositionList< __ItemType, __Type >::operator= ( const data_t list)
inline

在文件 position_list.hpp31 行定义.

◆ operator[]() [1/2]

template<typename __ItemType , Type __Type>
__ItemType & xcal::property::_PositionList< __ItemType, __Type >::operator[] ( size_t  index)
inline

在文件 position_list.hpp36 行定义.

◆ operator[]() [2/2]

template<typename __ItemType , Type __Type>
const __ItemType & xcal::property::_PositionList< __ItemType, __Type >::operator[] ( size_t  index) const
inline

在文件 position_list.hpp37 行定义.

◆ positions() [1/2]

template<typename __ItemType , Type __Type>
std::vector< __ItemType > & xcal::property::_PositionList< __ItemType, __Type >::positions ( )
inline

在文件 position_list.hpp30 行定义.

◆ positions() [2/2]

template<typename __ItemType , Type __Type>
const std::vector< __ItemType > & xcal::property::_PositionList< __ItemType, __Type >::positions ( ) const
inline

在文件 position_list.hpp29 行定义.

被这些函数引用 xcal::mobject::Polygone::points().


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