CMGDK r49-rc2
公有成员
hgl::Set< E, Start, End >模板类参考

#include <Set.H>

所有成员的列表。

公有成员

 Set ()
virtual ~Set ()
int GetData (void **buf)
Setoperator= (const Set &rhs)
Setoperator+= (const Set &rhs)
Setoperator-= (const Set &rhs)
Setoperator*= (const Set &rhs)
Set operator+ (const Set &rhs) const
Set operator- (const Set &rhs) const
Set operator* (const Set &rhs) const
Setoperator<< (const E el)
Setoperator>> (const E el)
void Clear (bool all_select=false)
bool Check (const E el) const
bool operator== (const Set &rhs) const
bool operator!= (const Set &rhs) const
bool SaveToStream (Stream *str)
 保存当前位阵列数据到流
bool LoadFromStream (Stream *str)
 从流中读取位阵列数据
bool SaveToFile (const wchar_t *fn)
 保存当前位阵列数据到文件
bool LoadFromFile (const wchar_t *fn)
 从文件中读取位阵列数据

详细描述

template<typename E, unsigned int Start, unsigned int End>
class hgl::Set< E, Start, End >

选择设置用模板


构造及析构函数文档

template<typename E , unsigned int Start, unsigned int End>
hgl::Set< E, Start, End >::Set ( ) [inline]
template<typename E , unsigned int Start, unsigned int End>
virtual hgl::Set< E, Start, End >::~Set ( ) [inline, virtual]

成员函数文档

template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::Check ( const E  el) const [inline]
template<typename E , unsigned int Start, unsigned int End>
void hgl::Set< E, Start, End >::Clear ( bool  all_select = false) [inline]
template<typename E , unsigned int Start, unsigned int End>
int hgl::Set< E, Start, End >::GetData ( void **  buf) [inline]

取得数据访问指针

参数:
buf数据指针
返回:
字节长度
template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::LoadFromFile ( const wchar_t *  fn) [inline]

从文件中读取位阵列数据

template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::LoadFromStream ( Stream str) [inline]

从流中读取位阵列数据

template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::operator!= ( const Set< E, Start, End > &  rhs) const [inline]
template<typename E , unsigned int Start, unsigned int End>
Set hgl::Set< E, Start, End >::operator* ( const Set< E, Start, End > &  rhs) const [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator*= ( const Set< E, Start, End > &  rhs) [inline]
template<typename E , unsigned int Start, unsigned int End>
Set hgl::Set< E, Start, End >::operator+ ( const Set< E, Start, End > &  rhs) const [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator+= ( const Set< E, Start, End > &  rhs) [inline]
template<typename E , unsigned int Start, unsigned int End>
Set hgl::Set< E, Start, End >::operator- ( const Set< E, Start, End > &  rhs) const [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator-= ( const Set< E, Start, End > &  rhs) [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator<< ( const E  el) [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator= ( const Set< E, Start, End > &  rhs) [inline]
template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::operator== ( const Set< E, Start, End > &  rhs) const [inline]
template<typename E , unsigned int Start, unsigned int End>
Set& hgl::Set< E, Start, End >::operator>> ( const E  el) [inline]
template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::SaveToFile ( const wchar_t *  fn) [inline]

保存当前位阵列数据到文件

template<typename E , unsigned int Start, unsigned int End>
bool hgl::Set< E, Start, End >::SaveToStream ( Stream str) [inline]

保存当前位阵列数据到流


该类的文档由以下文件生成:
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义